Inboxes

Manage test inboxes

Interactions with inboxes

Create an inbox

post

Create an inbox in a project.

Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
account_idinteger · int64 · min: 1Required

Unique account ID

Example: 3229
project_idinteger · int64 · min: 1Required

Unique project ID

Example: 4032
Body
Responses
200

Returns attributes of the inbox.

  • permissions returns the permissions of the token for the inbox.
application/json
post
/api/accounts/{account_id}/projects/{project_id}/inboxes

Get inbox attributes

get

Get inbox attributes by inbox id. See the list of attributes in the example

Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
account_idinteger · int64 · min: 1Required

Unique account ID

Example: 3229
inbox_idinteger · int64 · min: 1Required

Unique inbox ID

Example: 4015
Responses
200

Returns attributes of the inbox.

  • permissions returns the permissions of the token for the inbox.
application/json
get
/api/accounts/{account_id}/inboxes/{inbox_id}

Delete an inbox

delete

Delete an inbox with all its emails.

Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
account_idinteger · int64 · min: 1Required

Unique account ID

Example: 3229
inbox_idinteger · int64 · min: 1Required

Unique inbox ID

Example: 4015
Responses
200

Returns attributes of the inbox.

  • permissions returns the permissions of the token for the inbox.
application/json
delete
/api/accounts/{account_id}/inboxes/{inbox_id}

Update an inbox

patch

Update inbox name, inbox email username.

Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
account_idinteger · int64 · min: 1Required

Unique account ID

Example: 3229
inbox_idinteger · int64 · min: 1Required

Unique inbox ID

Example: 4015
Body
Responses
200

Returns attributes of the inbox.

  • permissions returns the permissions of the token for the inbox.
application/json
patch
/api/accounts/{account_id}/inboxes/{inbox_id}

Clean inbox

patch

Delete all messages (emails) from inbox.

Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
account_idinteger · int64 · min: 1Required

Unique account ID

Example: 3229
inbox_idinteger · int64 · min: 1Required

Unique inbox ID

Example: 4015
Responses
200

Returns attributes of the inbox.

  • permissions returns the permissions of the token for the inbox.
application/json
patch
/api/accounts/{account_id}/inboxes/{inbox_id}/clean

Mark as read

patch

Mark all messages in the inbox as read.

Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
account_idinteger · int64 · min: 1Required

Unique account ID

Example: 3229
inbox_idinteger · int64 · min: 1Required

Unique inbox ID

Example: 4015
Responses
200

Returns attributes of the inbox.

  • permissions returns the permissions of the token for the inbox.
application/json
patch
/api/accounts/{account_id}/inboxes/{inbox_id}/all_read

Reset credentials

patch

Reset SMTP credentials of the inbox.

Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
account_idinteger · int64 · min: 1Required

Unique account ID

Example: 3229
inbox_idinteger · int64 · min: 1Required

Unique inbox ID

Example: 4015
Responses
200

Returns attributes of the inbox.

  • permissions returns the permissions of the token for the inbox.
application/json
patch
/api/accounts/{account_id}/inboxes/{inbox_id}/reset_credentials

Enable email address

patch

Turn the email address of the inbox on/off.

Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
account_idinteger · int64 · min: 1Required

Unique account ID

Example: 3229
inbox_idinteger · int64 · min: 1Required

Unique inbox ID

Example: 4015
Responses
200

Returns attributes of the inbox.

  • permissions returns the permissions of the token for the inbox.
application/json
patch
/api/accounts/{account_id}/inboxes/{inbox_id}/toggle_email_username

Reset email address

patch

Reset username of email address per inbox.

Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
account_idinteger · int64 · min: 1Required

Unique account ID

Example: 3229
inbox_idinteger · int64 · min: 1Required

Unique inbox ID

Example: 4015
Responses
200

Returns attributes of the inbox.

  • permissions returns the permissions of the token for the inbox.
application/json
patch
/api/accounts/{account_id}/inboxes/{inbox_id}/reset_email_username

Get a list of inboxes

get

Get a list of inboxes.

Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
account_idinteger · int64 · min: 1Required

Unique account ID

Example: 3229
Responses
200

Returns the list of inboxes in the account to which the API token has access.

  • permissions returns the permissions of the token for the inbox.
application/json
get
/api/accounts/{account_id}/inboxes

Last updated

Was this helpful?