Skip to main content
POST
/
v1
/
domains
Add a new sender domain
curl --request POST \
  --url https://api.mail.gorillaa.one/v1/domains \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "domain": "mail.example.com"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "domain": "<string>",
    "verification_status": "pending",
    "warming_status": "not_started",
    "is_default": true,
    "records": [
      {
        "type": "TXT",
        "host": "<string>",
        "value": "<string>",
        "purpose": "verification",
        "verified": true,
        "ttl": 123,
        "priority": 123
      }
    ],
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "subdomain": "<string>",
    "verified_at": "2023-11-07T05:31:56Z",
    "dkim_selector": "<string>",
    "dkim_status": "<string>",
    "warming_current_limit": 123,
    "reputation_score": 50
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Pass your Gorillaa Mail API key as a Bearer token.

Example: Authorization: Bearer grl_live_xxxxxxxxxxxx

Keys prefixed grl_test_ operate in test mode with reduced limits.

Body

application/json
domain
string
required

Domain name (e.g. mail.example.com)

Required string length: 4 - 253
Example:

"mail.example.com"

Response

Domain created

data
object
required