{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telnyx/json-schema/telnyx-create-verify-profile-smsrequest-schema.json",
  "title": "CreateVerifyProfileSMSRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-verify-api-openapi.yml#/components/schemas/CreateVerifyProfileSMSRequest",
  "properties": {
    "alpha_sender": {
      "default": "Telnyx",
      "description": "The alphanumeric sender ID to use when sending to destinations that require an alphanumeric sender ID.",
      "pattern": "^[A-Za-z0-9 ]{1,11}$",
      "type": [
        "string",
        "null"
      ]
    },
    "app_name": {
      "description": "The name that identifies the application requesting 2fa in the verification message.",
      "pattern": "^[A-Za-z0-9 -]{1,30}$",
      "type": "string"
    },
    "code_length": {
      "default": 5,
      "description": "The length of the verify code to generate.",
      "type": "integer"
    },
    "default_verification_timeout_secs": {
      "default": 300,
      "description": "For every request that is initiated via this Verify profile, this sets the number of seconds before a verification request code expires. Once the verification request expires, the user cannot use the code to verify their identity.",
      "type": "integer"
    },
    "messaging_template_id": {
      "description": "The message template identifier selected from /verify_profiles/templates",
      "format": "uuid",
      "type": "string"
    },
    "whitelisted_destinations": {
      "description": "Enabled country destinations to send verification codes. The elements in the list must be valid ISO 3166-1 alpha-2 country codes. If set to `[\"*\"]`, all destinations will be allowed. **Conditionally required:** this field must be provided when your organization is configured to require explicit whitelisted destinations; otherwise it is optional.",
      "items": {
        "description": "ISO 3166-1 alpha-2 country code",
        "pattern": "^[A-Z]{2}$",
        "type": "string"
      },
      "type": "array"
    }
  },
  "type": "object"
}