Skip to main content

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:

FileSizeBest for
/llms.txt~9 KBQuick questions: "What endpoints are available?", "How does auth work?"
/llms-full.txt~145 KBCode generation: "Write a Python script that creates and confirms an SMS campaign", "Build a webhook handler"
When to use which

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.

Campaigns for many recipients

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​

  1. Download llms-full.txt
  2. Go to claude.ai and create a new Project
  3. In the project knowledge, upload the file
  4. Start asking questions about the Qlara API
Claude Code

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​

  1. Go to ChatGPT → GPTs → Create
  2. Download llms-full.txt and upload it as a Knowledge file
  3. 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.

  4. Save and use your custom GPT

GitHub Copilot / Cursor​

  1. Download llms-full.txt
  2. Place it in your project root and rename it to qlara-api-docs.md
  3. Add it to the chat context when you ask about the Qlara API: #file:qlara-api-docs.md in GitHub Copilot Chat, @qlara-api-docs.md in 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​

CategoryExample promptWhat 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
Email"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:

SectionEndpointsWhat's documented
API Reference › API keys4Create, list, inspect and delete keys; their operations, including the channel operations that open the campaigns of their channel
API Reference › SMS14SMS senders, SMS campaigns and single SMS sends (SMS Universal), with their delivery status and history
API Reference › RCS21RCS agents, RCS templates (TEXT, CARD, CAROUSEL), RCS campaigns and single RCS sends, with their delivery status and history
API Reference › WhatsApp23WhatsApp phone numbers, Meta-approved templates, WhatsApp campaigns and single WhatsApp sends, with their delivery status and history
API Reference › Email9One email to one recipient; email senders and email campaigns
API Reference › Contacts7Create, find, update and delete contacts; CSV, Excel and vCard import
API Reference › Contact lists9Lists, adding and removing contacts, list members
API Reference › Exports6Exports of contacts, delivery reports and send history, download links
API Reference › Inbox6Conversations, their messages, replies, read and archive
API Reference › Conversation assignment4Assignable users, assign and unassign conversations
API Reference › Media5Upload, list, read and delete media; download inbound media files
API Reference › Social profiles2Connected social accounts (read-only)
API Reference › Subscription2Active subscription and credit
API Reference › Webhooks4Delivery-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:

ToolHow to update
Claude ProjectsRe-download llms-full.txt and replace the file in the project knowledge
Claude CodeRun the same curl again: the @ import reads the file at the next session
ChatGPTRe-download and re-upload llms-full.txt
Copilot / CursorRun: curl -s "https://qlara.ai/documentation/llms-full.txt" > qlara-api-docs.md
Custom integrationFetch the URL at startup or on a schedule

Check the Changelog for the latest API updates.

Resources​

ResourceLink
llms.txt (overview)/llms.txt
llms-full.txt (complete)/llms-full.txt
API ReferenceSections by channel
Postman CollectionsOne complete, one per section
Use Cases23 end-to-end scenarios, by channel
ChangelogLatest updates