Management API
TypeScript
import { ManagementClient } from "auth0"; async function main() { const client = new ManagementClient({ token: "<token>", }); await client.guardian.factors.phone.getMessageTypes(); } main();
{ "message_types": [ "sms" ] }
Retrieve list of phone-type MFA factors (i.e., sms and voice) that are enabled for your tenant.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Returns the enabled phone factors
The list of phone factors to enable on the tenant. Can include sms and voice.
sms
voice