v1

latestOpenAPI 3.0.22026-07-144652931.4 MB
Session Configurations

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

get/session_configurations

Query parameters

type'mobile' | 'web'

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

Headers

Acceptstring required

The Accept header is used as a versioning header.

Content-Type'application/json' required

Response

Session Configurations retrieved successfully

Example response

{
  "session_configurations": [
    {
      "type": "web",
      "absolute_session_ttl": 3600,
      "idle_session_ttl": 1800
    }
  ]
}