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 · Product API · Campaigns

Campaigns

How the Product API models a campaign: the five endpoints it exposes, the draft-only contract behind all of them, and the statuses a campaign moves through. Start here before creating, reading, estimating or deleting one.

On this page▾
  • Drafts only, and no edit counterpart
  • The five endpoints
  • The life of a campaign
  • Statuses and phases
  • What's next

A campaign is a one-off message sent to a group of contacts: a sale announcement, a service notice, a launch. The Product API lets you assemble one programmatically, price it, read it back and throw it away. What it does not let you do is send it.

This is the surface an integration or an AI assistant uses to turn "message our VIP customers about the sale on Monday" into something a marketer can open, check and confirm.

Drafts only, and no edit counterpart

Two properties decide how you design around this whole section.

The API drafts, a person sends. Nothing here arms, schedules or sends a campaign, no balance is spent, and no message reaches a contact. Confirming the send happens in the dashboard, where a person has seen the estimate.

There is no update endpoint. A draft cannot be patched, and re-posting creates a second campaign rather than replacing the first. To change a campaign after it exists, someone opens it in the dashboard editor. Build your integration accordingly: assemble everything you know in one call, and treat the response as final from the API's point of view.

The upside of that split is the safety it buys. A programmatic caller, including an agent composing a campaign from a conversation, can go as far as a complete, reviewable draft, priced and checked, without ever being able to spend money or reach a customer by accident.

The five endpoints

EndpointWhat it doesScopeRate limit
POST /campaignCreates a draft. See Creating a draft.PROJECT_CAMPAIGN_WRITEmedium
GET /campaign/{id}Reads one campaign back. See Reading campaigns.PROJECT_CAMPAIGN_READlarge
GET /campaignLists the project's campaigns, filtered and paged.PROJECT_CAMPAIGN_READlarge
GET /campaign/summaryA digest of the whole project's campaign activity.PROJECT_CAMPAIGN_READlarge
PATCH /campaign/{id}/estimatePrices a draft, asynchronously. See Estimating and deleting.PROJECT_CAMPAIGN_WRITErestrictive
DELETE /campaign/{id}Removes a campaign that has not gone out.PROJECT_CAMPAIGN_WRITErestrictive

Scopes are chosen when the token is minted, under Project settings → API tokens. See Authentication and Rate limits, where each class ceiling is set by the organization's subscription plan.

The read endpoints are not optional extras. Estimating and deleting are both asynchronous: neither has finished the work by the time it answers you, so in both cases the way you learn the outcome is to read the campaign again. An integration that only writes cannot tell whether either one worked.

The life of a campaign

stateDiagram-v2
    [*] --> Draft: created by the API
    Draft --> Prepared: audience and message reviewed in the dashboard
    Prepared --> Scheduled: confirmed in the dashboard
    Scheduled --> Sent: the send runs
    Sent --> [*]
    Draft --> Deleted: deleted through the API
    Prepared --> Deleted: deleted through the API
    Scheduled --> Deleted: deleted through the API, up to five minutes before the send
    Deleted --> [*]
    class Sent success
    class Deleted destructive

A draft created through the API lands in the project's campaign list exactly as if it had been started in the panel: same editor, same three steps (Audience, Message, Review & schedule), same estimate and confirmation. The customer-facing walkthrough of what happens from there is Creating a campaign in the Platform guides.

Statuses and phases

Every operation in this section is gated by the campaign's status, and the errors you get are mostly status errors, so it is worth reading the vocabulary once.

There are twenty-odd raw statuses. They collapse into six phases, which is how the product talks about a campaign and what GET /campaign/summary counts by:

PhaseRaw statusesWhat it means
draftdraft, preview, estimating, estimatedBeing written. Nothing is committed.
preparingquoting, quoted, preparing, prepared, unpreparingConfirmed by a person and being built. The price is locked and the individual messages are being assembled.
scheduledconfirmed, scheduledArmed and waiting for its send time.
sendingsending, continuing, resumingGoing out now.
sentsentDone.
stoppedcanceled, aborted, unpaid, deletedEnded without completing, deletions included.

Two of those mappings are worth internalising, because they are not what the names suggest:

  • estimating and estimated are still draft. Pricing happens while a person is still editing, so an estimate does not move a campaign forward. It is not a step towards sending.
  • prepared is already preparing, not a draft. A prepared campaign has been confirmed by a person and has its messages built. This is why estimating a prepared campaign is destructive: it throws that work away.

Not everything stored as a campaign is one. One-off direct sends carry purpose: direct instead of standard, are not campaigns in the dashboard sense, and are filtered out of the campaign list on purpose.

What's next

Creating a draft

The POST contract: the request body, the response, warnings, limits and error codes.

Audience targeting

Segments, inline filters and how to count the reach before you create anything.

Message content

Copy, template variables, senders, RCS buttons, SMS fallback and languages.

Dates and scheduling

The three date forms, timezones, and why setting a date schedules nothing.

Reading campaigns

One campaign, the filtered list, and the project digest a dashboard is built on.

Estimating and deleting

Pricing a draft and removing one. Both asynchronous, both gated by status.

Last updated September 30, 2026

PreviousSegmentsNextCreating a draft
  • Drafts only, and no edit counterpart
  • The five endpoints
  • The life of a campaign
  • Statuses and phases
  • What's next

© 2026 Instasent

Privacy PolicyTerms & ConditionsCookie PolicyLegal Notice
All systems operational