Verify a session token and return the associated end-user identity
Returns 200 { user, session: { jti, expires_at } } for a live session. A token that is revoked, expired, unknown or malformed answers 401 with code session_invalid, a plain-language message and error.details.reason (session_revoked, session_expired, session_not_found, account_inactive or invalid_token). A token from another workspace answers 403.
https://app.softsolz.uk/api/v1/services/customer-auth/sessions/verifyRecent Requests
Kept only in this browserHeaders
AuthorizationstringrequiredBearer token: Bearer sk_live_... (or sk_test_... for sandbox). A login token will not work here.
Idempotency-KeystringOptional idempotency key for safe retries.
Body Params
tokenstringrequiredA session token previously issued by POST /sessions or /sessions/mfa.
Response
Response Body
userobjectEnd-user identity (public user shape).sessionobjectSession id and expiry.Request
curl --request POST \ --url https://app.softsolz.uk/api/v1/services/customer-auth/sessions/verify \ --header 'Authorization: Bearer sk_live_your_key' \ --header 'Content-Type: application/json' \ --data '{ "token": "tok_example"}'Credentials
Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.
Response · 200
{ "data": { "user": { "id": "1042", "email": "user@example.com", "status": "active" }, "session": { "jti": "11111111-1111-1111-1111-111111111111", "expires_at": "2026-02-08T12:00:00.000Z" } }}