Telesign · Schema

sendVoiceCodeResponse

AuthenticationCommunicationsFraud PreventionPhone IntelligenceSMSVerificationTelecommunicationsMessagingVoiceEmail IntelligenceIdentityNumber MaskingAccount

Properties

Name Type Description
reference_id string A unique, randomly generated hex value that identifies your web service request.
sub_resource string The sub-resource in the URI path from your original request to initiate this transaction. Indicates which form of verification you used.
errors array Contains an object for each error condition that resulted from the request.
status object
verify object
voice object
View JSON Schema on GitHub

JSON Schema

telesign-send-voice-code-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telesign/main/json-schema/telesign-send-voice-code-response-schema.json",
  "title": "sendVoiceCodeResponse",
  "x-generated": "2026-10-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telesign-voice-verify-api-openapi.yml#/components/schemas/sendVoiceCodeResponse",
  "allOf": [
    {
      "$ref": "#/$defs/sharedResSchema"
    },
    {
      "type": "object",
      "properties": {
        "verify": {
          "$ref": "#/$defs/verifyDetails"
        },
        "voice": {
          "$ref": "#/$defs/voiceDetails"
        }
      }
    }
  ],
  "$defs": {
    "errorObject": {
      "title": "errorObject",
      "type": "object",
      "properties": {
        "code": {
          "type": "integer",
          "description": "A numeric code specifying which error occurred."
        },
        "description": {
          "type": "string",
          "description": "Text describing the error that occurred."
        }
      },
      "description": "Contains properties related to an error that occurred during processing of the request."
    },
    "sharedResSchema": {
      "title": "sharedResSchema",
      "type": "object",
      "properties": {
        "reference_id": {
          "type": "string",
          "description": "A unique, randomly generated hex value that identifies your web service request."
        },
        "sub_resource": {
          "type": "string",
          "description": "The sub-resource in the URI path from your original request to initiate this transaction. Indicates which form of verification you used."
        },
        "errors": {
          "type": "array",
          "description": "Contains an object for each error condition that resulted from the request.",
          "items": {
            "$ref": "#/$defs/errorObject"
          }
        },
        "status": {
          "$ref": "#/$defs/status"
        }
      }
    },
    "status": {
      "title": "status",
      "type": "object",
      "description": "Contains details about the request status.",
      "properties": {
        "code": {
          "type": "integer",
          "description": "A numeric code indicating the processing status of this request."
        },
        "description": {
          "type": "string",
          "description": "A text description of the status code."
        },
        "updated_on": {
          "type": "string",
          "description": "An [RFC 3339](http://www.ietf.org/rfc/rfc3339.txt) timestamp indicating when the request status was updated. "
        }
      },
      "required": [
        "code",
        "description",
        "updated_on"
      ]
    },
    "verifyDetails": {
      "title": "verifyDetails",
      "type": "object",
      "description": "Contains properties about the status of the verification attempt by the end user (if any).",
      "properties": {
        "code_state": {
          "type": "string",
          "enum": [
            "VALID",
            "INVALID",
            "UNKNOWN",
            "EXPIRED",
            "MAX_ATTEMPTS_EXCEEDED"
          ],
          "description": "Indicates whether the verification code you provided in your request matches that sent by Telesign to the end-user. Possible values are: \n* `VALID` - The codes match. \n* `INVALID` - The codes do not match.\n* `EXPIRED` - The match was attempted after the end of the validity period for the code.\n* `MAX_ATTEMPTS_EXCEEDED` - The match was attempted after the end user already had made the maximum allowed number of attempts for the code.\n* `UNKNOWN` - Any other state."
        },
        "code_entered": {
          "type": "string",
          "description": "If the end user entered a code, what they entered is provided here."
        }
      },
      "required": [
        "code_state",
        "code_entered"
      ]
    },
    "voiceDetails": {
      "title": "voiceDetails",
      "type": "object",
      "properties": {
        "caller_id": {
          "type": "string",
          "description": "The [sender ID](https://support.telesign.com/s/article/What-is-a-Sender-ID) used for the call."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/telesign-send-voice-code-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.