Extend a session.
session_id
) for another 30 minutes while a user has the SDK open, 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.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.
The input parameters required for extending a session.
The body is of type object
.
Successful request.
The response is of type object
.