Programmatic authenticator management allows you to automatically enroll or remove authenticators on behalf of users without requiring their direct interaction. This is useful for:Documentation Index
Fetch the complete documentation index at: https://docs.authsignal.com/llms.txt
Use this file to discover all available pages before exploring further.
- Registration flows - Auto-enroll users with verified email/SMS during signup
- Admin operations - Remove compromised or outdated authenticators
- Account migrations - Transfer existing verified contact methods to Authsignal
- Bulk operations - Manage authenticators for multiple users programmatically
Adding authenticators
When to use programmatic enrollment
Programmatic enrollment is ideal when:- You’ve already verified a user’s email/phone in your registration flow
- You’re migrating users from another authentication system
- You want to streamline onboarding by pre-enrolling verified methods
Supported methods
You can programmatically enroll the following verification methods:| Method | Required Field | Description |
|---|---|---|
EMAIL_OTP | email | Email-based one-time passwords |
EMAIL_MAGIC_LINK | email | Email magic links |
SMS | phoneNumber | SMS-based one-time passwords |
PASSKEY | credentialId, credentialPublicKey | Passkeys (WebAuthn). Optional: name |
Implementation
Removing authenticators
When to use programmatic removal
Administrative removal is appropriate for:- Security incidents - Remove compromised authenticators immediately
- User support - Help users who’ve lost access to their methods
- Account cleanup - Remove outdated or duplicate authenticators
- Compliance - Ensure users only have approved authentication methods
Implementation
userAuthenticatorId. Get this via:

