Skip to main content
POST
cURL
This endpoint allows you to extend an existing session (session_id) for another 30 minutes while a user has the SDK open. Call this endpoint when you receive the refresh session request event in the onEvent callback. If the SDK is closed, it is best practice to create a new session before re-initializing the SDK using Create Session.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password. Use your client_id as the username and your secret as the password value.

Body

application/json

The input parameters required for extending a session.

session_id
string
required

Specific session.

Example:

"915efe72-5136-4652-z91q-d9d48003c102"

Response

Successful request.

session
string

The extended session.

Example:

"915efe72-5136-4652-z91q-d9d48003c102"