---
updatedAt: 2026-04-15T08:31:50.000Z
agentTools:
  projectIndex: https://developers.dexatel.com/llms.txt
---

# Send verification message

<br />

<TitleSetter title="Send Telegram Verification | Dexatel API" />

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Telegram Verify APIs",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.dexatel.com",
      "description": "Server base url"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/v1/verifications": {
      "post": {
        "tags": [
          "Telegram Verifications"
        ],
        "summary": "Send verification message",
        "operationId": "telegram-create-verification",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VerificationPostRequestWrapperDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationPostResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "<p> <strong>Bad Request:</strong> </p> <table> <tr> <th>Code</th> <th>Message</th> <th>Description</th> </tr> <tr> <td>1523</td> <td>Invalid recipient number(s)</td> <td></td> </tr> <tr> <td>1621</td> <td>'phone' is missing</td> <td></td> </tr> <tr> <td>1623</td> <td>Invalid code length</td> <td>The code length should be minimum 4 and maximum 8.</td> </tr> <tr> <td>1629</td> <td>Provide either 'data.code' or 'data.code_length' but not both</td> <td></td> </tr> <tr> <td>1631</td> <td>When 'data.channel' is not VOICE 'data.code' must be valid and 4 to 8 characters long</td> <td></td> </tr> <tr> <td>1632</td> <td>'data.code' should be numeric if provided</td> <td></td> </tr> <tr> <td>1640</td> <td>'data.ttl_in_seconds' must be numeric</td> <td></td> </tr> <tr> <td>1648</td> <td>'data.phone' must be E164 format for the telegram channel</td> <td></td> </tr> <tr> <td>1649</td> <td>'data.ttl_in_seconds' must be between 60 and 86400 seconds for Telegram</td> <td></td> </tr> <tr> <td>1705</td> <td>Invalid payload</td> <td></td> </tr> </table>"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "VerificationPostResponseDto": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "format": "uuid",
                "description": "The unique identifier of the account"
              },
              "message_id": {
                "type": "string",
                "format": "uuid",
                "description": "The unique identifier of the message"
              },
              "phone": {
                "type": "string",
                "description": "Recipients phone number"
              },
              "create_date": {
                "type": "string",
                "format": "date-time",
                "description": "Creation date of the verification in UTC, formatted as yyyy-mm-dd hh:mm:ss"
              },
              "expire_date": {
                "type": "string",
                "format": "date-time",
                "description": "Expiration date of the verification in UTC, formatted as yyyy-mm-dd hh:mm:ss"
              }
            }
          }
        }
      },
      "VerificationPostRequestWrapperDto": {
        "type": "object",
        "required": [
          "data"
        ],
        "properties": {
          "data": {
            "$ref": "#/components/schemas/VerificationVoicePostRequestDto"
          }
        }
      },
      "VerificationVoicePostRequestDto": {
        "title": "Telegram Verifications",
        "type": "object",
        "required": [
          "channel",
          "phone"
        ],
        "properties": {
          "channel": {
            "type": "string",
            "enum": [
              "TELEGRAM"
            ],
            "description": "The channel of verification message 'telegram'"
          },
          "phone": {
            "type": "string",
            "description": "Phone number as digits without spaces or special characters, beginning with the country dialing code"
          },
          "code_length": {
            "type": "number",
            "minimum": 4,
            "maximum": 8,
            "description": "The length of the code, which falls within the range of 4 to 8 characters. At least one of the following is required: 'code_length' or 'code'."
          },
          "code": {
            "type": "string",
            "minLength": 4,
            "maxLength": 8,
            "description": "The 'code' field accepts only digits and must be between 4 to 8 characters in length. At least one of the following is required: 'code_length' or 'code'."
          },
          "ttl_in_seconds": {
            "type": "number",
            "default": 60,
            "minimum": 60,
            "maximum": 86400,
            "description": "For 'TELEGRAM' channel ttl(time to live) must be between 60 to 86400 seconds, default is 60 seconds"
          },
          "number_formatting": {
            "type": "boolean",
            "description": "Defaults to true. If provided, leading 0 after the country code and before the network code will be removed."
          },
          "payload": {
            "type": "string",
            "maxLength": 500,
            "description": "The value provided with this parameter will be sent back to the client through the Webhook URL."
          }
        }
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Dexatel-Key"
      }
    }
  }
}
```