authentication
Start Passkey Registration
Start a session-bound WebAuthn registration ceremony.
POST
/
api
/
account
/
passkeys
/
options
Start Passkey Registration
curl --request POST \
--url https://api.aixy-gateway.com/api/account/passkeys/options \
--header 'Content-Type: application/json' \
--cookie gateway_session= \
--data '
{
"label": "<string>"
}
'import requests
url = "https://api.aixy-gateway.com/api/account/passkeys/options"
payload = { "label": "<string>" }
headers = {
"cookie": "gateway_session=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {cookie: 'gateway_session=', 'Content-Type': 'application/json'},
body: JSON.stringify({label: '<string>'})
};
fetch('https://api.aixy-gateway.com/api/account/passkeys/options', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ceremony_id": "<string>",
"public_key": {}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}⌘I
Start Passkey Registration
curl --request POST \
--url https://api.aixy-gateway.com/api/account/passkeys/options \
--header 'Content-Type: application/json' \
--cookie gateway_session= \
--data '
{
"label": "<string>"
}
'import requests
url = "https://api.aixy-gateway.com/api/account/passkeys/options"
payload = { "label": "<string>" }
headers = {
"cookie": "gateway_session=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {cookie: 'gateway_session=', 'Content-Type': 'application/json'},
body: JSON.stringify({label: '<string>'})
};
fetch('https://api.aixy-gateway.com/api/account/passkeys/options', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ceremony_id": "<string>",
"public_key": {}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}