Create an inbox
Creates a new inbox with an optional label. Returns 201 with a Location header pointing at the new inbox, or 409 when the plan limit is reached (plan_limit_reached) or after allocation retries are exhausted (conflict).
Request
- Base URL: https://dash.mailsocket.app/api/v1
- URL: https://dash.mailsocket.app/api/v1/inboxes
- Auth: HTTP bearer
Headers
Optional. 1-255 printable ASCII characters (use a UUID). Scoped to the API key that sends it and kept for 24 hours. A retry with the same key and the same body replays the first response (with Idempotent-Replayed: true) and creates nothing new. The same key with a different body or endpoint returns 422 idempotency_key_reused; while the first request is still running, 409 idempotency_in_progress. Stored: 2xx, and 400/404/422 validation errors. Not stored (a retry runs again): outcomes you can fix and retry (402, 403, 409, and 422 domain_not_found_or_unverified), 429 and 5xx. An invalid value, or a body too large to read, returns 400 validation_error.
Request body
Response
Inbox created.
Changes
No recorded changes to this operation across all 1 revision of this API.