Skip to main content

Quick Start

Send your first message in less than 3 minutes.

Prerequisites

  • Active Qlara account
  • API Key (from the settings section of the platform)

1. Choose the channel

ChannelWhen to use it
SMSReach any phone, including non-smartphones
RCSRich messages with buttons and images (Android)
WhatsAppReach users on WhatsApp with approved templates

2. Send your first SMS

curl -X POST "https://lora-api.agiletelecom.com/api/message-server/sms/send" \
-H "X-Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"destination": "+393401234567",
"sender": "MyCompany",
"body": "Ciao! Questo è il tuo primo SMS."
}'

3. Send your first WhatsApp

curl -X POST "https://lora-api.agiletelecom.com/api/message-server/whatsapp/send" \
-H "X-Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"destination": "+393401234567",
"phoneNumberId": 5,
"template": { "id": 42 },
"enableNotification": true
}'

4. Send your first RCS

curl -X POST "https://lora-api.agiletelecom.com/api/message-server/rcs/send" \
-H "X-Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"destination": "+393401234567",
"agentId": 10,
"templateId": 42
}'

5. Verify the response

If everything went well, you will receive:

{
"messageId": "e76614d1-4ac1-4d94-89f0-d07f1b5a190c",
"simulation": false,
"results": {
"sms": { "accepted": true, "unicode": false, "parts": 1 }
}
}
caution

accepted: true means the message has been accepted for sending, not that it has been delivered. Delivery confirmation arrives via webhook (Delivery Notification).

Next steps

  • Configure your callback URL to receive delivery notifications
  • Explore templates for RCS and WhatsApp
  • Configure automatic fallback to ensure delivery