Update catch-all
curl --request PATCH \
--url https://inboundr.net/api/v1/domains/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"catchAllEndpointId": {}
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({catchAllEndpointId: {}})
};
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}"
payload = { "catchAllEndpointId": {} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, 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 => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'catchAllEndpointId' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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": "ep_123",
"updatedAt": "2026-07-20T11:00:00.000Z"
}
Domains
Update catch-all
Set or clear the domain’s catch-all endpoint.
PATCH
/
api
/
v1
/
domains
/
{id}
Update catch-all
curl --request PATCH \
--url https://inboundr.net/api/v1/domains/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"catchAllEndpointId": {}
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({catchAllEndpointId: {}})
};
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}"
payload = { "catchAllEndpointId": {} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, 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 => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'catchAllEndpointId' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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": "ep_123",
"updatedAt": "2026-07-20T11:00:00.000Z"
}
Sets the catch-all endpoint that all unrouted mail
for the domain is delivered to. Explicit address routes
still take precedence.
string
required
The domain id (
dom_…).string | null
required
An endpoint id (
ep_…) to deliver unrouted mail to, or null to clear
catch-all.{
"id": "dom_123",
"domain": "yourdomain.com",
"status": "verified",
"catchAllEndpointId": "ep_123",
"updatedAt": "2026-07-20T11:00:00.000Z"
}
Returns
400 if the endpoint id is unknown, or 404 if the domain isn’t yours.⌘I