Domains
Create domain
POST
/
v1
/
domains
curl --request POST \
--url https://app.unsend.dev/api/v1/domains \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"region": "<string>"
}'
{
"id": 1,
"name": "example.com",
"teamId": 1,
"status": "NOT_STARTED",
"region": "us-east-1",
"clickTracking": false,
"openTracking": false,
"publicKey": "<string>",
"dkimStatus": "<string>",
"spfDetails": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"dmarcAdded": false,
"isVerifying": false,
"errorMessage": "<string>",
"subdomain": "<string>"
}
Body
application/json
Response
200 - application/json
Create a new domain
The response is of type object
.
curl --request POST \
--url https://app.unsend.dev/api/v1/domains \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"region": "<string>"
}'
{
"id": 1,
"name": "example.com",
"teamId": 1,
"status": "NOT_STARTED",
"region": "us-east-1",
"clickTracking": false,
"openTracking": false,
"publicKey": "<string>",
"dkimStatus": "<string>",
"spfDetails": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"dmarcAdded": false,
"isVerifying": false,
"errorMessage": "<string>",
"subdomain": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.