POST
Error

Authorizations

apikey
string
header
required

Your publishable (pb_pk_…) or secret (pb_sk_…) key.

Authorization
string
header
required

The signed-in person's access token.

Body

application/json
ticket
string
required

The ticket returned by the options call.

Required string length: 10 - 2048
credential
Credential · object
required

The WebAuthn credential from navigator.credentials.create().

name
string | null

A label for this passkey, such as MacBook.

Maximum string length: 100

Response

Created. The body is the new object.

passkey
object
required