v1

latestOpenAPI 3.0.32026-07-264955102.7 KB
SMS

Send SMS (France)

Send an SMS message to a French phone number using a verified Sender ID. The Sender ID must be verified by the Allo team before use. Contact support to register your Sender ID.

post/v1/api/sms#france

Request body

sender_idstring required

Your verified Sender ID (must be verified by the Allo team). This is an alphanumeric identifier that will appear as the sender of the SMS.

tostring required

Recipient phone number in France (E.164 format, must start with +33)

messagestring required

Message content

Example request

{
  "sender_id": "MyCompany",
  "to": "+33612345678",
  "message": "Bonjour, ceci est un message de test"
}

Response

SMS sent successfully

Example response

{
  "data": {
    "from_number": "+1234567890",
    "sender_id": "MyCompany",
    "to_number": "+0987654321",
    "content": "Hello, this is a test message",
    "start_date": "2024-01-15T10:30:00"
  }
}