Skip to main content
POST
cURL

Headers

X-CSRF-Token
string
required

Echoes the token from the current session. Required on every unsafe method.

Query Parameters

label
string
Maximum string length: 60

Body

application/json

The body is of type object.

Response

Passkey registered

One registered credential. It carries neither the public key nor the credential identifier: neither is secret, and neither is any use to an operator reading a list.

id
string<uuid>
required
label
string
required

Chosen by the owner, to tell one device from another.

Maximum string length: 60
createdAt
string<date-time>
required
discoverable
boolean
required

Whether the key can sign in without the account being named first.

lastUsedAt
string<date-time>

Absent until the key has signed in.