2. Sessions

Retrieve authentication session using code

Changed on
get/{serviceProvider}/sessions/{code}

Request

  • Base URL: https://sp.auth.adobe.com/api/v2
  • URL: https://sp.auth.adobe.com/api/v2/{serviceProvider}/sessions/{code}
  • Auth: none declared. Required headers: Authorization

Path parameters

codestring required

The authentication code obtained after creating the authentication session on the streaming device.

serviceProviderstring required

The internal unique identifier associated with the Service Provider during onboarding process.

Headers

Authorizationstring required

The generation of the bearer token payload is described in the Authorization header documentation.

Acceptstring

The media type accepted by the client application.

If specified, it must be application/json.

User-Agentstring

The user agent of the client application.

AP-Visitor-Identifierstring

The Adobe Experience Cloud ID (ECID) that uniquely identifies a visitor across Adobe Experience Cloud solutions. The generation of the visitor identifier payload is described in the Using Experience Cloud ID in Adobe Pass Authentication documentation.

Response

OK. <summary>The response body contains information about the authentication session.<summary>

notAfterstring

The timestamp after which the authentication code is not valid.

existingParametersobject

The existing parameters that were already provided.

missingParametersstring[]

The existing parameters that were already provided.

notBeforestring

The timestamp before which the authentication code is not valid.

Changes

    • info

      api operation id getSessionStatusUsingGET removed and replaced with getSessionStatusUsingGET_1

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the new optional header request parameter AP-Visitor-Identifier