Skip to Content

ListPasskeys

GET
/auth/v1/users/current/passkeys

Authorization

headerX-API-Key<token>

API key for protected endpoints, supplied in the X-API-Key header.

Query Parameters

user_id?user_id

Response Body

200application/json

Success

type: unknown

{
  "$ref": "#/components/schemas/auth.v1.ListPasskeysResponse",
  "$ref-value": {
    "type": "object",
    "properties": {
      "passkeys": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/auth.v1.Passkey",
          "$ref-value": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "title": "id"
              },
              "name": {
                "type": "string",
                "examples": [
                  "MacBook Touch ID"
                ],
                "title": "name",
                "description": "At most 64 UTF-8 bytes."
              },
              "credential_id": {
                "type": "string",
                "title": "credential_id"
              },
              "aaguid": {
                "type": "string",
                "title": "aaguid"
              },
              "transports": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "transports"
              },
              "backup_state": {
                "type": "boolean",
                "title": "backup_state"
              },
              "created_at": {
                "type": "string",
                "title": "created_at"
              },
              "last_used_at": {
                "type": "string",
                "title": "last_used_at"
              }
            },
            "title": "Passkey",
            "additionalProperties": false
          }
        },
        "title": "passkeys"
      }
    },
    "title": "ListPasskeysResponse",
    "additionalProperties": false
  }
}
default
curl -X GET 'https://api.rixl.com/auth/v1/users/current/passkeys'

Success

application/json

{
  "$ref": "#/components/schemas/auth.v1.ListPasskeysResponse",
  "$ref-value": {
    "type": "object",
    "properties": {
      "passkeys": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/auth.v1.Passkey",
          "$ref-value": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "title": "id"
              },
              "name": {
                "type": "string",
                "examples": [
                  "MacBook Touch ID"
                ],
                "title": "name",
                "description": "At most 64 UTF-8 bytes."
              },
              "credential_id": {
                "type": "string",
                "title": "credential_id"
              },
              "aaguid": {
                "type": "string",
                "title": "aaguid"
              },
              "transports": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "transports"
              },
              "backup_state": {
                "type": "boolean",
                "title": "backup_state"
              },
              "created_at": {
                "type": "string",
                "title": "created_at"
              },
              "last_used_at": {
                "type": "string",
                "title": "last_used_at"
              }
            },
            "title": "Passkey",
            "additionalProperties": false
          }
        },
        "title": "passkeys"
      }
    },
    "title": "ListPasskeysResponse",
    "additionalProperties": false
  }
}