API → Users → Get a session for your user
Parameters
Name
Type
Req.
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
get
/user/session/{token}$ curl "https://api.zoo.dev/user/session/{token}" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"created_at": "2025-01-17T16:14:41.107Z",
"expires": "2025-01-17T16:14:41.107Z",
"id": "ac3b5980-0030-4088-8d21-db0d3f1660fd",
"session_token": "aPnbcZHrWRfG1dsvS3",
"updated_at": "2025-01-17T16:14:41.107Z",
"user_id": "3f0a634e-c1a3-48a2-9db7-3b96642289b1"
}