Qlara SMS Universal API
REST API for sending SMS messages in Universal mode. Supports placeholders, automatic concatenation, UDH, scheduled sending, and delivery notifications.
One message per call. This API sends one SMS to one recipient per call. To send the same message to many recipients, use a campaign (
POST /api/partner-gateway/campaigns, on the Qlara Platform API).
Authentication
All requests require one of the following methods:
- API Key — Header
X-Api-Key: <api-key> - Basic Auth — Header
Authorization: Basic <base64(username:password)>
Main features
- Send SMS with alphanumeric or numeric sender
- Dynamic placeholder support in message text
- Automatic concatenation for long messages (multipart SMS)
- Custom UDH data for binary SMS
- Scheduled sending
- Dry run mode for testing
- Delivery notifications via webhook
Webhook — Delivery notifications
When enableNotification is enabled, the system sends HTTP POST callbacks to your URL configured in the platform.
Callback format
{
"channel": "SMS",
"eventType": "DELIVERY",
"messageId": "uuid",
"destination": "+393201234567",
"statusCode": 3,
"description": "delivered",
"price": 0.035,
"numPart": 1,
"totalParts": 1,
"eventDate": "2024-01-15T10:30:00Z"
}
| Field | Type | Description |
|---|---|---|
channel | string | Always "SMS" |
eventType | string | Always "DELIVERY" |
messageId | string | messageId of the send response |
destination | string | Recipient number |
statusCode | integer | 3 = delivered; failures: 2 = rejected, 4 = expired, 5 = deleted, 6 = undeliverable |
description | string | Status description, in lowercase (e.g. delivered) |
price | number | Message cost |
numPart | integer | Delivered part number |
totalParts | integer | Total parts of the concatenated message |
eventDate | string | ISO 8601 date and time of the event |
Authentication
- API Key: ApiKeyAuth
- HTTP: Basic Auth
API Key provided by Qlara
Security Scheme Type: | apiKey |
|---|---|
Header parameter name: | X-Api-Key |
Username/password credentials
Security Scheme Type: | http |
|---|---|
HTTP Authorization Scheme: | basic |
Contact Qlara: URL: https://qlara.ai