SendStreak logo
menu

Verify a send domain

Runs an on-demand DNS verification check for the domain and returns the refreshed record. Call it after publishing the DNS records.

Endpoint

POST https://api.sendstreak.com/v2/accounts/{accountId}/send-domains/{domain}/verifications

All v2 endpoints require a bearer token - see Authentication.

Path parameters

Parameter Type Description
accountId string The account the request is scoped to.
domain string  

Response

The send domain with refreshed verification state.

{
  "_id": "665f0a2b1c9d440012ab34cd",
  "domain": "mail.example.com",
  "verified": false,
  "dnsRecords": [
    {
      "planId": "professional",
      "country": "Germany"
    }
  ]
}

Errors

Status Description
401 Missing or invalid token, or the token is not authorized for this account/user.

See Errors and rate limits for what error responses look like.

Curl example

curl --location --request POST 'https://api.sendstreak.com/v2/accounts/YOUR_ACCOUNT_ID/send-domains/YOUR_DOMAIN/verifications' \
--header 'Authorization: Bearer YOUR_API_TOKEN'
Try SendStreak for Free now!