Add an alias address
POST
https://myagentmail.com/v1/inboxes/{id}/addressesFor agents View as Markdown
Attach another accepted address to this inbox. If primary: true (the default), it also becomes the outbound From. The domain must be either the default domain or a custom domain registered + verified to the same workspace.
Path parameters
idrequired string | Inbox UUID |
Request body
Content-Type: application/json
emailrequired string | format: email |
primaryboolean | default: true |
Responses
201application/jsonCreated
okboolean | |
addressstring | |
isPrimaryboolean |
409application/jsonResource already exists
errorrequired string | |
codestring |
Authentication
Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.