cURL
curl --request POST \ --url http://sandbox.mintlify.com/api/portal/session \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "uniqueUserId": "titouan.launay@hotmail.com", "configuration": { "userDisplay": "Arthur", "returnUrl": "https://example.com" } }'
{ "sessionId": "<string>", "uniqueUserId": "<string>", "configuration": { "userDisplay": "<string>", "returnUrl": "<string>" } }
Creates a new session
Payload to create a new session
Unique identifier for the user
Show child attributes
Session created successfully
The session identifier