- HTTP specifications TextLocal API accepts input in application/x-www-form-urlencoded format.
POST /send/ HTTP/1.1
Host: api.textlocal.in
Content-Type: application/x-www-form-urlencoded
Accept: */*
apiKey=<your_API_key>&message=sent+by+me+from+textlocal+API&numbers=<phone_numbers_separated_by_commas>&test=true
Set test=true
for a trial API call if you don't want to incur charges.
- Postman
- Curl
curl -X POST \
http://api.textlocal.in/send/ \
-d 'apiKey=<your_API_key>&message=sent%20by%20me%20from%20textlocal%20API&numbers=<phone_numbers_separated_by_commas>&test=true'