Session

Get a session by user id

Changed on

Get a session by the contact's external user id (Session.userId, the id your app passes to the SDK identify call), not the Mongo _id. Responds 404 when no contact with that userId exists.

get/sessions/by-user-id/{userId}

Request

  • Base URL
    https://api.gleap.io/v3
  • URL
    https://api.gleap.io/v3/sessions/by-user-id/{userId}
  • Auth
    HTTP bearer

Headers

projectstring required

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status