There can be different reasons behind your API not working properly. We provide error codes according to the reason of API failure.
On hitting the API, if you face any issue, you can debug the API in the following manner:
Check the response received on calling the API.
If a Request ID is generated on hitting the API, this means that your SMS is successfully submitted to C2sms. If your message gets failed due to any problem with API you can find the reason for the failure in the failed API section.
An error will be displayed instead of request ID* if your SMS is not submitted successfully. You can find the reason behind it in our list of error codes and remove the error accordingly.
You may contact our support for any related query.