Skip to main content
POST
Create WebAuthn Registration (beta)

Authorizations

Authorization
string
header
required

Auth Platform API includes all the Auth related features. All Users, Phone Numbers, Emails, and OTPs are associated with an App as the container.

Endpoints only accept App's Secret API keys other than certain endpoints that are used client side or via SDK that accept the public_token.

Authentication using App Api Key

Header:

Authenticated Request

Body

application/json
public_key_credential
object
required

Required The signed public key credential for the WebAuthn registration. This object is usually returned by navigator.credentials.create().

user_id
string
required

Required User ID of the user to attach this WebAuthn registration to.

Minimum string length: 1

Response

200 - application/json

OK

user_id
string
required
Minimum string length: 1
webauthn_credential_id
string
required
Minimum string length: 1