Praecise account/ Reference/ Mailboxes
Make a mailbox on a verified domain
post/api/mailboxes
The mailbox reads with the Praecise account; it has no password of its own.
Before you call
- Credential
Authorization: Bearer $KEY- Credential
Authorization: Bearer $KEY
Request bodyapplication/json, required
- localpartstringrequiredThe part before the @.
- domainstringrequired
- namestringShown as the sender. The local part when left out.
- kindstringWhat holds the address: a person, an agent, or a machine. One of: human, agent, machine. Default: human.
Responses
- 201application/jsonMade.
- emailstring (email)required
- namestring or null
- kindstringrequiredWhat holds the address: a person, an agent, or a machine. One of: human, agent, machine. Default: human.
- inboxbooleanrequiredFalse for a send-only address.
- 400application/jsonThe local part is not usable, or
kindis not one of the three.- errorstringrequiredWhat went wrong, in a sentence.
- detailstring
- errorstringrequired
- 401application/jsonNeither a service token nor a signed-in session was accepted.
- errorstringrequiredWhat went wrong, in a sentence.
- detailstring
- errorstringrequired
- 404application/jsonThat domain is not on this account.
- errorstringrequiredWhat went wrong, in a sentence.
- detailstring
- errorstringrequired
- 409application/jsonThat domain is not verified yet.
- errorstringrequiredWhat went wrong, in a sentence.
- detailstring
- errorstringrequired
- 502application/jsonThe mail service could not be reached, or refused.
- errorstringrequiredWhat went wrong, in a sentence.
- detailstring
- errorstringrequired
- 503application/jsonMail is not configured on this deployment.
- errorstringrequiredWhat went wrong, in a sentence.
- detailstring
- errorstringrequired