Create a mailbox
Adds a mailbox and runs an asynchronous connection test (status moves created → testing → connected or error). If the email matches a previously soft-deleted mailbox, that mailbox is restored instead and the response is 200 with its preserved warmup history (otherwise 201).
Required scope: mailboxes:write.
Requires a unique Idempotency-Key request header so retries never duplicate.
Send a unique Idempotency-Key header so retries never create duplicates.
Connection test runs in the background — poll GET /mailboxes/{id} until status is "connected".
A newly created mailbox reports read_channel_state "not_tested" until we have actually opened its inbox. That is not a failure — it means we have no evidence either way yet, so do not treat it as confirmation that replies will be seen. The state turns "ok" once we complete a read of the inbox; we read every connected mailbox on a regular cycle whether or not warmup is on, and read_channel_verified_at shows when the latest completed read happened.
Request
- Base URL: https://warmysender.com/api/v1
- URL: https://warmysender.com/api/v1/mailboxes
- Auth: HTTP bearer
Headers
A unique key (e.g. a UUID) that makes this write safe to retry. Reusing a key returns the original result; reusing it with a different body returns 409.
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.