Get DNS records for a channel
curl --request GET \
--url https://api.vambe.me/api/public/email-channel/dns-records/{id} \
--header 'x-api-key: <x-api-key>'const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://api.vambe.me/api/public/email-channel/dns-records/{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/dns-records/{id}"
headers = {"x-api-key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "<string>",
"record_type": "cname",
"host": "<string>",
"data": "<string>",
"valid": true,
"purpose": "spf"
}
][
{
"id": "<string>",
"record_type": "cname",
"host": "<string>",
"data": "<string>",
"valid": true,
"purpose": "spf"
}
]Email
Get DNS records for a channel
Returns the CNAME / TXT / MX records that must be added to your DNS provider to validate the domain.
GET
/
api
/
public
/
email-channel
/
dns-records
/
{id}
Get DNS records for a channel
curl --request GET \
--url https://api.vambe.me/api/public/email-channel/dns-records/{id} \
--header 'x-api-key: <x-api-key>'const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://api.vambe.me/api/public/email-channel/dns-records/{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/dns-records/{id}"
headers = {"x-api-key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "<string>",
"record_type": "cname",
"host": "<string>",
"data": "<string>",
"valid": true,
"purpose": "spf"
}
][
{
"id": "<string>",
"record_type": "cname",
"host": "<string>",
"data": "<string>",
"valid": true,
"purpose": "spf"
}
]Headers
API key needed to authorize the request
Path Parameters
Was this page helpful?
