curl --request POST \ --url https://api.withallo.com/v1/api/sms \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "from": "+1234567890", "to": "+0987654321", "message": "Hello, this is a test message"}'
Copier
{ "data": { "from_number": "+1234567890", "to_number": "+0987654321", "type": "OUTBOUND", "content": "Hello, this is a test message", "start_date": "2024-01-15T10:30:00" } }
SMS
Envoyer un SMS
Send an SMS message to a phone number using one of your Allo phone numbers.
POST
/
v1
/
api
/
sms
Send SMS
Copier
curl --request POST \ --url https://api.withallo.com/v1/api/sms \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "from": "+1234567890", "to": "+0987654321", "message": "Hello, this is a test message"}'
Copier
{ "data": { "from_number": "+1234567890", "to_number": "+0987654321", "type": "OUTBOUND", "content": "Hello, this is a test message", "start_date": "2024-01-15T10:30:00" } }