CLI:
agentmail inboxes create --display-name "My Agent" --username myagent --domain agentmail.to
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an optional object.
username
stringOptionalUsername of address. Randomly generated if not specified.
domain
stringOptionalDomain of address. Must be verified domain. Defaults to
agentmail.to.display_name
stringOptionalDisplay name:
Display Name <username@domain.com>.client_id
stringOptionalClient ID of inbox.
Response
This endpoint returns an object.
pod_id
stringID of pod.
inbox_id
stringThe ID of the inbox.
email
stringEmail address of the inbox.
updated_at
datetimeTime at which inbox was last updated.
created_at
datetimeTime at which inbox was created.
display_name
stringDisplay name:
Display Name <username@domain.com>.client_id
stringClient ID of inbox.
Errors
400
Validation Error