POST
Start adding a passkey

Authorizations

Authorization
string
header
required

The user's access token from authentication. The program and environment come from the token.

Headers

x-program-id
string
required

Identifies the program. Can also be sent as the programId query parameter.

Origin
string

The origin your app runs on, e.g. https://app.example.com or http://localhost:3000. A passkey only works on the site or app that created it, so we read this to find which of your program's domains that is and build the challenge for it. It must match a configured origin exactly (scheme, host and port), or the call fails with 422 Origin not allowed. Browsers send it for you; native apps, scripts and Postman must set it themselves. To add an origin, ask your Orenda contact.

Body

application/json
friendly_name
string

A label for this passkey, e.g. "My iPhone".

email_code
string

Optional. The 6-digit code from the email, when an earlier call answered EMAIL_VERIFICATION_REQUIRED (SSO programs that require it).

Pattern: ^\d{6}$

Response

Setup options

success
boolean
Example:

true

data
object