{ "opencollection": "1.0.0", "info": { "name": "Knock Audiences Accounts Environments API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Environments", "type": "folder" }, "items": [ { "info": { "name": "Get an environment", "type": "http" }, "http": { "method": "GET", "url": "https://api.knock.app/v1/environments/:environment_slug", "params": [ { "name": "environment_slug", "value": "", "type": "path", "description": "The slug of the environment to retrieve." } ] }, "docs": "Returns a single environment by the `environment_slug`." }, { "info": { "name": "List environments", "type": "http" }, "http": { "method": "GET", "url": "https://api.knock.app/v1/environments", "params": [ { "name": "after", "value": "", "type": "query", "description": "The cursor to fetch entries after." }, { "name": "before", "value": "", "type": "query", "description": "The cursor to fetch entries before." }, { "name": "limit", "value": "", "type": "query", "description": "The number of entries to fetch per-page." } ] }, "docs": "Returns a paginated list of environments. The environments will be returned in order of their index, with the `development` environment first." } ] } ], "bundled": true }