Hanzo
OpenapiIam

Registers a passkey or security key for a person, so they can sign in with…

Registers a passkey or security key for a person, so they can sign in with their device instead of a password.

POST /v1/iam/webauthn-credentials

Addresshttps://api.hanzo.ai/v1/iam/webauthn-credentials
MethodPOST
OperationaddWebauthnCredential
AuthAuthorization: Bearer $HANZO_API_KEY

Registers a passkey or security key for a person, so they can sign in with their device instead of a password.

Request

21 fields, body application/json (required).

FieldInTypeRequiredDescription
aaguidbodystring
attachmentbodystring
attestationFormatbodystringAttestationFormat is the statement format the authenticator attested in ("packed", "apple", "none", …), which is a DIFFERENT value from the attestation type…
attestationTypebodystring
backupEligiblebodyboolean
backupStatebodyboolean
cloneWarningbodyboolean
createdAtbodystring (date-time)
createdTimebodystring
credentialIdbodystring
deletedbodyboolean
idbodystring
namebodystring
ownerbodystring
publicKeybodystring
signCountbodyinteger
transportbodystring[]
updatedAtbodystring (date-time)
userbodystring
userPresentbodyboolean
userVerifiedbodyboolean

Response

StatusBodyMeaning
200iam.webauthnCredentialResultok

200 body — 22 fields.

FieldInTypeAlwaysDescription
webauthnCredentialbodyiam.WebauthnCredential
webauthnCredential.aaguidbodystring
webauthnCredential.attachmentbodystring
webauthnCredential.attestationFormatbodystringAttestationFormat is the statement format the authenticator attested in ("packed", "apple", "none", …), which is a DIFFERENT value from the attestation type…
webauthnCredential.attestationTypebodystring
webauthnCredential.backupEligiblebodyboolean
webauthnCredential.backupStatebodyboolean
webauthnCredential.cloneWarningbodyboolean
webauthnCredential.createdAtbodystring (date-time)
webauthnCredential.createdTimebodystring
webauthnCredential.credentialIdbodystring
webauthnCredential.deletedbodyboolean
webauthnCredential.idbodystring
webauthnCredential.namebodystring
webauthnCredential.ownerbodystring
webauthnCredential.publicKeybodystring
webauthnCredential.signCountbodyinteger
webauthnCredential.transportbodystring[]
webauthnCredential.updatedAtbodystring (date-time)
webauthnCredential.userbodystring
webauthnCredential.userPresentbodyboolean
webauthnCredential.userVerifiedbodyboolean

Failure carries the platform error shape — see Errors.

Examples

hanzo iam webauthn-credentials create

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page