Fetch all identities

Fetch a page of identities.

GET https://api.jsonpad.io/identities

Example

cURL
123curl https://api.jsonpad.io/identities \
  -H "Content-Type: application/json" \
  -H "x-api-token: <YOUR TOKEN>"

Parameters

  • optional
    pagenumberhttps://api.jsonpad.io/lists?page=1The page number to fetch. Defaults to 1.
  • optional
    limitnumberhttps://api.jsonpad.io/lists?limit=20The number of identities to fetch per page. Defaults to 20.
  • optional
    orderstringhttps://api.jsonpad.io/identities?order=createdAt

    The field to order the identities by. Defaults to createdAt.

    Valid values are:

    • createdAt
    • updatedAt
    • name
    • group
    • activated
  • optional
    directionstringhttps://api.jsonpad.io/identities?direction=asc

    The direction to order the identities by.

    Valid values are:

    • asc
    • desc
  • optional
    namestringhttps://api.jsonpad.io/identities?name=sampleFilter identities by name (partial match).
  • optional
    groupstringhttps://api.jsonpad.io/identities?group=sampleFilter identities by group (partial match).

Request headers

  • required
    x-api-tokenstringYour API token.

Request body

No request body

Response body

200 OK
{
page: 1
limit: 20
total: 1
data: [
0: {
id: "3e7d8fa9-74d0-4bab-880c-5b64f5c1f03e"
createdAt: "2026-09-05T11:30:29.906Z"
updatedAt: "2026-09-05T11:30:29.906Z"
user: {
id: "d2531e0f-1144-4e00-83b9-bcc556942f0c"
createdAt: "2026-09-05T11:30:29.906Z"
updatedAt: "2026-09-05T11:30:29.906Z"
lastActiveAt: "2026-09-05T11:30:29.906Z"
activated: true
displayName: "Sample User"
description: "Sample user description"
}
group: "sample-group"
name: "Sample Identity"
lastLoginAt: "2026-09-05T11:30:29.906Z"
activated: true
}
]
}

Response headers

  • x-total1The total number of results available.
  • x-pages1The total number of pages available.
2024-12-07