Skip to main content
POST
Create an agent email alias

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Body

application/json
alias
string
required

Globally unique short alias: 1–20 lowercase letters or digits with optional internal hyphens.

Required string length: 1 - 20
Pattern: ^[a-z0-9]+(-[a-z0-9]+)*$
config
object
required

Routing configuration for new email conversations: the destination Project UUID and exact registered agent name. Existing conversations retain their bound session.

Response

The created alias.

alias
string
required

Globally unique short alias: 1–20 lowercase letters or digits with optional internal hyphens.

Required string length: 1 - 20
Pattern: ^[a-z0-9]+(-[a-z0-9]+)*$
address
string<email>
required

Email address for this alias in the current environment.

config
object
required

Routing configuration for new email conversations: the destination Project UUID and exact registered agent name. Existing conversations retain their bound session.

createdAt
string<date-time>
required

UTC ISO 8601 timestamp when the alias was created. Generated by the server and unchanged by config updates.

updatedAt
string<date-time>
required

UTC ISO 8601 timestamp when the alias config was last written. Generated by the server; initially equal to createdAt.