Fetch the forms for a specific Form Type.

GET /v2/Forms/{FormType}

Fetch the forms for a specific Form Type.

Path parameters

  • FormType string Required

    The Type of this Form. Currently only form-push is supported.

    Value is form-push.

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • form_type string

      The Type of this Form. Currently only form-push is supported.

      Value is form-push.

    • forms

      Object that contains the available forms for this type. This available forms are given in the standard JSON Schema format

    • form_meta

      Additional information for the available forms for this type. E.g. The separator string used for binding in a Factor push.

    • url string(uri) | null

      The URL to access the forms for this type.

GET /v2/Forms/{FormType}
curl \
 --request GET 'https://verify.twilio.com/v2/Forms/{FormType}' \
 --user "username:password"
Response examples (200)
{
  "url": "https://verify.twilio.com/v2/Forms/form-push",
  "forms": {
    "create_factor": {},
    "verify_factor": {},
    "create_challenge": {}
  },
  "form_meta": {},
  "form_type": "form-push"
}