SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
Customer Auth

List an end-user's sessions (active by default)

Returns { data: [session], meta: { limit, offset, total, has_more } }. Each session has jti, issued_at, expires_at, revoked_at, ip and user_agent.

GEThttps://app.softsolz.uk/api/v1/services/customer-auth/users/{id}/sessions

Recent Requests

Kept only in this browser
TimeStatusTook
Send a request with Try it to see it here.

Path Params

idstringrequired

Headers

Authorizationstringrequired

Bearer token: Bearer sk_live_... (or sk_test_... for sandbox). A login token will not work here.

Query Params

active_onlyboolean

Pass "false" to include revoked/expired sessions.

limitinteger

Page size, 1-200 (default 50).

offsetinteger

Pagination offset (default 0).

Response

Response Body · array of objects

jtistringSession token id.
issued_atstringWhen issued.
expires_atstringWhen it expires.
revoked_atstring | nullWhen revoked, if any.
ipstring | nullClient IP at login.
user_agentstring | nullClient user-agent at login.

Request

curl --request GET \
--url https://app.softsolz.uk/api/v1/services/customer-auth/users/{id}/sessions \
--header 'Authorization: Bearer sk_live_your_key'

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": [
{
"jti": "11111111-1111-1111-1111-111111111111",
"issued_at": "2026-02-01T12:00:00.000Z",
"expires_at": "2026-02-08T12:00:00.000Z",
"revoked_at": null,
"ip": "203.0.113.10",
"user_agent": "Mozilla/5.0"
}
],
"meta": {
"limit": 50,
"offset": 0,
"total": 1,
"has_more": false
}
}