Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Telnyx API key supplied as Authorization: Bearer <token>. In production, auth may be validated by the API gateway and forwarded via Telnyx auth headers.

Body

application/json
domain
string
required
Example:

"example.com"

inbound_enabled
boolean
default:false

Enable inbound routing for this domain

dmarc_policy
object | null

DMARC policy. Omit/null for the advisory default (v=DMARC1; p=none; rua=mailto:dmarc@telnyx.com).

tracking
object

Response

Email domain created

data
object
required
Example: