Docs
OverviewPlatformPlatform APIA2P Messaging API
AI & MCP
Open dashboard
OverviewPlatformPlatform APIA2P Messaging API
AI & MCP
  • Overview
  • Introduction
  • Create an account
  • Choose your API
  • Authentication
  • AI & MCP
Product API
  • Guide
  • Quickstart
    • API tokens
    • Connected apps (OAuth)
    • Project readiness
    • Channel readiness
    • Senders
    • Attention
    • Recommendations
    • Overview
    • Contacts and attributes
    • Events
    • Query filter
    • Event query filter
    • Probes
    • Counting and retrieval
    • Segments
    • Overview
    • Creating a draft
    • Audience targeting
    • Message content
    • Dates and scheduling
    • Reading campaigns
    • Estimating and deleting
    • OverviewBeta
    • Templates
    • Creating and editing drafts
    • Triggers and exits
    • Nodes
    • Delays and waits
    • Overview
    • Statistics catalog
    • Building queries
    • Conversions & revenue
    • Reading results
    • Flow reports
    • Rate limits
    • Errors
  • Full API Reference
Ingest API
  • Guide
  • Quickstart
  • Authentication
  • Rate limits
  • Errors
  • Best practices
  • Full API Reference
Further reading
  • Query Filter
DashboardSupportinstasent.com

Platform API

AI & MCP

These docs are published as machine-readable artifacts alongside the HTML. Paste them into a chat, feed them to an agent, or import them as context in your IDE — the portal is designed for LLM consumption from the ground up.

On this page▾
  • What's available
  • llms.txt — the index
  • Per-API full dumps
  • Drop-in prompt for any agent
  • Per-page markdown
  • OpenAPI specs
  • How to use them
  • Paste into a chat
  • Point an agent or IDE at the portal
  • Use as retrieval index
  • Drop into an IDE or CLI agent
  • Discoverability for crawlers
  • MCP servers
  • Questions or issues?

Every page of the Instasent developer portal is served as plain markdown alongside the HTML. A compact index lists every developer page, and each API ships as a single autocontained dump you can hand to an assistant in one paste. The OpenAPI specs are downloadable too, ready for code generation or a Postman import.

This page is the map: what exists, where to find it, and how to use it in practice.

What's available

llms.txt — developer index

Compact table of contents following the llmstxt.org convention. Lists every developer page with a one-line summary and links to the per-API dumps. Fits in any context window.

Per-API full dump

One llms-full.txt per API, each autocontained: guide, quickstart, auth, rate limits, errors, webhooks, SDKs and reference — everything needed to integrate that API.

Per-page markdown

Every HTML page has a .md twin at the same URL plus .md suffix. Useful when an agent wants to fetch a specific page without the chrome.

OpenAPI specs

The four API contracts as downloadable YAML. Import into Postman, generate SDKs, feed to an AI for typed suggestions.

llms.txt — the index

A single file that maps the developer portal.

Download llms.txt — relative to the portal host you're reading this from. Or, from a terminal:

curl https://docs.instasent.com/platform-api/llms.txt

Structure follows llmstxt.org: an H1 with the project name, a blockquote summary, and H2-delimited sections containing every published page with a one-line description and a link. At the end, pointers to each per-API full dump and to the OpenAPI specs.

Use it when:

  • You want to show an assistant the shape of the portal before diving in.
  • You're building a tool that needs a manifest of what's available.
  • You have a narrow context budget and need the map, not the whole territory.

Per-API full dumps

Autocontained markdown dump for each API. Includes the guide, quickstart, authentication, rate limits, errors, webhooks, SDKs and reference for that API — everything a developer or an agent needs to integrate end-to-end, in a single file.

Product API

Organizations, projects, audiences, datasources, webhooks, audience filters and reference — plus transactional messages registered against project contacts. Paste this when integrating the control plane or sending with customer history.

Ingest API

Contacts and events ingestion. The minimal scope for pushing data into a datasource at volume.

A2P Messaging API

Also known as the Transactional API, and formerly the SMS API. HTTP and SMPP, single and bulk sends (up to 100 messages per request), HLR lookup, balance and pricing, DLRs, SDKs in five languages.

Legacy API

First-generation version of the A2P Messaging API, kept alive for existing integrations. Included so assistants can help users migrate to A2P Messaging.

Each per-API dump is independent. You don't need Getting Started or other APIs as context — the dump you need is self-sufficient for that integration. Paste one, not four.

Drop-in prompt for any agent

One block you can paste into any agent, IDE rules file or CLI config so it learns Instasent without further setup. It names the four APIs with their dumps and OpenAPI specs, states the picking rule, and tells the agent how to fetch docs on demand.

# Instasent integration context

Instasent has two products, and both have APIs: the Platform, a CDP for
mass marketing (Product API, Ingest API), and the A2P Messaging API,
self-service messaging for applications and AI agents (with its predecessor,
the Legacy API). Each API has an autocontained markdown dump and an OpenAPI spec — fetch them when
writing or reviewing code that calls the APIs. The per-page markdown twin
of any HTML page is served at the same URL plus ".md".

APIs:
- Product API — the CDP API: Instasent's Customer Data Platform. It owns
  the unified audience (contacts, attributes, events, segments) and the
  control plane around it — organizations, projects, datasources — plus
  everything about messaging a known customer: tracked direct SMS to
  contacts, campaigns and automations with stats. Every send is written
  as an event on the audience contact, so it feeds timeline, segmentation
  and attribution analytics automatically.
    Docs:    https://docs.instasent.com/platform-api/product-api/llms-full.txt
    OpenAPI: https://docs.instasent.com/openapi/product.openapi.yaml

- Ingest API — narrower, write-only surface for pushing contacts and
  events into a single datasource. Same wire as Product's ingest
  endpoints, with a tighter token scope.
    Docs:    https://docs.instasent.com/platform-api/ingest-api/llms-full.txt
    OpenAPI: https://docs.instasent.com/openapi/ingest.openapi.yaml

- A2P Messaging API — Instasent's API for sending from your own code,
  over HTTP or SMPP: SMS today, RCS and WhatsApp coming soon, and
  wholesale SMS over SMPP. Single sends (POST /sms) for OTPs, receipts and alerts; bulk
  sends (POST /sms/bulk, up to 100 messages per request) for
  API-driven campaigns, notification fan-outs and marketing dispatch —
  accepted messages are queued on the platform and drained at carrier
  speed, so one bulk call outperforms thousands of parallel single
  sends. Also exposes HLR / number lookup, account balance and price
  profiles. SDKs in Node.js, PHP, Python, Ruby and Java. Also known as
  the Transactional API and, formerly, the SMS API — three names for the
  same API, which is why the URLs still say "transactional". Base URL:
  https://api.instasent.com/transactional/v1.
    Docs:    https://docs.instasent.com/a2p-messaging-api/llms-full.txt
    OpenAPI: https://docs.instasent.com/openapi/transactional.openapi.yaml

- Legacy API — first-generation version of the A2P Messaging API.
  Same endpoint set (SMS send/bulk, SMS read, HLR lookup, balance,
  price profiles) under an older token model, without DLR webhooks
  or SMPP. Kept alive for backwards compatibility only — recommend
  migrating to the A2P Messaging API for any new work or when users
  want DLR webhooks, SMPP or per-project tokens. No SMS feature is
  Legacy-only.
    Docs:    https://docs.instasent.com/a2p-messaging-api/legacy/llms-full.txt
    OpenAPI: https://docs.instasent.com/openapi/legacy.openapi.yaml

Developer docs index (start here if the target API is not clear):
  https://docs.instasent.com/platform-api/llms.txt

Picking rule:
- Message tied to a known customer (timeline, attribution, analytics)?
    → Product API direct messaging.
- Bulk / campaign / high-throughput SMS dispatch with your own
  recipient list?
    → A2P Messaging API POST /sms/bulk (up to 100 messages per
      request; queue-based dispatch at carrier speed).
- Message with no customer record (OTP, receipt, alert)?
    → A2P Messaging API POST /sms.
- HLR / number lookup, or pre-send validation and pricing?
    → A2P Messaging API (POST /lookup, price-profile endpoints).
- Pushing customer data only (CRM sync, e-commerce events)?
    → Ingest API.
- Maintaining an existing integration against the Legacy base URL?
    → Legacy API, but steer new work toward the A2P Messaging API
      — same endpoints, plus DLR webhooks, SMPP and per-project
      tokens.

Conventions:
- All APIs authenticate with a Bearer token in the Authorization header,
  except SMPP which uses system_id/password on bind.
- Rate limits and some scopes are subscription-plan gated. Product API
  contact fields returned depend on token scopes AND the organization's
  plan — design against the Basic privacy level unless confirmed higher.
- Audience and audience-event search use structured JSON filters
  ("_q" and dedicated endpoints). Prefer the JSON form over URL query
  strings when the query has AND/OR logic.
- When in doubt, fetch https://docs.instasent.com/{path}.md for the
  specific page rather than guessing from prior training data.

Where to drop it:

  • Cursor — .cursorrules at the project root.
  • Claude Code — CLAUDE.md at the project root, or a slash command under .claude/commands/.
  • Windsurf — .windsurfrules.
  • Continue, Cline, Aider, Roo Code — their respective rules/config files or system-prompt field.
  • Bare agents / chat sessions — paste as a system or first user message.

The prompt is intentionally framework-agnostic. Nothing in it assumes a specific agent runtime, tool protocol or model vendor — it teaches concepts and URLs.

Per-page markdown

Every page in the portal has a markdown twin at the same URL plus a .md suffix.

/{path}/     →     /{path}.md

The markdown is produced at build time from the same MDX source as the HTML, so the two are always in sync. Components like callouts, code tabs and cards are flattened to plain markdown equivalents — assistants see the same information a human reader sees, just without the layout.

