Send SMS
This page outlines how to use the API to send SMS.
Send message
curl --location 'https://api.ebbot.ai/sms/v1' \
--header 'x-api-key: your_api_key' \
--header 'Content-Type: application/json' \
--data '{"from": "The Company", "to": "+1234567", "text": "This is a message!"}'import requests
import json
url = "https://api.ebbot.ai/sms/v1"
payload = json.dumps({
"from": "The Company",
"to": "+1234567",
"text": "This is a message!"
})
headers = {
'x-api-key': 'your_api_key',
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)Name
Type
Description
Headers
Name
Type
Description
{
"MessageId": [
"5ec1dcbf-01ac-4322-9d20-a4284693f7a"
]
}Last updated
Was this helpful?

