Send SMS Documentation
Send SMS
v1.0Moving to v2
Send SMS
v1.0Moving to v2
This API is moving to v2
All SparkTG APIs are moving to API v2, with signed API tokens instead of a username and password. This one will follow soon; until then, use it on v1 as documented here.
Moving to API v2Send SMS
Send text messages
Messaging & Verificationv1.01 Endpoint
Overview
SMS : POST : /send-sms
Available Endpoints
POST
/send-smsKey Parameters
number(Integer)Number on which SMS is to be sent
message(String)Desired message
service-id(Integer)Id of the service
country-code(Integer)Country Code of the number on which SMS is to be sent
Quick Example
Try this API with a simple cURL command
Basic API Call
curl -i -u "username:password" "https://telephonycloud.co.in/api/v1/send-sms" -d "number=9999999999&message=hello&service-id=1"💡 Replace username:password with your actual credentials
Response Preview
Sample response from this API
Sample Response
0a83b9e6-50b7-48c8-a3c5-2e8f7d60e1aeView complete response format in Response section
