Step 1: Get user sessions

GET {{apiPath}}/environments/{{envID}}/users/{{SimpleLoginUserID}}/sessions

This example shows the GET /environments/{{envID}}/users/{{SimpleLoginUserID}}/sessions operation to get the user's current session.

In this request:

  • {{envID}} represents your environment ID.

  • {{SimpleLoginUserID}} represents the user ID for the user you created and signed on when you ran the Configure a Simple Login prerequisite use case.

  • A GET request does not take a request body. The response returns a Status: 200 success message and shows whether this user has a currently active session.

See the following topics to learn more:

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring