Projects

Organize test environments

Interactions with projects

Get a list of projects

get

List projects and their inboxes to which the API token has access.

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

Lists project attributes and inboxes of this project with their attributes.

  • permissions returns the permissions of the token for the project
application/json
get
/api/accounts/{account_id}/projects

Create project

post

The project name is min 2 characters and max 100 characters long.

Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
account_idinteger · int64 · min: 1Required

Unique account ID

Example: 3229
Body
Responses
200

Returns project details

application/json
post
/api/accounts/{account_id}/projects

Get project by ID

get

Get the project and its inboxes.

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
Responses
200

Returns project details

application/json
get
/api/accounts/{account_id}/projects/{project_id}

Delete project

delete

Delete project and its inboxes.

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
Responses
200

Returns id of the deleted project.

application/json
delete
/api/accounts/{account_id}/projects/{project_id}

Update project

patch

Update project name. The project name is min 2 characters and max 100 characters long.

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 updated project details

application/json
patch
/api/accounts/{account_id}/projects/{project_id}

Last updated

Was this helpful?