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
      },
      ...
    ]
  }
}
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
integer

Project ID, required when using an Account Access Token with this endpoint.

integer

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

integer

Page number, starting from 1. The default number of elements returned per page is 20. Set the limit parameter to update that.

Headers
string
required

Use a Project or Account Access Token with 'read' scope (Account tokens require a project_id to be specified)

Response

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