Send SMS
With Variable
Send SMS
With Variable
POST
/
api
/
v1
/
sms
/
send
/
with
/
variable
curl --request POST \
--url https://eazymsg.com/api/v1/sms/send/with/variable \
--header 'Content-Type: application/json' \
--data '{
"templateId": "TMP50174B02F",
"groupId": "TG58999",
"method": "group",
"authKey": "{{key}}",
"var1": "Anil",
"var2": "123432"
}'
{
"code": "0x0200",
"message": "SMS Submitted Successfully",
"status": "SUCCESS",
"data": {
"requestId": "6672d58e329370db2e8b4651"
}
}
Body
application/json ยท object
Response
200
application/json
OK
The response is of type object
.
curl --request POST \
--url https://eazymsg.com/api/v1/sms/send/with/variable \
--header 'Content-Type: application/json' \
--data '{
"templateId": "TMP50174B02F",
"groupId": "TG58999",
"method": "group",
"authKey": "{{key}}",
"var1": "Anil",
"var2": "123432"
}'
{
"code": "0x0200",
"message": "SMS Submitted Successfully",
"status": "SUCCESS",
"data": {
"requestId": "6672d58e329370db2e8b4651"
}
}