Create an authentication method. Authentication methods created via this endpoint will be auto confirmed and should already have verification completed.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the user to whom the new authentication method will be assigned.
phone, email, totp, webauthn-roaming, passkey A human-readable label to identify the authentication method.
Base32 encoded secret for TOTP generation.
Applies to phone authentication methods only. The destination phone number used to send verification codes via text and voice.
2 - 30Applies to email authentication methods only. The email address used to send verification messages.
Applies to phone authentication methods only. The preferred communication method.
voice, sms Applies to webauthn authentication methods only. The id of the credential.
Applies to webauthn authentication methods only. The public key, which is encoded as base64.
Applies to webauthn authentication methods only. The relying party identifier.
Authentication method created.
The successfully created authentication method.
phone, email, totp, webauthn-roaming, passkey The ID of the newly created authentication method (automatically generated by the application)
A human-readable label to identify the authentication method.
Base32 encoded secret for TOTP generation
Applies to phone authentication methods only. The destination phone number used to send verification codes via text and voice.
2 - 30Applies to email authentication methods only. The email address used to send verification messages.
Preferred phone authentication method
voice, sms Applies to webauthn authenticators only. The id of the credential.
Applies to webauthn authenticators only. The public key.
Applies to passkeys only. Authenticator Attestation Globally Unique Identifier.
Applies to webauthn authenticators only. The relying party identifier.
Authentication method creation date