curl --request GET \
--url https://api.thepurplebox.io/v1/domains \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: <content-type>'{
"status": 200,
"message": "domain retrieved successfully.",
"data": {
"id": "xxxxx",
"value": "yourdomain.com",
"team_id": "xxxxx",
"status": "not_started",
"identity_type": "domain",
"created_at": "2025-11-21T10:23:14.737725Z",
"verified_at": null,
"attributes": {
"dkim_attributes": {
"name": "thepurplebox._domainkey.yourdomain",
"record_type": "TXT",
"value": "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsBL1UV+VVUqIlNrkhBBC...xxxxx",
"ttl": "auto",
"status": "not_started"
},
"mail_from_attributes": [
{
"name": "send.yourdomain",
"record_type": "TXT",
"value": "xxxx",
"ttl": "60",
"status": "not_started"
},
{
"name": "bounce.yourdomain",
"record_type": "CNAME",
"value": "xxxxx",
"ttl": "60",
"status": "not_started"
}
],
"dmarc_attributes": {
"name": "_dmarc",
"record_type": "TXT",
"value": "v=DMARC1;p=none;",
"ttl": "auto",
"status": ""
},
"verification_status": "not_started",
"verified_for_sending_status": false,
"error_type": ""
},
"last_status_checked_at": "2025-11-21T10:23:14.737725Z"
}
}
Retrieve details and DNS configuration for a domain identity.
curl --request GET \
--url https://api.thepurplebox.io/v1/domains \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: <content-type>'{
"status": 200,
"message": "domain retrieved successfully.",
"data": {
"id": "xxxxx",
"value": "yourdomain.com",
"team_id": "xxxxx",
"status": "not_started",
"identity_type": "domain",
"created_at": "2025-11-21T10:23:14.737725Z",
"verified_at": null,
"attributes": {
"dkim_attributes": {
"name": "thepurplebox._domainkey.yourdomain",
"record_type": "TXT",
"value": "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsBL1UV+VVUqIlNrkhBBC...xxxxx",
"ttl": "auto",
"status": "not_started"
},
"mail_from_attributes": [
{
"name": "send.yourdomain",
"record_type": "TXT",
"value": "xxxx",
"ttl": "60",
"status": "not_started"
},
{
"name": "bounce.yourdomain",
"record_type": "CNAME",
"value": "xxxxx",
"ttl": "60",
"status": "not_started"
}
],
"dmarc_attributes": {
"name": "_dmarc",
"record_type": "TXT",
"value": "v=DMARC1;p=none;",
"ttl": "auto",
"status": ""
},
"verification_status": "not_started",
"verified_for_sending_status": false,
"error_type": ""
},
"last_status_checked_at": "2025-11-21T10:23:14.737725Z"
}
}
application/jsonyourdomain.com).200 when the domain is retrieved successfully.Show properties
not_started, pending, success, failed, temporary_failure.domain for domain identities.Show properties
Show properties
thepurplebox._domainkey.yourdomain).TXT for DKIM records.v=DKIM1; k=rsa; p=.auto or a specific value in seconds.not_started, pending, success, failed.Show properties
send.yourdomain or bounce.yourdomain).TXT or CNAME.60).not_started, pending, success, failed.Show properties
_dmarc.TXT for DMARC records.v=DMARC1;p=none;).auto or a specific value in seconds.not_started, pending, success, failed, temporary_failure.true when all DNS records are verified.{
"status": 200,
"message": "domain retrieved successfully.",
"data": {
"id": "xxxxx",
"value": "yourdomain.com",
"team_id": "xxxxx",
"status": "not_started",
"identity_type": "domain",
"created_at": "2025-11-21T10:23:14.737725Z",
"verified_at": null,
"attributes": {
"dkim_attributes": {
"name": "thepurplebox._domainkey.yourdomain",
"record_type": "TXT",
"value": "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsBL1UV+VVUqIlNrkhBBC...xxxxx",
"ttl": "auto",
"status": "not_started"
},
"mail_from_attributes": [
{
"name": "send.yourdomain",
"record_type": "TXT",
"value": "xxxx",
"ttl": "60",
"status": "not_started"
},
{
"name": "bounce.yourdomain",
"record_type": "CNAME",
"value": "xxxxx",
"ttl": "60",
"status": "not_started"
}
],
"dmarc_attributes": {
"name": "_dmarc",
"record_type": "TXT",
"value": "v=DMARC1;p=none;",
"ttl": "auto",
"status": ""
},
"verification_status": "not_started",
"verified_for_sending_status": false,
"error_type": ""
},
"last_status_checked_at": "2025-11-21T10:23:14.737725Z"
}
}