Send sms
curl --request POST \
--url https://api.bondio.co/v2/subscriptions/{xid}/send-sms \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"senderText": "<string>",
"messageText": "<string>"
}
'import requests
url = "https://api.bondio.co/v2/subscriptions/{xid}/send-sms"
payload = {
"senderText": "<string>",
"messageText": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({senderText: '<string>', messageText: '<string>'})
};
fetch('https://api.bondio.co/v2/subscriptions/{xid}/send-sms', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));SubscriptionV2
Send sms
POST
/
v2
/
subscriptions
/
{xid}
/
send-sms
Send sms
curl --request POST \
--url https://api.bondio.co/v2/subscriptions/{xid}/send-sms \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"senderText": "<string>",
"messageText": "<string>"
}
'import requests
url = "https://api.bondio.co/v2/subscriptions/{xid}/send-sms"
payload = {
"senderText": "<string>",
"messageText": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({senderText: '<string>', messageText: '<string>'})
};
fetch('https://api.bondio.co/v2/subscriptions/{xid}/send-sms', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
