Verify a session token and return the associated end-user identity.
Verify a session token and return the associated end-user identity.
POST
https://app.softsolz.uk/api/v1/services/customer-auth/sessions/verifyRecent Requests
Kept only in this browserTimeStatusTook
Send a request with Try it to see it here.
Headers
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" } }}