Create an email inbox
Creates an inbox on an inbound-enabled domain. When domain_id is omitted, Telnyx
allocates the accountโs shared inbound subdomain so the inbox is immediately usable
without customer DNS setup. When username is omitted, a unique username is generated.
Authorizations
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
Both fields are optional. Omitting username generates one; omitting domain_id uses the account's shared inbound subdomain. Omitting both creates an instant inbox with a generated username.
Inbox local part. Trimmed and lowercased before validation; the normalized value must be 1-64 characters, start and end with a letter or digit, and contain only letters, digits, dots, hyphens, and underscores. Generated when omitted.
Account-owned, inbound-enabled domain UUID. The account's shared inbound subdomain is allocated when omitted.
Response
Email inbox created.