-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcurl
28 lines (27 loc) · 785 Bytes
/
curl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* Sending SMS to single number */
```curl
curl -X POST https://gateway.standingtech.com/api/v3/sms/send \
-H 'Authorization: Bearer 49|LNFe8WJ7CPtvl2mzowAB4ll4enbFR0XGgnQh2qWY' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"recipient":"9647xxxxxxxxx",
"sender_id":"SenderID",
"type":"plain",
"message":"This is a test message"
}'
```
```curl
/*Sending SMS to multiple numbers */
curl -X POST https://gateway.standingtech.com/api/v3/sms/send \
-H 'Authorization: Bearer 49|LNFe8WJ7CPtvl2mzowAB4ll4enbFR0XGgnQh2qWY' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"recipient":"9647xxxxxxxxx,9647xxxxxxxxx",
"sender_id":"SenderID",
"type":"plain",
"message":"This is a test message",
"schedule_time=2021-12-20 07:00"
}'
```