Country, State, City List
To get the Country, State and City List follow the example code and be careful with the parameters.
Base Urlhttps://velozmail.contatofacil.com.br/api/
HTTP Method:
GET
API URL: https://velozmail.contatofacil.com.br/api/get/country-state-city
API Key:
Get YOUR_PUBLIC_KEY
and YOUR_SECRET_KEY
from the account page
Response format: JSON
Body Params
var request = require('request');
var options = {
'method': 'GET',
'url': 'BASE_URL/get/country-state-city',
'headers': {
'PublicKey': 'YOUR_PUBLIC_KEY',
'SecretKey': 'YOUR_SECRET_KEY'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
});
123456789101112131415
16
17181920212223242526
import requests
url = "BASE_URL/get/country-state-city"
payload={}
headers = {
'PublicKey': 'YOUR_PUBLIC_KEY',
'SecretKey': 'YOUR_SECRET_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
123456789101112131415
1617181920212223242526
?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'BASE_URL/get/country-state-city',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'PublicKey: YOUR_PUBLIC_KEY',
'SecretKey: YOUR_SECRET_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
123456789101112131415
1617181920212223242526
curl --location --request GET 'BASE_URL/get/country-state-city' \
--header 'PublicKey: YOUR_PUBLIC_KEY' \
--header 'SecretKey: YOUR_SECRET_KEY'
123456789101112131415
1617181920212223242526
require "uri"
require "net/http"
url = URI("BASE_URL/get/country-state-city")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["PublicKey"] = "YOUR_PUBLIC_KEY"
request["SecretKey"] = "YOUR_SECRET_KEY"
response = http.request(request)
puts response.read_body
123456789101112131415
1617181920212223242526
{
"status": "success",
"message": {
"countries": [
...
],
"states": [
...
],
"cities": [
...
],
}
}
123456789101112131415
1617181920212223242526
{
"status": "failed",
"errors": {
"PublicKey": [
"The public key field is required."
],
"SecretKey": [
"The secret key field is required."
]
}
}
1234567891011121314
Sender List
To get sender list follow the example code and be careful with the parameters.
Base Urlhttps://velozmail.contatofacil.com.br/api/
HTTP Method:
POST
API URL: https://velozmail.contatofacil.com.br/api/senders
API Key:
Get YOUR_PUBLIC_KEY
and YOUR_SECRET_KEY
from the account page
Response format: JSON
Body Params
var request = require('request');
var options = {
'method': 'GET',
'url': 'BASE_URL/senders',
'headers': {
'PublicKey': 'YOUR_PUBLIC_KEY',
'SecretKey': 'YOUR_SECRET_KEY'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
});
123456789101112131415
16
17181920212223242526
import requests
url = "BASE_URL/senders"
payload={}
headers = {
'PublicKey': 'YOUR_PUBLIC_KEY',
'SecretKey': 'YOUR_SECRET_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
123456789101112131415
1617181920212223242526
?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'BASE_URL/senders',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'PublicKey: YOUR_PUBLIC_KEY',
'SecretKey: YOUR_SECRET_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
123456789101112131415
1617181920212223242526
curl --location --request GET 'BASE_URL/senders' \
--header 'PublicKey: YOUR_PUBLIC_KEY' \
--header 'SecretKey: YOUR_SECRET_KEY'
123456789101112131415
1617181920212223242526
require "uri"
require "net/http"
url = URI("BASE_URL/senders")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["PublicKey"] = "YOUR_PUBLIC_KEY"
request["SecretKey"] = "YOUR_SECRET_KEY"
response = http.request(request)
puts response.read_body
123456789101112131415
1617181920212223242526
{
"status": "success",
"message": {
"senders": [
{
"id": 3,
"user_id": 6790,
"from_name": "Anik",
"from_email": "anikdey141997@gmail.com",
"reply_to_email": "anikdey141997@gmail.com",
"country_id": 18,
"state_id": 348,
"city_id": 7291,
"zip_code": "5202",
"company_address": "house-10,road-10,khilkhet",
"company_address2": "",
"nickname": "Anik",
"is_verified": 1,
"utr": "653f8e5bab94b",
"send_at": "2023-11-02 17:04:00",
"created_at": "2023-10-30T11:07:07.000000Z",
"updated_at": "2023-11-02T11:04:00.000000Z",
"deleted_at": null
},
{
"id": 2,
"user_id": 6790,
"from_name": "Bug Finder",
"from_email": "bug@gmail.com",
"reply_to_email": "finder@gmail.com",
"country_id": 18,
"state_id": 349,
"city_id": 7296,
"zip_code": "1001",
"company_address": "Uttara sector-11",
"company_address2": "Banani road-3",
"nickname": "Bug",
"is_verified": 1,
"utr": "653f7eac7fa24",
"send_at": "2023-10-30 16:00:40",
"created_at": "2023-10-30T04:43:00.000000Z",
"updated_at": "2023-10-30T07:24:41.000000Z",
"deleted_at": null
}
]
}
}
123456789101112131415
1617181920212223242526
{
"status": "failed",
"errors": {
"PublicKey": [
"The public key field is required."
],
"SecretKey": [
"The secret key field is required."
]
}
}
1234567891011121314
Sender Create
To create sender follow the example code and be careful with the parameters.
Base Urlhttps://velozmail.contatofacil.com.br/api/
HTTP Method:
POST
API URL: https://velozmail.contatofacil.com.br/api/sender/save
API Key:
Get YOUR_PUBLIC_KEY
and YOUR_SECRET_KEY
from the account page
Response format: JSON
Body Params
from_name* string
The name of the sender
from_email* string
The Email address.
reply_to_email* string
Please provide the email address to which you would like your clients to direct their replies.
country_id* integer
You can get country id from get country state city api
state_id integer
You can get state id from get country state city api
city_id integer
You can get city id from get country state city api
zip_code string
You provide your sender zip code
company_address* string
You need to provide your company details address here. Maximum 255 character
company_address2 string
If you have company another address. Maximum 255 character
nickname* string
Please specify the sender's nickname for identification purposes.
var request = require('request');
var options = {
'method': 'POST',
'url': 'BASE_URL/sender/save',
'headers': {
'PublicKey': 'YOUR_PUBLIC_KEY',
'SecretKey': 'YOUR_SECRET_KEY'
},
formData: {
'from_name': 'Amazon',
'from_email': 'amazon@gmail.com',
'reply_to_email': 'amazon@gmail.com',
'country_id': '18',
'state_id': '348',
'city_id': '7291',
'zip_code': '6689',
'company_address': 'New York',
'company_address2': 'Sydney',
'nickname': 'Ama'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
});
123456789101112131415
16
17181920212223242526
import requests
url = "BASE_URL/sender/save"
payload={'from_name': 'Amazon',
'from_email': 'amazon@gmail.com',
'reply_to_email': 'amazon@gmail.com',
'country_id': '18',
'state_id': '348',
'city_id': '7291',
'zip_code': '6689',
'company_address': 'New York',
'company_address2': 'Sydney',
'nickname': 'Ama'}
files=[
]
headers = {
'PublicKey': 'YOUR_PUBLIC_KEY',
'SecretKey': 'YOUR_SECRET_KEY'
}
response = requests.request("POST", url, headers=headers, data=payload, files=files)
print(response.text)
123456789101112131415
1617181920212223242526
?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'BASE_URL/sender/save',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => array('from_name' => 'Amazon','from_email' => 'amazon@gmail.com','reply_to_email' => 'amazon@gmail.com','country_id' => '18',
'state_id' => '348','city_id' => '7291','zip_code' => '6689','company_address' => 'New York','company_address2' => 'Sydney','nickname' => 'Ama'),
CURLOPT_HTTPHEADER => array(
'PublicKey: YOUR_PUBLIC_KEY',
'SecretKey: YOUR_SECRET_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
123456789101112131415
1617181920212223242526
curl --location --request POST 'BASE_URL/sender/save' \
--header 'PublicKey: YOUR_PUBLIC_KEY' \
--header 'SecretKey: YOUR_SECRET_KEY' \
--form 'from_name="Amazon"' \
--form 'from_email="amazon@gmail.com"' \
--form 'reply_to_email="amazon@gmail.com"' \
--form 'country_id="18"' \
--form 'state_id="348"' \
--form 'city_id="7291"' \
--form 'zip_code="6689"' \
--form 'company_address="New York"' \
--form 'company_address2="Sydney"' \
--form 'nickname="Ama"'
123456789101112131415
1617181920212223242526
require "uri"
require "net/http"
url = URI("BASE_URL/sender/save")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Post.new(url)
request["PublicKey"] = "YOUR_PUBLIC_KEY"
request["SecretKey"] = "YOUR_SECRET_KEY"
form_data = [['from_name', 'Amazon'],['from_email', 'amazon@gmail.com'],
['reply_to_email', 'amazon@gmail.com'],['country_id', '18'],
['state_id', '348'],['city_id', '7291'],['zip_code', '6689'],['company_address', 'New York'],['company_address2', 'Sydney'],['nickname', 'Ama']]
request.set_form form_data, 'multipart/form-data'
response = http.request(request)
puts response.read_body
123456789101112131415
1617181920212223242526
{
"status": "success",
"message": "Added Successfully"
}
123456789101112131415
1617181920212223242526
{
"status": "failed",
"errors": {
"from_name": [
"The from name field is required."
],
"from_email": [
"The from email field is required."
],
"reply_to_email": [
"The reply to email field is required."
],
"country_id": [
"The country id field is required."
],
"company_address": [
"The company address field is required."
],
"nickname": [
"The nickname field is required."
]
}
}
1234567891011121314
Sender Details
To see sender details follow the example code and be careful with the parameters.
Base Urlhttps://velozmail.contatofacil.com.br/api/
HTTP Method:
GET
API URL: https://velozmail.contatofacil.com.br/api/sender/details?sender_id={sender_id}
API Key:
Get YOUR_PUBLIC_KEY
and YOUR_SECRET_KEY
from the account page
Response format: JSON
Body Params
var request = require('request');
var options = {
'method': 'GET',
'url': 'BASE_URL/sender/details?sender_id=4',
'headers': {
'PublicKey': 'YOUR_PUBLIC_KEY',
'SecretKey': 'YOUR_SECRET_KEY'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
});
123456789101112131415
16
17181920212223242526
import requests
url = "BASE_URL/sender/details?sender_id=4"
payload={}
headers = {
'PublicKey': 'YOUR_PUBLIC_KEY',
'SecretKey': 'YOUR_SECRET_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
123456789101112131415
1617181920212223242526
?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'BASE_URL/sender/details?sender_id=4',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'PublicKey: YOUR_PUBLIC_KEY',
'SecretKey: YOUR_SECRET_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
123456789101112131415
1617181920212223242526
curl --location --request GET 'BASE_URL/sender/details?sender_id=4' \
--header 'PublicKey: YOUR_PUBLIC_KEY' \
--header 'SecretKey: YOUR_SECRET_KEY'
123456789101112131415
1617181920212223242526
require "uri"
require "net/http"
url = URI("BASE_URL/sender/details?sender_id=4")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["PublicKey"] = "YOUR_PUBLIC_KEY"
request["SecretKey"] = "YOUR_SECRET_KEY"
response = http.request(request)
puts response.read_body
123456789101112131415
1617181920212223242526
{
"status": "success",
"message": {
"sender": {
"id": 4,
"user_id": 6790,
"from_name": "Amazon",
"from_email": "amazon@gmail.com",
"reply_to_email": "amazon@gmail.com",
"country_id": 18,
"state_id": 348,
"city_id": 7291,
"zip_code": "6689",
"company_address": "New York",
"company_address2": "Sydney",
"nickname": "Ama",
"is_verified": 0,
"utr": "656b09ab9109a",
"send_at": "2023-12-02 16:40:43",
"created_at": "2023-12-02T10:40:43.000000Z",
"updated_at": "2023-12-02T10:40:43.000000Z",
"deleted_at": null
}
}
}
123456789101112131415
1617181920212223242526
{
"status": "failed",
"errors": "Record Not Found"
}
1234567891011121314
Sender Update
To Update Sender Information follow the example code and be careful with the parameters.
Base Urlhttps://velozmail.contatofacil.com.br/api/
HTTP Method:
POST
API URL: https://velozmail.contatofacil.com.br/api/sender/update
API Key:
Get YOUR_PUBLIC_KEY
and YOUR_SECRET_KEY
from the account page
Response format: JSON
Body Params
sender_id* integer
Please indicate the sender ID for the sender whose information you would like to update
from_name* string
The name of the sender
from_email* string
The Email address.
reply_to_email* string
Please provide the email address to which you would like your clients to direct their replies.
country_id* integer
You can get country id from get country state city api
state_id integer
You can get state id from get country state city api
city_id integer
You can get city id from get country state city api
zip_code string
You provide your sender zip code
company_address* string
You need to provide your company details address here. Maximum 255 character
company_address2 string
If you have company another address. Maximum 255 character
nickname* string
Please specify the sender's nickname for identification purposes.
var request = require('request');
var options = {
'method': 'POST',
'url': 'BASE_URL/sender/update',
'headers': {
'PublicKey': 'YOUR_PUBLIC_KEY',
'SecretKey': 'YOUR_SECRET_KEY'
},
formData: {
'sender_id': '4',
'from_name': 'Amazon',
'from_email': 'amazon@gmail.com',
'reply_to_email': 'amazon@gmail.com',
'country_id': '18',
'state_id': '348',
'city_id': '7291',
'zip_code': '6689',
'company_address': 'New York',
'company_address2': 'Sydney',
'nickname': 'Ama'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
});
123456789101112131415
16
17181920212223242526
import requests
url = "BASE_URL/sender/update"
payload={'sender_id': '4',
'from_name': 'Amazon',
'from_email': 'amazon@gmail.com',
'reply_to_email': 'amazon@gmail.com',
'country_id': '18',
'state_id': '348',
'city_id': '7291',
'zip_code': '6689',
'company_address': 'New York',
'company_address2': 'Sydney',
'nickname': 'Ama'}
files=[
]
headers = {
'PublicKey': 'YOUR_PUBLIC_KEY',
'SecretKey': 'YOUR_SECRET_KEY'
}
response = requests.request("POST", url, headers=headers, data=payload, files=files)
print(response.text)
123456789101112131415
1617181920212223242526
?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'BASE_URL/sender/update',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => array('sender_id' => '4','from_name' => 'Amazon','from_email' => 'amazon@gmail.com','reply_to_email' => 'amazon@gmail.com','country_id' => '18',
'state_id' => '348','city_id' => '7291','zip_code' => '6689','company_address' => 'New York','company_address2' => 'Sydney','nickname' => 'Ama'),
CURLOPT_HTTPHEADER => array(
'PublicKey: YOUR_PUBLIC_KEY',
'SecretKey: YOUR_SECRET_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
123456789101112131415
1617181920212223242526
curl --location --request POST 'BASE_URL/sender/update' \
--header 'PublicKey: YOUR_PUBLIC_KEY' \
--header 'SecretKey: YOUR_SECRET_KEY' \
--form 'sender_id="4"' \
--form 'from_name="Amazon"' \
--form 'from_email="amazon@gmail.com"' \
--form 'reply_to_email="amazon@gmail.com"' \
--form 'country_id="18"' \
--form 'state_id="348"' \
--form 'city_id="7291"' \
--form 'zip_code="6689"' \
--form 'company_address="New York"' \
--form 'company_address2="Sydney"' \
--form 'nickname="Ama"'
123456789101112131415
1617181920212223242526
require "uri"
require "net/http"
url = URI("BASE_URL/sender/update")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Post.new(url)
request["PublicKey"] = "YOUR_PUBLIC_KEY"
request["SecretKey"] = "YOUR_SECRET_KEY"
form_data = [['sender_id', '4'],['from_name', 'Amazon'],['from_email', 'amazon@gmail.com'],['reply_to_email', 'amazon@gmail.com'],['country_id', '18'],
['state_id', '348'],['city_id', '7291'],['zip_code', '6689'],['company_address', 'New York'],['company_address2', 'Sydney'],['nickname', 'Ama']]
request.set_form form_data, 'multipart/form-data'
response = http.request(request)
puts response.read_body
123456789101112131415
1617181920212223242526
{
"status": "success",
"message": "Updated Successfully"
}
123456789101112131415
1617181920212223242526
{
"status": "failed",
"errors": {
"email_address": [
"The email address field is required."
]
}
}
1234567891011121314
Sender Delete
To delete sender follow the example code and be careful with the parameters.
Base Urlhttps://velozmail.contatofacil.com.br/api/
HTTP Method:
DELETE
API URL: https://velozmail.contatofacil.com.br/api/sender/delete?sender_id={sender_id}
API Key:
Get YOUR_PUBLIC_KEY
and YOUR_SECRET_KEY
from the account page
Response format: JSON
Body Params
var request = require('request');
var options = {
'method': 'DELETE',
'url': 'BASE_URL/sender/delete?sender_id=5',
'headers': {
'PublicKey': 'YOUR_PUBLIC_KEY',
'SecretKey': 'YOUR_SECRET_KEY'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
});
123456789101112131415
16
17181920212223242526
import requests
url = "BASE_URL/sender/delete?sender_id=5"
payload={}
headers = {
'PublicKey': 'YOUR_PUBLIC_KEY',
'SecretKey': 'YOUR_SECRET_KEY'
}
response = requests.request("DELETE", url, headers=headers, data=payload)
print(response.text)
123456789101112131415
1617181920212223242526
?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'BASE_URL/sender/delete?sender_id=5',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'DELETE',
CURLOPT_HTTPHEADER => array(
'PublicKey: YOUR_PUBLIC_KEY',
'SecretKey: YOUR_SECRET_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
123456789101112131415
1617181920212223242526
curl --location --request DELETE 'BASE_URL/sender/delete?sender_id=5' \
--header 'PublicKey: YOUR_PUBLIC_KEY' \
--header 'SecretKey: YOUR_SECRET_KEY'
123456789101112131415
1617181920212223242526
require "uri"
require "net/http"
url = URI("BASE_URL/sender/delete?sender_id=5")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Delete.new(url)
request["PublicKey"] = "YOUR_PUBLIC_KEY"
request["SecretKey"] = "YOUR_SECRET_KEY"
response = http.request(request)
puts response.read_body
123456789101112131415
1617181920212223242526
{
"status": "success",
"errors": "Deleted Successfully"
}
123456789101112131415
1617181920212223242526
{
"status": "failed",
"errors": "Record Not Found"
}
1234567891011121314
Resend Verification
To Resend Verification link follow the example code and be careful with the parameters.
Base Urlhttps://velozmail.contatofacil.com.br/api/
HTTP Method:
GET
API URL: https://velozmail.contatofacil.com.br/api/sender/resend-mail?sender_id={sender_id}
API Key:
Get YOUR_PUBLIC_KEY
and YOUR_SECRET_KEY
from the account page
Response format: JSON
Body Params
var request = require('request');
var options = {
'method': 'GET',
'url': 'BASE_URL/sender/resend-mail?sender_id=4',
'headers': {
'PublicKey': 'YOUR_PUBLIC_KEY',
'SecretKey': 'YOUR_SECRET_KEY'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
});
123456789101112131415
16
17181920212223242526
import requests
url = "BASE_URL/sender/resend-mail?sender_id=4"
payload={}
headers = {
'PublicKey': 'YOUR_PUBLIC_KEY',
'SecretKey': 'YOUR_SECRET_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
123456789101112131415
1617181920212223242526
?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'BASE_URL/sender/resend-mail?sender_id=4',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'PublicKey: YOUR_PUBLIC_KEY',
'SecretKey: YOUR_SECRET_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
123456789101112131415
1617181920212223242526
curl --location --request GET 'BASE_URL/sender/resend-mail?sender_id=4' \
--header 'PublicKey: YOUR_PUBLIC_KEY' \
--header 'SecretKey: YOUR_SECRET_KEY'
123456789101112131415
1617181920212223242526
require "uri"
require "net/http"
url = URI("BASE_URL/sender/resend-mail?sender_id=4")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["PublicKey"] = "YOUR_PUBLIC_KEY"
request["SecretKey"] = "YOUR_SECRET_KEY"
response = http.request(request)
puts response.read_body
123456789101112131415
1617181920212223242526
{
"status": "success",
"message": "Verification Mail Send"
}
123456789101112131415
1617181920212223242526
{
"status": "failed",
"errors": "Record Not Found"
}
1234567891011121314