Skip to content

Start adding a passkey

POST
/api/me/passkeys/options
curl --request POST \
--url https://forge.example.com/api/me/passkeys/options \
--header 'Authorization: Bearer <token>'

Answers a ceremony id and the options for the browser’s navigator.credentials.create. A person who already has a second step needs a step-up from the last 10 minutes.

OK

Media typeapplication/json
object
ceremony
required
string
options
required

Example generated

{
"ceremony": "example",
"options": "example"
}

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}