Skip to main content
curl --location --request GET 'https://api.eka.care/med-assist/session/a349a41e-5d49-488a-b300-66ccbfdf16b3' \
--header 'x-agent-id: <agent-id>'

Session Refresh

When a session token expires, you can refresh it using the refresh endpoint:
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>'
The refresh endpoint returns a new token with extended expiration time.