|docs
Start Trial

Get an account's session configurations

Retrieves session configurations for a PagerDuty account. Returns an array containing the requested configurations. If a specific type is requested, the array contains one item. If no type is specified, the array contains all available configurations (mobile and web). If no configurations exist, a 404 Not Found error will be returned.

A Session Configuration needs to be created before it can be retrieved and used.

Scoped OAuth requires: session_configurations.read

Authorization<token>

The API Key with format Token token=<API_KEY>

In: header

Query Parameters

type?string

Session configuration type. If omitted, returns both mobile and web configurations.

Value in

  • "mobile"
  • "web"

Header Parameters

Accept*string

The Accept header is used as a versioning header.

Default"application/vnd.pagerduty+json;version=2"
Content-Type*"application/json"
Default"application/json"

Value in

  • "application/json"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json