Skip to content

Complete Passkey.

POST
/api/admin/me/passkeys/complete
Code sample: Shell / cURL
curl --request POST \
--url https://auth.example.com/api/admin/me/passkeys/complete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "challenge_id": "challenge_123", "origin": "https://admin.test.authrim.com", "passkey_response": { "id": "credential-id", "type": "public-key", "response": {} }, "device_name": "MacBook Pro" }'

Complete Passkey in the Admin Passkeys area. The request body is JSON unless the detailed schema for this operation states otherwise.

Complete current-admin passkey registration.

Media type application/json
object
challenge_id
required
string
passkey_response
required
object
key
additional properties
origin
required
string
device_name
string
Example
{
"challenge_id": "challenge_123",
"origin": "https://admin.test.authrim.com",
"passkey_response": {
"id": "credential-id",
"type": "public-key",
"response": {}
},
"device_name": "MacBook Pro"
}

Passkey mutation result.

Media type application/json
object
success
required
boolean
passkey
required
object
id
required
string
device_name
required
string | null
aaguid
required

Display-only WebAuthn authenticator AAGUID. Do not use for trust decisions.

string | null
provider
required
One of:
object
aaguid
required
string
name
required
string | null
icon_dark
required

Display-only data URI icon for dark backgrounds when available.

string | null
icon_light
required

Display-only data URI icon for light backgrounds when available.

string | null
known
required
boolean
created_at
required
integer format: int64
last_used_at
required
Any of:
integer format: int64
Example
{
"success": true,
"passkey": {
"id": "apk_123",
"device_name": "MacBook Pro",
"created_at": 1770000000000,
"last_used_at": null
}
}

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"
}