Create a Client Session
Create a new client session
Creates a new client session.
Creates a new client session.
Your user ID for the user for whom you want to create a client session.
IDs of the Connect Webviews for which you want to create a client session.
IDs of the connected accounts for which you want to create a client session.
IDs of the user identities that you want to associate with the client session.
ID of the user identity for which you want to create a client session.
Date and time at which the client session should expire, in ISO 8601 format.
Request
Specify the user ID and, optionally, connected accounts associated with the user by including the corresponding parameters in the request body.
Request Body Parameters
user_identifier_key
String Required
Your own internal user ID for the user
connected_account_ids
Array of strings Optional
Array of IDs of the connected accounts associated with this user
Sample Request
Response
Returns a client_session
containing the following properties:
token
Client session token associated with the client session
workspace_id
ID of the workspace that contains the client session
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.
Sample Response
Last updated
Was this helpful?