Full documentation for programmatic SMS dispatch, Android gateway telemetry, and OTP verification.
https://textora.firewallitsolution.com/api/v1
Create a free account to generate live API keys and test with instant free credits.
Get API Key →
Authenticate all API requests by providing your private API key in the standard Authorization HTTP request header.
Dispatches a single or multi-part SMS message. You can optionally route it through a specific self-number Android device or cloud gateway.
| Field | Type | Required | Description |
|---|---|---|---|
| recipient | string | YES | Recipient phone number in E.164 format (e.g., +15552349012). |
| message | string | YES | Text body of the SMS. Supports GSM-7 (160 chars) or Unicode (70 chars). |
| route_type | string | Optional | self_device (default) or cloud_gateway. |
| device_id | integer | Optional | ID of specific Android device. Defaults to primary active device. |
| sim_slot | string | Optional | SIM1, SIM2, or auto. |
{
"recipient": "+15552349012",
"message": "Your verification code is 849201",
"route_type": "self_device",
"sim_slot": "SIM1"
}
{
"success": true,
"message_id": 1042,
"status": "sent",
"recipient": "+15552349012",
"route_type": "self_device",
"device_id": 1,
"sim_slot": "SIM1",
"segments": 1,
"credits_remaining": 18499
}
Automatically generates a secure numeric OTP, saves the verification record with expiration timestamp, and transmits it via SMS in a single API call.
{
"phone": "+15552349012",
"length": 6,
"expiry_minutes": 10
}
Validates the OTP entered by an end-user. Returns success or expired/invalid code status.
{
"phone": "+15552349012",
"otp_code": "849201"
}