List all environments

Returns all environments in the project, in pages of 20.

A successful response looks like:

{
  'err': 0
  'result': {
    'page': 1,
    'environments': [
      // where each environment has the shape:
      {
        'id': 1,
        'project_id': 123,
        'environment': 'production',
        // visibility of the environment in the app (can either be 1 or 0)
        'visible': 1
      },
      ...
    ]
  }
}
Log in to see full request history
Query Params
int32

Page number, starting from 1. Twenty environments are returned per page.

integer

Sets the limit for number of items returned per page. Default is 20 and the max is 5000.

Headers
string
required

Use a Project Access Token with 'read' scope

Response

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json