In your API usage, every request is returned as JSON data.
Each JSON data contains the status parameter. If the status parameter is ok, your request is successful, if it is fail, your request is unsuccessful.
Each failed request contains an errCode and a message parameter.
If you wish, you can create your own error messages according to the errCode parameter in the returned data.
| Error Code | Message |
|---|---|
| ERROR CODES RELATED TO YOUR SERVICE | |
| 100 | Unauthorized (API key not sent or incorrect.) |
| 101 | Invalid WhatsApp number. You must send your WhatsApp number with area code in API URL. |
| 102 | Your WhatsApp number or API key (wapikey) is incorrect. |
| 103 | Your service is inactive. |
| 104 | Your service has not been set up yet. You need to complete the setup of your service from your control panel. |
| 105 | Your service is busy right now. It will be active in 1-2 minutes. |
| 106 | Your service has expired. You can renew your service from your control panel. |
| 107 | Your API access is restricted. You can enable API access from your control panel. |
| 108 | API access is not allowed from this IP address. You must add your IP address as allowed IP from your control panel. |
| 109 | Service repair failed. You must scan the QR code again. |
| FAULT CODES RELATED TO CONTACT, CHANNEL AND BLACK LIST | |
| 201 | An error occurred with your request. When you get this error, you can contact our support team. |
| 202 | You must enter at least 1 number. |
| 203 | Your package does not support WhatsApp contacts. |
| 204 | Your package does not support WhatsApp channel messaging. |
| ERROR CODES RELATED TO MESSAGE SEND AND MESSAGE STATUS | |
| 301 | Invalid message type. |
| 302 | You must enter at least 1 number. |
| 303 | Sending interval cannot be less than 1 second. |
| 304 | Invalid URL. |
| 305 | Message cannot be empty. |
| 306 | An error occurred with your request. When you get this error, you can contact our support team. |
| 307 | Invalid request. You can contact our support team when you get this error. |
| 308 | Your package does not support sending text messages. |
| 309 | Your package does not support sending visual messages. |
| 310 | Your package does not support sending document messages. |
| 311 | Your package does not support sending voice messages. |
| 312 | Invalid ID. |
| 313 | Invalid Channel ID. |
| GENERAL ERROR CODES | |
| 999 | There is a temporary problem with your service. Please call repair service. If the problem persists, contact support. |