Skip to main content

API Reference

Quick guideโ€‹

The Platform API manages your campaigns and everything around them: the templates, senders and contact lists they use, the inbox, media, reports and webhooks.

  • Address: https://api.qlara.ai/api/partner-gateway. The template endpoints, the single sends (SMS, RCS, WhatsApp and email) and the download of inbound media are served by the messaging API, under https://api.qlara.ai/api: every endpoint page shows its full address. The section pages write short paths: one that starts with /message-server or /files is relative to the messaging API's address, every other one to the Platform API's.
  • Authentication: send your API key in the X-Api-Key header. On the Platform API a key opens only the sections listed in its operations: see API keys and Authentication.
  • One section per channel: SMS, RCS, WhatsApp and Email each hold everything that channel needs: its senders, its templates, its campaigns and its single sends, one message per call (SMS, RCS, WhatsApp), with the delivery status and the history of the messages sent that way. The campaign endpoints are the same for SMS, RCS and WhatsApp: each channel has its own copy, with the fields and the examples of that channel only.
  • Typical flow: open the section of your channel, choose a sender and, for RCS and WhatsApp, a template, prepare a contact list, then create and confirm a campaign and follow it.

The API overview, the first card above, covers what all sections share: request identifiers, delivery statuses and HTTP status codes. API conventions, the second, covers what holds for every call: pagination, error bodies, retries and rate limits.