Brivio API reference
Mailboxes

Provision a hosted mailbox on an active hosted domain of the organization. The password is generated and sealed server-side and never returned. A taken address is 409, a reserved local part 422, no mail server configured 503, a mail-server refusal 502. Honours Idempotency-Key. (scope: mailboxes:write)

POST
/mailboxes

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key as Bearer token

Request Body

application/json
  1. body
domain_id*string

An active hosted mail domain of the organization (GET /mail-domains).

Formatuuid
local_part*string

The part before @. Role addresses (postmaster, abuse, admin, support …) are reserved (422).

Match^[A-Za-z0-9]([A-Za-z0-9._-]*[A-Za-z0-9])?$
Length1 <= length <= 64
display_name?string
Lengthlength <= 255
quota_mb?integer

Default 5120.

Range256 <= value <= 51200

Response Body

OK

application/json
  1. response
data*

No password: it is generated and sealed server-side and never returned.

error*null
curl -X POST "https://example.com/mailboxes" \  -H "Content-Type: application/json" \  -d '{    "domain_id": "b2f7354f-b74d-4332-ab10-1a5e3c56466c",    "local_part": "string"  }'
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "address": "user@example.com",    "status": "pending"  },  "error": null}