Skip to main content

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"
}
FieldTypeDescription
channelstringAlways "SMS"
eventTypestringAlways "DELIVERY"
messageIdstringmessageId of the send response
destinationstringRecipient number
statusCodeinteger3 = delivered; failures: 2 = rejected, 4 = expired, 5 = deleted, 6 = undeliverable
descriptionstringStatus description, in lowercase (e.g. delivered)
pricenumberMessage cost
numPartintegerDelivered part number
totalPartsintegerTotal parts of the concatenated message
eventDatestringISO 8601 date and time of the event

Authentication​

API Key provided by Qlara

Security Scheme Type:

apiKey

Header parameter name:

X-Api-Key

Contact

Qlara:

URL: https://qlara.ai