v1
latestOpenAPI 3.0.22026-07-144652931.4 MBUsers
Get a user's delegation
Get details about a specific OAuth delegation.
This endpoint replaces the deprecated /users/{id}/sessions/{session_id} endpoint.
Required OAuth Scope: For Scoped OAuth requests, this operation requires the oauth_delegations.read scope.
Scoped OAuth requires: oauth_delegations.read
get/users/{id}/oauth_delegations/{delegation_id}
Path parameters
idstring required
The ID of the resource.
delegation_idstring required
The ID of the delegation.
Headers
Acceptstring required
The Accept header is used as a versioning header.
Content-Type'application/json' required
Response
Delegation retrieved successfully
Example response
{
"id": "e53326c6-a713-409c-8f7e-ps1xczid",
"status": "issued",
"client_id": "PagerDutyLogin",
"delegation_type": "web",
"scope": "openid",
"created_at": "2025-10-30T15:45:02Z",
"expires_at": "2025-12-29T15:45:02Z",
"self": "https://api.pagerduty.com/users/PBGVC7B/oauth_delegations/e53326c6-a713-409c-8f7e-ps1xczid"
}