GET

https://{tenant_id}.hanko.io

/
users
curl --request GET \
  --url https://{tenant_id}.hanko.io/users
[
  {
    "id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "webauthn_credentials": [
      {
        "id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c",
        "name": "<string>",
        "public_key": "<string>",
        "attestation_type": "<string>",
        "aaguid": "<string>",
        "transports": [
          "<string>"
        ],
        "created_at": "2023-11-07T05:31:56Z"
      }
    ],
    "emails": [
      {
        "id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c",
        "address": "jsmith@example.com",
        "is_verified": true,
        "is_primary": true,
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z"
      }
    ]
  }
]

Query Parameters

page
integer
default: 1

The page which should be returned

per_page
integer
default: 20

The number of returned items

user_id
string

Only users with the specified user_id are included

email
string

Only users with the specified email are included

sort_direction
enum<string>

The sort direction of the returned list (always sorted by created_at)

Available options:
asc,
desc

Response

200 - application/json
id
string
required

The ID of the user

created_at
string
required

Time of creation of the user

updated_at
string
required

Time of last update of the user

webauthn_credentials
object[]

List of registered Webauthn credentials

emails
object[]

List of emails associated to the user