Before you contact us
Most problems can be diagnosed from the response itself.
- Did you get a status code? If not, there’s probably a network problem between your server and ours. Check firewalls, proxies, DNS and outbound HTTPS from your server.
- Read the response body. Error responses explain what’s wrong, including which field failed. See Errors.
- Check per-message errors. A send can succeed while individual messages are rejected. Look at
data.errorsand theerror_helpfor each. See Per-message errors. - Reproduce it with curl. Run the failing request with
curl, using the examples in the API reference. If curl works but your code doesn’t, compare the two requests. - Check your credentials. Call Get account details to confirm your API key works.
Still got problems?
Raise a ticket at https://support.touchsms.com.au/ or email support@touchsms.com.au. Include the details below so we can help quickly.
Accepted formats:
- a curl command, with its output,
- a HAR (HTTP Archive) file,
- the raw HTTP request and response.
Ticket template
Copy this into your ticket and fill it in:
API endpoint:
e.g. POST /v2/sms
Language:
e.g. PHP, C#, Node.js
Using a library or package? (Y/N, which one):
What are you trying to do?
e.g. Send an SMS to a customer with a custom sender ID.
What error are you getting? Include the full response body.
e.g. RECIPIENT_OPTED_OUT
Request/response capture (curl, HAR or raw HTTP):
Relevant source code (if possible):