Use it when:

  • An agent needs to fetch just one page on demand rather than ingest the whole API dump.
  • You want to link a single page to a teammate or ticket as markdown.
  • You're building a retrieval pipeline that indexes the portal page by page.

OpenAPI specs

The four APIs expose their contracts as downloadable OpenAPI YAML. Import into Postman, generate a typed client, or feed to an assistant for grounded suggestions on payload shape.

Product API spec

OpenAPI 3.0 contract for the Product API.

Ingest API spec

OpenAPI 3.0 contract for the Ingest API.

A2P Messaging API spec

OpenAPI 3.0 contract for the A2P Messaging API (the Transactional API).

Legacy API spec

OpenAPI 3.0 contract for the Legacy API.

How to use them

Paste into a chat

The most direct path. Open Claude, ChatGPT or Perplexity, upload or paste the dump you need, then ask.

  1. 1

    Pick the scope

    Integrating one API? Grab that API's llms-full.txt. Just exploring? Start with llms.txt.

  2. 2

    Paste or attach

    Download the file and attach it to the conversation, or paste the contents directly if it fits.

  3. 3

    Ask in context

    "Here are the Instasent A2P Messaging API docs. Write me a Node.js function that sends an SMS and handles DLR webhooks." The assistant now grounds its answer in the current docs instead of guessing from stale training data.

Point an agent or IDE at the portal

Agents that can fetch URLs (Claude with tool use, Cursor, Windsurf, GitHub Copilot Workspace) can consume the markdown endpoints directly.

When answering questions about Instasent APIs, fetch the relevant page from
https://docs.instasent.com/{path}.md — for example:
  - https://docs.instasent.com/platform-api/product-api/guide.md
  - https://docs.instasent.com/a2p-messaging-api/http/authentication.md
  - https://docs.instasent.com/platform-api/further-reading/query-filter.md

Start from https://docs.instasent.com/platform-api/llms.txt to find the right page.
Always prefer the .md endpoint over scraping the HTML.

Use as retrieval index

For a RAG setup, crawl the .md endpoints listed in llms.txt. They're the canonical markdown form of each page, chunkable by heading.

  • Use the per-page .md URLs as your document store.
  • Embed heading sections (H2/H3) as separate chunks for finer retrieval.
  • Refresh on the Last-Modified header — docs update whenever the repo publishes.

Drop into an IDE or CLI agent

Use the drop-in prompt above. It's the fastest path to give Cursor, Claude Code, Windsurf, Continue, Cline, Aider and similar tools grounded context for Instasent work in one paste.

Discoverability for crawlers

The portal explicitly welcomes mainstream AI crawlers via robots.txt:

User-agent: GPTBot          Allow: /
User-agent: OAI-SearchBot   Allow: /
User-agent: ChatGPT-User    Allow: /
User-agent: ClaudeBot       Allow: /
User-agent: Claude-Web      Allow: /
User-agent: PerplexityBot   Allow: /
User-agent: Google-Extended Allow: /
User-agent: Applebot-Extended Allow: /
User-agent: CCBot           Allow: /

A standard sitemap.xml lives at the root for general crawlers. There is no rate-limit on the portal, but be sensible — cache, don't hammer.

MCP servers

Instasent has one MCP server today, the Platform MCP, and it is a product surface rather than an API one: it connects an agent to a customer's project over OAuth and exposes a curated tool set — read the audience, campaigns and reports, draft work a person confirms — not the API itself. Because the customer is the one who connects it, it is documented in the platform zone: Connect your AI (MCP).

It is the Product API's data the agent ends up reading, so the two are related, but connecting an agent needs nothing from this page: no token, no dump, no spec. The A2P Messaging API will get its own, the Messaging MCP, soon: see AI & MCP in its zone.

A connected agent can also use the project's project memory: the shared, written record of agreements, tasks, key dates and notes that the customer's team and Iris keep about how the project is run. It reads it and, when the person's role allows editing, keeps it up to date. Reading comes with the connection, and a connection made before gains it on its next refresh, since every role can read project memory. Editing needs the person to approve Edit the project memory on the consent screen, and a refresh never adds it. Project memory is not part of the public Product API and no API token scope reaches it: it lives in the dashboard and behind the Platform MCP. How it works is documented for customers in Project memory.

Questions or issues?

If a markdown artifact looks out of date, a link is broken, or an agent is stumbling on a specific page, open an issue in the docs repo. The artifacts are generated at build time — a fix to the MDX source propagates to every format on the next deploy.

Last updated October 13, 2026

PreviousOverviewNextIntroduction
  • What's available
  • llms.txt — the index
  • Per-API full dumps
  • Drop-in prompt for any agent
  • Per-page markdown
  • OpenAPI specs
  • How to use them
  • Paste into a chat
  • Point an agent or IDE at the portal
  • Use as retrieval index
  • Drop into an IDE or CLI agent
  • Discoverability for crawlers
  • MCP servers
  • Questions or issues?

© 2026 Instasent

Privacy PolicyTerms & ConditionsCookie PolicyLegal Notice
All systems operational