API → UsersGet a session for your user

Parameters

Name

Type

Req.

Returns

get
/user/session/{token}
$ curl "https://api.zoo.dev/user/session/{token}" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "created_at": "2024-12-19T17:50:27.690Z",
  "expires": "2024-12-19T17:50:27.690Z",
  "id": "b3537cd0-2916-48c5-a650-3e191879c953",
  "session_token": "AuS7T30gsrs4LNYxXFn",
  "updated_at": "2024-12-19T17:50:27.690Z",
  "user_id": "41a3a0c1-8bfe-43a4-8b0d-0cec298fa292"
}