Skip to main content

Postman Collections

Import our ready-to-use Postman collections to start testing the API immediately. They are generated from the same OpenAPI specs as the API Reference and follow its sidebar: same sections, same order, same names. Every endpoint has one request, with its examples.

You can pick either:

  • the complete collection, with every endpoint, in the folders of the documentation sidebar
  • one collection per section, when you only need one channel or one feature

The content is the same: a section collection is a folder of the complete one.

How to import​

  1. Download the .json file of the collection you need
  2. Open Postman and click Import (top left)
  3. Drag the file or click Upload Files
  4. Set your API key, as described below

Setting your API key​

Every collection is already set up: it authenticates each request with the X-Api-Key header, filled from the apiKey variable, and its baseUrl variable points at https://api.qlara.ai. You only need to set the key:

  1. Click the collection name in the sidebar
  2. Open the Variables tab
  3. Replace YOUR_API_KEY in the Current value of apiKey with your API key, then save
Tip

Using several collections? Create a Postman Environment with an apiKey variable: an environment variable wins over the collection's own, so one value serves every collection. If you also set baseUrl there, leave out /api: the request paths of every collection already start with /api.

Complete collection​

CollectionWhat it coversDownload
Qlara API (complete)Every endpoint, in the folder API Reference, with its sections as subfoldersDownload JSON

Collections by section​

Each channel section holds everything of that channel: its senders, its templates, its campaigns and its single sends, one message per call, with their delivery status and history. The campaign requests are written for their channel: the SMS collection creates an SMS campaign, the RCS one an RCS campaign.

CollectionWhat it coversDownload
API keysCreate, list, inspect and delete API keysDownload JSON
SMSSMS senders; SMS campaigns: create, price, confirm, follow, delete; single SMS sends with SMS Universal, their delivery status and historyDownload JSON
RCSRCS agents, RCS templates, RCS campaigns; single RCS sends, their delivery status and historyDownload JSON
WhatsAppWhatsApp phone numbers, WhatsApp templates, WhatsApp campaigns; single WhatsApp sends, their delivery status and historyDownload JSON
EmailSingle email send, email senders and email campaignsDownload JSON
ContactsCreate, find, update and delete contacts; import CSV, Excel and vCard filesDownload JSON
Contact listsCreate and manage lists, add and remove contactsDownload JSON
ExportsExport contacts, delivery reports and send history; download the filesDownload JSON
InboxConversations, their messages, replies, read and archiveDownload JSON
Conversation assignmentAssign conversations to team membersDownload JSON
MediaUpload, list and delete media; download WhatsApp inbound mediaDownload JSON
Social profilesConnected social profilesDownload JSON
SubscriptionActive subscription and credit balanceDownload JSON
WebhooksThe delivery-status webhookDownload JSON