Sessions
A Session object represents an active session for a user. Sessions are created when a user successfully goes through the sign in or sign up flows.
GET
/v1/client/sessions/:id
POST
/v1/client/sessions/:id/tokens
POST
/v1/client/sessions/:id/touch
POST
/v1/client/sessions/:id/end
POST
/v1/client/sessions/:id/remove
{
"object": "session",
"id": "sess_1q8uCbeJSMgTJnTQMgpAK1Ff0ER",
"client_id": "client_1q8sn8pLHjqTU2g1UheJwJ7YWU6",
"user_id": "user_1n5BS00ns3t21GWIXiPJ0KcSe02",
"status": "active",
"last_active_at": 1616473411,
"expire_at": 1617078211,
"abandon_at": 1619065411
}
get
https://clerk.example.com
/v1/client/sessions/:id
Retrieve a session
post
https://clerk.example.com
/v1/client/sessions/:id/tokens
Issue a session JWT
post
https://clerk.example.com
/v1/client/sessions/:id/touch
Touch current session
post
https://clerk.example.com
/v1/client/sessions/:id/end
End a session
post
https://clerk.example.com
/v1/client/sessions/:id/remove
Remove a session
Last modified 1yr ago