Skip to main content
POST
Create Email Address

Headers

x-anyreach-org
string | null

Organization ID for user PATs (pat_ prefix tokens)

Body

application/json

Create an inbound email routing address.

address
string
required

Inbound mailbox address

provider
string
default:resend

Email provider

agent_id
string | null

Agent to answer this address (its latest published version is resolved). Alternative to inbound_agent_version_id.

inbound_agent_version_id
string | null

Agent version that answers mail to this address

outbound_from_address
string | null

Verified sender used for replies (defaults to address)

enabled
boolean
default:true

Serve the agent on this address

handler
enum<string>
default:agent

What answers this address. 'agent' routes mail to an agent version; 'demo' builds a demo agent from the company URL in the mail and emails the requester when it's live.

Available options:
agent,
demo
handler_config
DemoHandlerConfig · object | null

Options for handler='demo' (ignored otherwise)

Response

Successful Response

The response is of type Response Create Email Address Core Email Addresses Post · object.