Verify domain DNS
curl --request POST \
--url https://api.vambe.me/api/public/email-channel/verify/{id} \
--header 'x-api-key: <x-api-key>'const options = {method: 'POST', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://api.vambe.me/api/public/email-channel/verify/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vambe.me/api/public/email-channel/verify/{id}"
headers = {"x-api-key": "<x-api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"id": "<string>",
"sender_address": "<string>",
"sender_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"email_domain": {
"id": "<string>",
"domain": "<string>",
"outbound_validation_status": "not_configured",
"inbound_validation_status": "not_configured",
"connection_method": "manual",
"dns_records": [
{
"id": "<string>",
"record_type": "cname",
"host": "<string>",
"data": "<string>",
"valid": true,
"purpose": "spf"
}
],
"planned_inbound_mx": {
"host": "<string>",
"data": "<string>"
},
"subdomain_slug": "<string>"
}
}{
"id": "<string>",
"sender_address": "<string>",
"sender_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"email_domain": {
"id": "<string>",
"domain": "<string>",
"outbound_validation_status": "not_configured",
"inbound_validation_status": "not_configured",
"connection_method": "manual",
"dns_records": [
{
"id": "<string>",
"record_type": "cname",
"host": "<string>",
"data": "<string>",
"valid": true,
"purpose": "spf"
}
],
"planned_inbound_mx": {
"host": "<string>",
"data": "<string>"
},
"subdomain_slug": "<string>"
}
}Email Channels & Campaigns
Verify domain DNS
Asks SendGrid to re-check the DNS records for this channelβs domain and, if inbound parse has been configured, also checks the MX. Returns the channel with the updated outbound_validation_status and inbound_validation_status.
POST
/
api
/
public
/
email-channel
/
verify
/
{id}
Verify domain DNS
curl --request POST \
--url https://api.vambe.me/api/public/email-channel/verify/{id} \
--header 'x-api-key: <x-api-key>'const options = {method: 'POST', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://api.vambe.me/api/public/email-channel/verify/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vambe.me/api/public/email-channel/verify/{id}"
headers = {"x-api-key": "<x-api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"id": "<string>",
"sender_address": "<string>",
"sender_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"email_domain": {
"id": "<string>",
"domain": "<string>",
"outbound_validation_status": "not_configured",
"inbound_validation_status": "not_configured",
"connection_method": "manual",
"dns_records": [
{
"id": "<string>",
"record_type": "cname",
"host": "<string>",
"data": "<string>",
"valid": true,
"purpose": "spf"
}
],
"planned_inbound_mx": {
"host": "<string>",
"data": "<string>"
},
"subdomain_slug": "<string>"
}
}{
"id": "<string>",
"sender_address": "<string>",
"sender_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"email_domain": {
"id": "<string>",
"domain": "<string>",
"outbound_validation_status": "not_configured",
"inbound_validation_status": "not_configured",
"connection_method": "manual",
"dns_records": [
{
"id": "<string>",
"record_type": "cname",
"host": "<string>",
"data": "<string>",
"valid": true,
"purpose": "spf"
}
],
"planned_inbound_mx": {
"host": "<string>",
"data": "<string>"
},
"subdomain_slug": "<string>"
}
}Was this page helpful?
