Properties
| Name | Type | Description |
|---|---|---|
| to | string | Recipient in E.164. |
| template | string | Approved authentication-category template name. |
| language | string | Template language. Default: `en`. |
| code_length | integer | Digits in the code, 4–8. Default: setting `otp.default_code_length` (6). |
| ttl_seconds | integer | Seconds until the code expires, 60–5400. Default: setting `otp.default_ttl_seconds` (300). |
| max_attempts | integer | Wrong codes allowed before the request is locked, 1–10. Default: setting `otp.default_max_attempts` (5). |
| purpose | string | What the code is for. Default: `generic`. |
| from | string | Which of your workspace numbers sends the code. |
| from_phone_number_id | string | Alias of `from` kept for integrations written before Oct 2026. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/whatsarab-com/json-schema/whatsarab-com-post-api-otp-send-request-schema.json",
"title": "PostApiOtpSendRequest",
"x-generated": "2026-11-22",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_ae-authored/whatsarab-com-openapi-generated.yml#/components/schemas/PostApiOtpSendRequest",
"type": "object",
"properties": {
"to": {
"type": "string",
"description": "Recipient in E.164."
},
"template": {
"type": "string",
"description": "Approved authentication-category template name."
},
"language": {
"type": "string",
"description": "Template language. Default: `en`."
},
"code_length": {
"type": "integer",
"description": "Digits in the code, 4–8. Default: setting `otp.default_code_length` (6)."
},
"ttl_seconds": {
"type": "integer",
"description": "Seconds until the code expires, 60–5400. Default: setting `otp.default_ttl_seconds` (300)."
},
"max_attempts": {
"type": "integer",
"description": "Wrong codes allowed before the request is locked, 1–10. Default: setting `otp.default_max_attempts` (5)."
},
"purpose": {
"type": "string",
"description": "What the code is for. Default: `generic`."
},
"from": {
"type": "string",
"description": "Which of your workspace numbers sends the code."
},
"from_phone_number_id": {
"type": "string",
"description": "Alias of `from` kept for integrations written before Oct 2026."
}
},
"required": [
"to",
"template"
]
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/whatsarab-com-post-api-otp-send-request"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.