Skip to main content
POST
/
api
/
v1
/
auth
/
passkey
/
register
/
verify
Passkey Register Verify
curl --request POST \
  --url https://api.example.com/api/v1/auth/passkey/register/verify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "credential": {},
  "challenge": "<string>"
}
'
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({credential: {}, challenge: '<string>'})
};

fetch('https://api.example.com/api/v1/auth/passkey/register/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.example.com/api/v1/auth/passkey/register/verify"

payload = {
"credential": {},
"challenge": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
credential
Credential · object
required
challenge
string
required
device_name
string | null
default:Unnamed Device

Response

200 - application/json

OK

message
string
required