AI Integration
Qlara Platform provides machine-readable documentation designed for AI assistants. Whether you use ChatGPT, Claude, Gemini, GitHub Copilot, Cursor, or any other LLM, you can feed our API docs directly to your tool and get accurate, context-aware code generation.
How It Works
Machine-Readable Endpoints
We follow the llms.txt standard to provide structured documentation optimized for AI consumption:
| File | Size | Best for |
|---|---|---|
/llms.txt | ~9 KB | Quick questions: "What endpoints are available?", "How does auth work?" |
/llms-full.txt | ~145 KB | Code generation: "Write a Python script that creates and confirms an SMS campaign", "Build a webhook handler" |
llms.txt is a lightweight overview — great for quick lookups and when you have token limits.
llms-full.txt summarises every endpoint with its main parameters, schemas, examples, and error codes — use it when you need the AI to generate production-ready code. The complete list of parameters of each endpoint is in the API Reference, whose sections follow the channels: SMS, RCS, WhatsApp, Email, then the features they share.
Both files tell your assistant to send SMS, RCS and WhatsApp to many recipients through campaigns, and to use the single sends (SMS Universal, RCS, WhatsApp) for one message to one recipient. If an answer loops over single sends to reach a list, ask for a campaign instead.
Setup Guide
Claude Projects
- Download
llms-full.txt - Go to claude.ai and create a new Project
- In the project knowledge, upload the file
- Start asking questions about the Qlara API
If you use Claude Code, save the file in your repository (curl -s "https://qlara.ai/documentation/llms-full.txt" > qlara-api-docs.md) and import it from your project's CLAUDE.md with a line @qlara-api-docs.md: Claude Code loads it at the start of every session. A plain URL in CLAUDE.md is not fetched by itself.
ChatGPT Custom GPTs
- Go to ChatGPT → GPTs → Create
- Download
llms-full.txtand upload it as a Knowledge file - In Instructions, add:
You are an expert on the Qlara Platform API for multi-channel messaging (SMS, RCS, WhatsApp, email). Use the uploaded knowledge file to answer questions accurately. SMS, RCS and WhatsApp messages to many recipients go through campaigns, and an email to many recipients through email campaigns; the single sends are for one message to one recipient. Always provide complete curl examples with the correct base URL.
- Save and use your custom GPT
GitHub Copilot / Cursor
- Download
llms-full.txt - Place it in your project root and rename it to
qlara-api-docs.md - Add it to the chat context when you ask about the Qlara API:
#file:qlara-api-docs.mdin GitHub Copilot Chat,@qlara-api-docs.mdin Cursor
# Quick setup
curl -s "https://qlara.ai/documentation/llms-full.txt" > qlara-api-docs.md
Any LLM via API
Fetch the documentation and include it in your system prompt:
import requests
# Fetch Qlara API docs
docs = requests.get("https://qlara.ai/documentation/llms-full.txt").text
# Use with any LLM (OpenAI, Anthropic, Google, etc.)
messages = [
{"role": "system", "content": f"You are a Qlara API expert. Reference:\n{docs}"},
{"role": "user", "content": "Write a Python function that sends an SMS campaign to a contact list"}
]
What Your AI Can Build
Once your AI assistant has the Qlara documentation, it can help with real integration tasks:
Example prompts
| Category | Example prompt | What you get |
|---|---|---|
| Messaging | "Write a Python function that sends an SMS campaign to a contact list and reports its delivery" | Campaign create, price check and confirm, then delivery counters from GET /campaigns/{id} |
| Campaigns | "Create a Node.js script to import 10,000 contacts from CSV and send a campaign" | End-to-end workflow with CSV parsing, contact creation, and campaign management |
| Webhooks | "Build an Express.js webhook handler for inbound replies and delivery notifications" | Server with INBOUND, DELIVERY and READ event handling (campaign messages send no DELIVERY or READ events) |
| Templates | "Generate a WhatsApp template with tracked links and buttons" | Template creation + Meta approval flow + campaign example |
| Multi-channel | "Write a Go service that sends an RCS → WhatsApp → SMS campaign" | Campaign with sendingMode RCS_WHATSAPP_SMS and per-channel counters |
| "Write a script that sends our newsletter to a contact list and reports opens and clicks" | Email campaign: verified sender, create, price check and confirm, then the counters from GET /campaigns/email/{id} | |
| API keys | "Create an API key that can manage only our SMS campaigns" | POST /authentication with the SMS operation and without CAMPAIGNS: the key opens the SMS senders and the SMS campaigns only |
| Debugging | "My API returns 401 — what's wrong?" | Authentication troubleshooting with specific header format |
API Coverage
The documentation files cover all 92 endpoints, in the same sections as the sidebar of this documentation:
| Section | Endpoints | What's documented |
|---|---|---|
| API Reference › API keys | 4 | Create, list, inspect and delete keys; their operations, including the channel operations that open the campaigns of their channel |
| API Reference › SMS | 14 | SMS senders, SMS campaigns and single SMS sends (SMS Universal), with their delivery status and history |
| API Reference › RCS | 21 | RCS agents, RCS templates (TEXT, CARD, CAROUSEL), RCS campaigns and single RCS sends, with their delivery status and history |
| API Reference › WhatsApp | 23 | WhatsApp phone numbers, Meta-approved templates, WhatsApp campaigns and single WhatsApp sends, with their delivery status and history |
| API Reference › Email | 9 | One email to one recipient; email senders and email campaigns |
| API Reference › Contacts | 7 | Create, find, update and delete contacts; CSV, Excel and vCard import |
| API Reference › Contact lists | 9 | Lists, adding and removing contacts, list members |
| API Reference › Exports | 6 | Exports of contacts, delivery reports and send history, download links |
| API Reference › Inbox | 6 | Conversations, their messages, replies, read and archive |
| API Reference › Conversation assignment | 4 | Assignable users, assign and unassign conversations |
| API Reference › Media | 5 | Upload, list, read and delete media; download inbound media files |
| API Reference › Social profiles | 2 | Connected social accounts (read-only) |
| API Reference › Subscription | 2 | Active subscription and credit |
| API Reference › Webhooks | 4 | Delivery-status webhook: configure, read, update, revoke |
SMS, RCS and WhatsApp share the 9 campaign endpoints and the 3 delivery-status and history endpoints of their single sends: each section has its own copy of their pages, with the fields and the examples of its channel. That is why the sections add up to 116 pages for 92 endpoints.
For the interactive API Reference with "Try it", see the API Reference.
Keep Your AI Up to Date
The llms.txt files are updated with every release. Here's how to stay current:
| Tool | How to update |
|---|---|
| Claude Projects | Re-download llms-full.txt and replace the file in the project knowledge |
| Claude Code | Run the same curl again: the @ import reads the file at the next session |
| ChatGPT | Re-download and re-upload llms-full.txt |
| Copilot / Cursor | Run: curl -s "https://qlara.ai/documentation/llms-full.txt" > qlara-api-docs.md |
| Custom integration | Fetch the URL at startup or on a schedule |
Check the Changelog for the latest API updates.
Resources
| Resource | Link |
|---|---|
| llms.txt (overview) | /llms.txt |
| llms-full.txt (complete) | /llms-full.txt |
| API Reference | Sections by channel |
| Postman Collections | One complete, one per section |
| Use Cases | 23 end-to-end scenarios, by channel |
| Changelog | Latest updates |