Skip to content

Verify approval passkey

POST
/api/approval-artifacts/{artifactId}/passkey/verify
Code sample: Shell / cURL
curl --request POST \
--url https://auth.example.com/api/approval-artifacts/example/passkey/verify \
--header 'Content-Type: application/json' \
--data '{ "challenge_id": "apc_123:pk:uuid", "credential": { "id": "credential-id", "type": "public-key", "response": {} } }'

Verify a passkey authentication response and return a completion assertion.

artifactId
required
string

Verify a passkey authentication response for approval completion.

Media type application/json
object
challenge_id
required
string
credential
required
object
key
additional properties
Example
{
"challenge_id": "apc_123:pk:uuid",
"credential": {
"id": "credential-id",
"type": "public-key",
"response": {}
}
}

Approval completion assertion produced by a step-up method.

Media type application/json
object
completion_assertion
required
object
method
string
actor_subject_type
string
actor_subject_id
string
verified_at
integer format: int64
metadata
object
key
additional properties
Example
{
"completion_assertion": {
"method": "passkey",
"actor_subject_type": "admin_user",
"actor_subject_id": "admin_123",
"verified_at": 1770000000000,
"metadata": {
"source": "admin_passkey",
"credential_id": "credential_123"
}
}
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}