List active sessions
Changed onRetrieve all active authentication sessions on an Embedded Wallet internal account. A session is created each time a credential is verified via POST /auth/credentials/{id}/verify, and remains active until its expiresAt passes or it is revoked via DELETE /auth/sessions/{id}.
The response is not paginated: an internal account is expected to have a small, bounded number of concurrent sessions (one per signed-in device, typically 1–4), so all results are returned inline.
Request
- Base URLhttps://api.lightspark.com/grid/2025-10-13
- URLhttps://api.lightspark.com/grid/2025-10-13/auth/sessions
- AuthHTTP basic
Query parameters
Internal account id whose sessions to list.
Response
Active authentication sessions on the internal account. Returns an empty data array when the internal account has no active sessions or when accountId does not match any internal account visible to the caller.
Example response
{
"data": [
{
"id": "Session:019542f5-b3e7-1d02-0000-000000000003",
"accountId": "InternalAccount:019542f5-b3e7-1d02-0000-000000000002",
"credentialId": "KEbWNCc7NgaYnUyrNeFGX9_3Y-8oJ3KwzjnaiD1d1LVTxR7v3CaKfCz2Vy_g_MHSh7yJ8yL0Pxg6jo_o0hYiew",
"nickname": "example@lightspark.com",
"createdAt": "2026-04-08T15:30:01Z",
"updatedAt": "2026-04-08T15:35:00Z",
"expiresAt": "2026-04-09T15:30:01Z"
}
]
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- warning
added the new
EXACT_AMOUNT_UNAVAILABLEenum value to theresponse property for the response status
- warning