curl --location --request GET 'https://api.eka.care/med-assist/session/a349a41e-5d49-488a-b300-66ccbfdf16b3' \ --header 'x-agent-id: <agent-id>'
{ "session_id": "a349a41e-5d49-488a-b300-66ccbfdf16b3", "expires_at": "2024-01-01T12:00:00Z" }
Retrieves the current status and details of an existing MedAssist session.
Use this endpoint to check session status, expiration, and metadata.
curl --location --request GET 'https://api.eka.care/med-assist/session/a349a41e-5d49-488a-b300-66ccbfdf16b3/refresh' \ --header 'x-agent-id: <agent-id>' \ --header 'x-sess-token: <old_token>'
Your API key for authentication
The unique session identifier
Session retrieved successfully
Unique session identifier
"a349a41e-5d49-488a-b300-66ccbfdf16b3"
Session expiration timestamp
"2024-01-01T12:00:00Z"
Was this page helpful?