Pagination
Every resource list in the Verify, Screen and Credentials APIs (sessions, decisions, events, webhook endpoints and the rest) returns one page at a time, newest first, with a cursor that fetches the next page and filters on creation time.
The list envelope
Every list answers with the same three fields:
data: the items of this page, newest first. Each item has the same shape as the single-item read of that resource.hasMore:truewhen another page follows this one.nextCursor: pass it asstarting_afterto fetch the next, older page. It isnullon the last page.
curl -s "https://compliance.nexiel.io/v1/verify/sessions?limit=2" \
-H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN" \
-H "Nexiel-Version: 2026-11-19"{
"data": [
{
"sessionId": "640ba930-9e91-4920-ace1-aac93f6e7ce5",
"clientId": "my-shop",
"checkType": "age-verification",
"livemode": false,
"status": "completed",
"createdAt": "2026-11-19T10:04:31.112Z",
"expiresAt": "2026-11-19T10:14:31.112Z",
"decision": {
"method": "eudi_wallet",
"booleanProofs": {
"ageOver18": true
}
}
},
{
"sessionId": "f1be0a07-e161-4827-a4c3-3337952859ff",
"clientId": "my-shop",
"checkType": "age-verification",
"livemode": false,
"status": "pending",
"createdAt": "2026-11-19T10:01:07.540Z",
"expiresAt": "2026-11-19T10:11:07.540Z",
"decision": null
}
],
"hasMore": true,
"nextCursor": "MjAyNi0xMS0xOVQxMDowMTowNy41NDAyMTNafGYxYmUwYTA3LWUxNjEtNDgyNy1hNGMzLTMzMzc5NTI4NTlmZg"
}curl -s "https://compliance.nexiel.io/v1/verify/sessions?limit=2&starting_after=MjAyNi0xMS0xOVQxMDowMTowNy41NDAyMTNafGYxYmUwYTA3LWUxNjEtNDgyNy1hNGMzLTMzMzc5NTI4NTlmZg" \
-H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN" \
-H "Nexiel-Version: 2026-11-19"Treat nextCursor as an opaque string. Keep requesting pages until hasMore is false.
Parameters
Every list accepts these query parameters, next to the filters of its own:
| Parameter | Meaning |
|---|---|
limit | How many items to return, 1 to 100. Defaults to 20 on sessions, decisions, events, deliveries and issued credentials. Lists that used to return every item default to 100: webhook endpoints, accepted issuers and their anchors, test issuer anchors, trust policies, intermediary invitations and children, custom domains, data deletion requests, attestation types, academic templates and issuer CA anchors. |
starting_after | Return the items after this one: the nextCursor of the previous page, or the id of an item in the list. |
cursor | The same parameter as starting_after, under another name. Sending both with different values is refused. |
created[gt] | Only items created after this time. |
created[gte] | Only items created at or after this time. |
created[lt] | Only items created before this time. |
created[lte] | Only items created at or before this time. |
A created value is an ISO 8601 date-time, read as UTC when it has no offset, a date such as 2026-11-01 (midnight UTC), or Unix seconds. Combine operators to set a window, for example created[gte] and created[lt] for one month. Square brackets have a meaning of their own in curl, so pass -g or encode them as %5B and %5D:
curl -s -g "https://compliance.nexiel.io/v1/screen/decisions?humanReviewRequired=true&created[gte]=2026-11-01T00:00:00Z&limit=100" \
-H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN" \
-H "Nexiel-Version: 2026-11-19"Ordering and consistency
Items are ordered by creation time, newest first, with the item id breaking ties. A cursor marks a position in that order rather than a page number, so items created while you page never shift the pages you have not read yet: you see no item twice and miss none. To read only what is new since your last run, filter with created[gt] instead of paging from the start again.
A list shows only what your key may see. Passing an item id as starting_after works only for an item in that same list, so an id from another organization or another list is refused rather than used.
Errors
- 400
invalid_cursor:starting_afteris not a cursor this list returned, names an item the list does not contain, or differs from acursorsent in the same request. Start again from the first page, or pass thenextCursoryou received. - 400
bad_requestwithparamnaming the field: acreatedvalue that cannot be read as a time, or alimitoutside its range.
See Errors for the error envelope.
Lists and their filters
Each list adds filters of its own. Where a filter takes several values, separate them with commas. The webhook endpoint and delivery lists exist under each product: /v1/verify, /v1/screen and /v1/credentials.
| List | Its own filters |
|---|---|
GET /v1/verify/sessions | status, checkType |
GET /v1/verify/events | type |
GET /v1/verify/accepted-issuers | environment, status |
GET /v1/verify/accepted-issuers/anchors | environment |
GET /v1/verify/test-issuer-anchors | None |
GET /v1/verify/trust-policies | environment, checkType |
GET /v1/verify/custom-domains | status |
GET /v1/verify/data-deletion-requests | status |
GET /v1/verify/intermediary/invitations | status |
GET /v1/verify/intermediary/children | status |
GET /v1/screen/decisions | classification, humanReviewRequired |
GET /v1/screen/events | type |
GET /v1/credentials/verify/sessions | status, checkType |
GET /v1/credentials/eaa/templates | status, configurationKey |
GET /v1/credentials/eaa/issued-credentials | offerId, credentialTemplateId, status |
GET /v1/credentials/eaa/issuer/ca-anchors | status |
GET /v1/credentials/issue/templates | academicIssuerId, status |
GET /v1/credentials/issue/issued-credentials | offerId, credentialTemplateId, status |
GET /v1/credentials/events | type |
GET /v1/{product}/webhook-endpoints | None |
GET /v1/{product}/webhook-endpoints/{endpointId}/deliveries | None |
An intermediary reads a client organization's trust policies, custom domains and data deletion requests through the same lists under /v1/verify/intermediary/children/{childOrganizationId}. See Serving client organizations.
Deprecated list fields
Lists that answered under another field name before API version 2026-11-19 still send that field, as a copy of data. Read data instead: these copies will be removed in a future API version, announced in the changelog.
| List | Deprecated field |
|---|---|
| Verify sessions (GET /v1/verify/sessions) | sessions |
| Webhook endpoints (every product) | endpoints |
| Webhook deliveries (every product) | deliveries |
| Intermediary invitations | invitations |
| Intermediary client organizations | links |
| Custom domains (yours and a client organization’s) | domains |
| Data deletion requests (yours and a client organization’s) | requests |
| Credentials issued credentials (attestations and academic) | issuedCredentials |
| Credentials templates (attestations and academic) | templates |
| Credentials verification sessions | sessions |
Auto-pagination in the SDKs
The TypeScript and Python SDKs, from version 0.2.0, page through a list for you: iterate, and the next page is fetched when the current one runs out. The same pattern covers Screen decisions (screen.listDecisions, screen.list_decisions in Python) and events.
import { Nexiel } from '@nexiel/sdk';
const nexiel = new Nexiel({
verify: { clientId: process.env.NEXIEL_CLIENT_ID!, clientSecret: process.env.NEXIEL_CLIENT_SECRET! },
});
// Fetches the next page as you iterate.
for await (const session of nexiel.verify.listAllSessions()) {
console.log(session.sessionId, session.status);
}import os
from nexiel_sdk import Nexiel
client = Nexiel(
verify={"client_id": os.environ["NEXIEL_CLIENT_ID"], "client_secret": os.environ["NEXIEL_CLIENT_SECRET"]},
)
# Fetches the next page as you iterate.
for session in client.verify.list_all_sessions():
print(session.session_id, session.status)