Create email inbox

POST
/email/inboxes

Authorization

headerAuthorizationBearer <Relevate API key>

Relevate API key scoped to the operation's product and environment.

Request Body

application/json
  1. body
address*string

The full address, on a verified domain of this project. Direct inboxes need the domain set up for receiving; forwarded ones do not.

address_source?|

provided allocates on an operator-enabled Relevate domain; default custom.

display_name?string|null
kind?|

agent (default through the API): one agent owns it and people supervise. team: people work it together; agents may help.

name?string|null
owner_user_id?|

The supervising person, a member of this workspace. When supplied, new inboxes default to private. Project-only integrations without a person retain workspace visibility unless an owner is supplied.

receives_via?|

direct (default): mail for the address arrives at Relevate. forwarding: the address stays with the customer's mail provider, which forwards a copy to the inbox's forwarding_address. Replies still go out as the address.

reference?|

Your own identifier for the inbox, for example an agent or user ID.

visibility?|

private or workspace. Team sharing is configured by the owner in Relevate.

Response Body

The inbox was created and receives mail immediately.

application/json
  1. response
api_version*string
data*
Example Request
curl -X POST 'https://api.relevate.app/email/inboxes' \
  -H 'Content-Type: application/json' \
  -d '{
  "address": "string"
}'
Example Response
{
  "api_version": "string",
  "data": {
    "address": "string",
    "can_send": true,
    "created_at": "2019-08-24T14:15:22Z",
    "created_via": "string",
    "forwarding_address": "string",
    "forwarding_verified_at": "2019-08-24T14:15:22Z",
    "id": "string",
    "kind": "string",
    "name": "string",
    "owner_user_id": "string",
    "receives_via": "string",
    "reference": "string",
    "sending_identity_id": "string",
    "status": "string",
    "updated_at": "2019-08-24T14:15:22Z",
    "visibility": "string"
  }
}