Get or Create a Client Session
Get a client session with specific characteristics or create it if it does not yet exist
Last updated
Was this helpful?
Get a client session with specific characteristics or create it if it does not yet exist
Last updated
Was this helpful?
Gets a client session with specific characteristics or create a new client session with these characteristics if it does not yet exist.
Specify any combination of desired client session characteristics by including the corresponding parameters in the request body.
user_identifier_key
String Optional
Your own internal user ID for the user to associate with the client session (or that is already associated with the existing client session)
connect_webview_ids
Array of strings Optional
connected_account_ids
Array of strings Optional
user_identity_ids
Array of strings Optional
expires_at
String Optional
Date and time at which the client session should expire (or at which the existing client session expires)
Returns a client_session
containing the following properties:
token
Client session token associated with the client session
workspace_id
user_identifier_key
Your own internal user ID for the user
client_session_id
ID of the client session
created_at
Date and time at which the client session was created
This response also includes a Boolean ok
status indicator.
Array of IDs of the to associate with the client session (or that are already associated with the existing client session)
Array of IDs of the to associate with the client session (or that are already associated with the existing client session)
Array of IDs of the to associate with the client session (or that are already associated with the existing client session)
ID of the that contains the client session