Properties
| Name | Type | Description |
|---|---|---|
| id | string | OTP ID to use with the verify and get endpoints |
| phone_number | string | Destination the code was sent to, in E.164 format |
| country_code | string | ISO 3166-1 alpha-2 country code derived from the number |
| credit_cost | integer | Credits consumed by this send |
| status | string | Always `pending`. Delivery happens asynchronously |
| code_length | integer | Number of digits in the generated code |
| expires_at | string | After this instant the code can no longer be verified |
| created_at | string | |
| channel | string | Channel(s) this OTP was queued on. `both` means SMS and WhatsApp legs were charged together. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/robase-dev/json-schema/robase-dev-send-otpresponse-schema.json",
"title": "SendOTPResponse",
"x-generated": "2026-10-31",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/robase-dev-openapi.yaml#/components/schemas/SendOTPResponse",
"type": "object",
"required": [
"id",
"phone_number",
"country_code",
"credit_cost",
"status",
"code_length",
"expires_at",
"created_at"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "OTP ID to use with the verify and get endpoints"
},
"phone_number": {
"type": "string",
"description": "Destination the code was sent to, in E.164 format"
},
"country_code": {
"type": "string",
"description": "ISO 3166-1 alpha-2 country code derived from the number"
},
"credit_cost": {
"type": "integer",
"description": "Credits consumed by this send"
},
"status": {
"type": "string",
"enum": [
"pending"
],
"description": "Always `pending`. Delivery happens asynchronously"
},
"code_length": {
"type": "integer",
"description": "Number of digits in the generated code"
},
"expires_at": {
"type": "string",
"format": "date-time",
"description": "After this instant the code can no longer be verified"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"channel": {
"type": "string",
"enum": [
"sms",
"whatsapp",
"both"
],
"description": "Channel(s) this OTP was queued on. `both` means SMS and WhatsApp\nlegs were charged together.\n"
}
}
}
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/robase-dev-send-otpresponse"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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.