Skip to main content Link Menu Expand (external link) Document Search Copy Copied

auth0 guardian factors sms set-twilio

Set the Twilio configuration for the SMS MFA factor.

This is a legacy endpoint. Tenants on the unified phone experience must manage SMS delivery from the Dashboard (Branding > Phone Provider); it is not available to Management API tokens.

Usage

auth0 guardian factors sms set-twilio [flags]

Examples

  auth0 guardian factors sms set-twilio --sid AC... --auth-token <token> --from "+14155550100"
  auth0 guardian factors sms set-twilio --sid AC... --auth-token <token> --messaging-service-sid MG...

Flags

      --auth-token string              Twilio authentication token.
      --from string                    Twilio 'from' phone number.
      --json                           Output in json format.
      --json-compact                   Output in compact json format.
      --messaging-service-sid string   Twilio messaging service SID.
      --sid string                     Twilio account SID.

Inherited Flags

      --agent-mode      Output JSON, disable prompts and colors. Auto-enabled for AI agents; set AUTH0_AGENT_MODE=false to disable.
      --debug           Enable debug mode.
      --no-color        Disable colors.
      --no-input        Disable interactivity.
      --tenant string   Specific tenant to use.