GET
/
users
/
{userID}
/
credentials
curl --request GET \
  --url https://backendapi.corbado.io/v2/users/{userID}/credentials \
  --header 'Authorization: Basic <encoded-value>'
{
  "credentials": [
    {
      "id": "cre-12345",
      "credentialID": "<string>",
      "attestationType": "<string>",
      "transport": [
        "usb"
      ],
      "backupEligible": true,
      "backupState": true,
      "authenticatorAAGUID": "<string>",
      "sourceOS": "<string>",
      "sourceBrowser": "<string>",
      "lastUsed": "<string>",
      "lastUsedMs": 123,
      "created": "<string>",
      "createdMs": 123,
      "status": "pending",
      "aaguidDetails": {
        "aaguid": "<string>",
        "name": "<string>",
        "iconLight": "<string>",
        "iconDark": "<string>"
      }
    }
  ],
  "paging": {
    "page": 1,
    "totalPages": 123,
    "totalItems": 123
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

userID
string
required

ID of user

Query Parameters

sort
string

Field sorting

filter[]
string[]

Field filtering

page
integer
default:1

Page number

pageSize
integer
default:10

Number of items per page

Response

200
application/json

List of credentials (passkeys)

The response is of type object.