Send SMS
Send one SMS from an Aircall line to a phone number.
POST https://cotlet.dev/api/v1/aircall/messages
Sends a one-to-one SMS from the line you name, as Aircall Workspace does after Start conversation and Send message. Aircall allows SMS only for numbers in the US, Canada, UK, France, Australia, Germany, Austria, Belgium, Denmark, Finland, the Netherlands, Sweden, Poland and Ireland. Sender and recipient must be in the same country, except US to Canada. In the UK, France, Australia and Germany the line must be a mobile number. A line that cannot send SMS fails with that reason. Text only, no MMS. The message reaches a customer. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| line string required | string | Aircall line to send from, by name or number, as in list_calls. |
| to string required | string | Recipient phone number in international format. |
| body string required | string | Message text. |
Request
curl -X POST https://cotlet.dev/api/v1/aircall/messages \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"line":"Sales US","to":"+14155550142","body":"Hi Priya, sorry we missed your call. We will ring you back today."}' result = client.call("aircall", "send_message", {"line":"Sales US","to":"+14155550142","body":"Hi Priya, sorry we missed your call. We will ring you back today."}) const result = await cotlet.call('aircall', 'send_message', {"line":"Sales US","to":"+14155550142","body":"Hi Priya, sorry we missed your call. We will ring you back today."}); cotlet call aircall send_message --data '{"line":"Sales US","to":"+14155550142","body":"Hi Priya, sorry we missed your call. We will ring you back today."}' Example response
{
"message_id": "msg_30417",
"conversation_id": "conv_5521",
"line": "Sales US",
"to": "+14155550142",
"status": "sent",
"sent_at": "2026-10-23T08:20:11Z"
}