Tenant Domain
curl --request GET \
--url https://platform.sendr.app/api/v2/domain \
--header 'Authorization: <api-key>'import requests
url = "https://platform.sendr.app/api/v2/domain"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://platform.sendr.app/api/v2/domain', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://platform.sendr.app/api/v2/domain",
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: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://platform.sendr.app/api/v2/domain"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://platform.sendr.app/api/v2/domain")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform.sendr.app/api/v2/domain")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"domains": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"description": "<string>",
"sendingEmail": "jsmith@example.com",
"dnsRecords": [
{}
],
"isActive": true,
"isApproved": true,
"isVerified": true,
"lastVerificationErrors": [
{}
],
"lastVerificationCheckedAt": "2023-11-07T05:31:56Z"
}
],
"count": 123
}{
"error": 123,
"message": "<string>"
}Domain API
Domain information
Retrieve domain associated with the tenant
GET
/
v2
/
domain
Tenant Domain
curl --request GET \
--url https://platform.sendr.app/api/v2/domain \
--header 'Authorization: <api-key>'import requests
url = "https://platform.sendr.app/api/v2/domain"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://platform.sendr.app/api/v2/domain', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://platform.sendr.app/api/v2/domain",
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: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://platform.sendr.app/api/v2/domain"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://platform.sendr.app/api/v2/domain")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform.sendr.app/api/v2/domain")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"domains": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"description": "<string>",
"sendingEmail": "jsmith@example.com",
"dnsRecords": [
{}
],
"isActive": true,
"isApproved": true,
"isVerified": true,
"lastVerificationErrors": [
{}
],
"lastVerificationCheckedAt": "2023-11-07T05:31:56Z"
}
],
"count": 123
}{
"error": 123,
"message": "<string>"
}Retrieve the domains associated with your tenant, including verification status, DNS records, and sending configuration.
Features
- View domain verification status
- Check domain configuration details
- Get DNS records information
- Monitor domain activity status
Query parameters
All optional — used for pagination and sorting.| Parameter | Type | Description |
|---|---|---|
skip | integer | Records to skip (pagination offset) |
take | integer | Max records to return (pagination limit) |
orderBy | string | Sort order, e.g. { "updatedAt": "desc" }. Defaults to updatedAt descending. |
onboardingStatus | boolean | Filter by onboarding status |
Response
Returns{ domains: [...], count }. Each domain includes isActive, isApproved, isVerified, dnsRecords, plus lastVerificationErrors and lastVerificationCheckedAt from the most recent verification check.
200 OK: List of domains retrieved successfully401 Unauthorized: Invalid API key
No request body is required. Provide the API key in the
Authorization header.Authorizations
Query Parameters
Number of records to skip (pagination offset)
Maximum number of records to return (pagination limit)
Sort order, e.g. { "updatedAt": "desc" }. Defaults to updatedAt descending.
Filter by onboarding status