Fast2SMS API will return 200 response code on success & return 400 or 401 when an error occurs. In return you'll get different types of status code listed below:
| Response Code | Status Code | Message |
|---|---|---|
| 400 | 401 | Sender ID Missing |
| 400 | 402 | Message Text Missing |
| 400 | 403 | Route Missing |
| 400 | 404 | Language Missing |
| 400 | 405 | Numbers Missing |
| 400 | 406 | Invalid Sender ID |
| 400 | 407 | Invalid words used in message |
| 400 | 408 | Invalid Route |
| 400 | 409 | Invalid Route Authentication |
| 400 | 410 | Invalid Language |
| 400 | 411 | Invalid Numbers |
| 401 | 412 | Invalid Authentication, Check Authorization Key |
| 401 | 413 | Invalid Authentication, Authorization Key Disabled |
| 400 | 414 | IP is blacklisted from Dev API section |
| 400 | 415 | Account Disabled |
| 400 | 416 | You don't have sufficient wallet balance |
| 400 | 417 | Use english letters or change language to unicode |
| 400 | 424 | Invalid Message ID |
| 400 | 425 | Invalid Template |
| 400 | 426 | Invalid link used in variables |
| 400 | 500 | Template/Sender id blacklisted at DLT |
| 400 | 990 | You're hitting old API. Refer updated documentation |
| 400 | 995 | Spamming detected (sending multiple SMS to same number is not allowed) |
| 400 | 996 | Before using OTP SMS API, complete KYC. |
| 400 | 997 | Only numeric variable_values is allowed in OTP route |
| 400 | 998 | Use DLT or Quick SMS route for sending Bulk SMS |
| 400 | 999 | Complete single transaction of minimum 100 INR in Fast2SMS wallet before using API |
