Get domain by ID
curl --request GET \
--url https://inboundr.net/api/v1/domains/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://inboundr.net/api/v1/domains/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://inboundr.net/api/v1/domains/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://inboundr.net/api/v1/domains/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"id": "dom_123",
"domain": "yourdomain.com",
"status": "verified",
"catchAllEndpointId": null,
"dkimTokens": ["token1", "token2", "token3"],
"dnsRecords": [
{ "type": "MX", "name": "yourdomain.com", "value": "…", "priority": 10 }
]
}
Domains
Get domain by ID
Fetch a domain and its DNS records, refreshing verification status.
GET
/
api
/
v1
/
domains
/
{id}
Get domain by ID
curl --request GET \
--url https://inboundr.net/api/v1/domains/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://inboundr.net/api/v1/domains/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://inboundr.net/api/v1/domains/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://inboundr.net/api/v1/domains/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"id": "dom_123",
"domain": "yourdomain.com",
"status": "verified",
"catchAllEndpointId": null,
"dkimTokens": ["token1", "token2", "token3"],
"dnsRecords": [
{ "type": "MX", "name": "yourdomain.com", "value": "…", "priority": 10 }
]
}
Returns the domain with its DNS records. If the domain is still
pending, this
call also triggers a fresh verification check.
string
required
The domain id (
dom_…).{
"id": "dom_123",
"domain": "yourdomain.com",
"status": "verified",
"catchAllEndpointId": null,
"dkimTokens": ["token1", "token2", "token3"],
"dnsRecords": [
{ "type": "MX", "name": "yourdomain.com", "value": "…", "priority": 10 }
]
}
Returns
404 if the domain doesn’t exist or isn’t yours.⌘I