Twilio Factors API

Manage authentication factors (TOTP, push)

Business capability
Identity & Access Management BC-620.20

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /Services/{ServiceSid}/Entities/{Identity}/Factors List an end user's authentication factors · Twilio List Factors for an Entity #
Ask an LLM
“Which TOTP or push factors has a user enrolled?”
“Does this entity already have an authenticator set up?”
Tell an agent
List the factors for entity {identity} in Verify service {service}.
Show all authentication factors enrolled by user {identity} on service {service}.
POST /Services/{ServiceSid}/Entities/{Identity}/Factors Enroll a TOTP or push factor for a user · Twilio Create a Factor #
Ask an LLM
“How do I let a user set up an authenticator app for two-factor login?”
“Can I register a push authentication factor for an end user?”
Tell an agent
Create a {factor_type} factor named {name} for entity {identity} in service {service}.
Enroll a {factor_type} factor {name} for user {identity} on service {service} with {code_length}-digit codes.

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/twilio-factors-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

twilio-factors-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Twilio Verify Factors API
  description: User verification and two-factor authentication API. Send verification codes via SMS, voice, email, WhatsApp, or push notifications. Supports TOTP, push authentication, and silent network authentication for fraud prevention and user identity verification.
  version: '2.0'
  contact:
    name: Twilio Support
    url: https://support.twilio.com
    email: support@twilio.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  termsOfService: https://www.twilio.com/legal/tos
servers:
- url: https://verify.twilio.com/v2
  description: Twilio Verify API v2
security:
- accountSid_authToken: []
tags:
- name: Factors
  description: Manage authentication factors (TOTP, push)
paths:
  /Services/{ServiceSid}/Entities/{Identity}/Factors:
    get:
      operationId: listFactors
      summary: Twilio List Factors for an Entity
      tags:
      - Factors
      parameters:
      - $ref: '#/components/parameters/ServiceSid'
      - name: Identity
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: List of factors
    post:
      operationId: createFactor
      summary: Twilio Create a Factor
      description: Create a new authentication factor (TOTP or push) for an entity.
      tags:
      - Factors
      parameters:
      - $ref: '#/components/parameters/ServiceSid'
      - name: Identity
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - FriendlyName
              - FactorType
              properties:
                FriendlyName:
                  type: string
                FactorType:
                  type: string
                  enum:
                  - totp
                  - push
                Binding.Alg:
                  type: string
                  enum:
                  - sha1
                  - sha256
                  - sha512
                Binding.CodeLength:
                  type: integer
                  enum:
                  - 6
                  - 8
                Binding.TimeStep:
                  type: integer
                Config.NotificationPlatform:
                  type: string
                  enum:
                  - fcm
                  - apn
                  - none
      responses:
        '201':
          description: Factor created
components:
  parameters:
    ServiceSid:
      name: ServiceSid
      in: path
      required: true
      description: The SID of the Verify service
      schema:
        type: string
        pattern: ^VA[0-9a-fA-F]{32}$
  securitySchemes:
    accountSid_authToken:
      type: http
      scheme: basic
      description: Use your Twilio Account SID as the username and Auth Token as the password for HTTP Basic authentication.
externalDocs:
  description: Twilio Verify API Documentation
  url: https://www.twilio.com/docs/verify/api