cURL
curl --request POST \ --url https://api.example.com/api/v1/session
{ "201": {}, "500": {}, "sessionId": {}, "message": "<string>" }
Create a new session and return the session ID
{ "sessionId": "123e4567-e89b-12d3-a456-426614174000", "message": "Session created successfully. Use this session_id in subsequent requests." }
curl -X POST https://api.example.com/api/v1/session \ -H "Content-Type: application/json"
sessionId
{ "detail": "Unable to create session" }