Skip to main content
POST
Add a new sender domain

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
Pattern: ^(?!-)[a-zA-Z0-9-]{1,63}(?<!-)(\.[a-zA-Z0-9-]{1,63})*\.[a-zA-Z]{2,}$
Example:

"mail.example.com"

Response

Domain created

data
object
required