API Reference
Me Sessions
3 endpoints· Auth: JWT
get
/api/v1/console/me/sessions JWTThe caller's live sessions, the current one first, then by last activity; at most 50
The list does not sort: `?sort=` answers 422.
- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
Query parameters
| Sort string | A snake_case column key from the endpoint's allow-list (`created_at`, `gross_total`, `status` …). Absent or blank → the endpoint's default order. |
| Dir string | `asc` (the default when Panoptes.Application.Common.SortableRequest.Sort is present) or `desc`. Ignored without a sort. |
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/me/sessions" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Query parameters
Headers
This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu
delete
/api/v1/console/me/sessions/{id} JWTDelete id
End one of the caller's other sessions; its access token stops working on its next request. No body. 404 when the session is not the caller's or has already ended; 409 for the session making this request (sign out instead), or when this access token predates the session claim ("Refresh your session first." — refresh and retry).
- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
Path parameters
| idrequired string (uuid) | — |
Responses
200Success
cURL
curl -X DELETE "https://staging-api.panoptesos.com/api/v1/console/me/sessions/{id}" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Path parameters
Headers
This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu
post
/api/v1/console/me/sessions/revoke-others JWTEnd every session of the caller except this one
No body. 409 when this access token predates session ids — refresh, then retry.
- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/me/sessions/revoke-others" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Headers
This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu