Docs
OverviewPlatformPlatform APIA2P Messaging API
AI & MCP
Open dashboard
OverviewPlatformPlatform APIA2P Messaging API
AI & MCP
Getting started
  • Overview
  • Start guide
  • Project status
  • Concepts
AI
  • Iris
  • AI writing
  • Connect your AI (MCP)
Channels
    • Countries & coverage
    • Senders & registration
    • Essentials
    • Countries & availability
    • What is RCS
    • Senders & verification
    • Agent profile
    • Best practices
    • Acceptable use
    • SMS fallback
  • WhatsAppSoon
  • Compliance
  • Countries
    • Austria
    • Brazil
    • Canada
    • Colombia
    • France
    • Germany
    • India
    • Indonesia
    • Mexico
    • Netherlands
    • Peru
    • Singapore
    • Spain
      • Authorise the alias
      • Register directly
      • Without a certificate
      • Rejected alias
    • Ukraine
    • United Kingdom
    • United States
    • Other countries
Marketing
  • Campaigns
    • Creating a campaign
    • Targeting
    • Test sends
    • Delivery
    • Compliance
    • Managing campaigns
    • Campaign analytics
  • Flows
    • Building a flow
    • Templates
    • Triggers & entry
    • Sending messages
    • Waits
    • Branches
    • Contact updates
    • Goals & exits
    • Versions & publishing
    • Managing flows
    • Monitoring
    • Analytics
    • Limits
  • Sequences (legacy)
    • Managing sequences
    • Sequence analytics
Data
  • Audience
    • Contacts
    • Audience table
    • Segments
    • Attributes & events
  • Integrations & data sources
    • Managing sources
    • CSV import
    • API & webhooks
    • Event best practices
    • Integrations
      • Shopify
      • Klaviyo
      • WooCommerce
      • PrestaShop
      • Magento
      • HighLevel
      • Hotmart
      • ActiveCampaign
      • Zoom
      • Facebook Leads
      • Google Sheets
      • Google Contacts
      • MailChimp
      • MailerLite
      • Intercom
      • Make
      • Zapier
      • Activepieces
      • n8n
      • Pabbly Connect
      • OptiMonk
      • Paperform
      • StockAgile
      • Typeform
  • Consent
    • How consent works
    • Subscription attributes
    • Shared consent
    • Opt-outs
    • Manage via API
Analytics
  • Audience
  • Messages
  • Sales
  • Reports
Settings
  • Project settings
    • Brand profile
    • Senders
    • Short links
    • Unsubscribe links
    • Test numbers
    • Attribution
    • Project memory
  • Developers & Apps
    • API tokens
    • Third-party apps
    • Data access
    • Connected apps
  • Organization
    • General
    • Legal profiles
    • Team
    • Localization
  • Billing
    • Plans
    • Cost calculator
    • Balance
    • Invoices
    • Pricing
    • Account
    • Theme
    • Security
    • Notifications
    • Language & currency
DashboardSupportinstasent.com

Data · Consent

Manage consent via API

Managing consent programmatically: the subscription-manage operations (suppress, reactivate, opt-out, opt-in), why every operation is per channel, the SMS/RCS exception, and how connected apps declare a compliance policy that Instasent enforces.

On this page▾
  • The four operations
  • Always per channel — with the SMS/RCS exception
  • It's about authorization, not "API-only"
  • Connected apps and the compliance policy
  • Where the technical contract is documented

Consent isn't only set by hand from the contact profile — it can also be managed programmatically. That said, the same four operations exist on both sides — the panel and the API — so this page isn't a list of "API-only" actions. What it covers is which operations exist, who is authorized to perform each, and how connected apps stay compliant without you having to do anything.

The four operations

Consent is changed through the subscription-manage action, which exposes four operations:

OperationEffectAxis
suppressBlocks the contact from all marketing on the channel (sets suppression).Channel suppression
reactivateRemoves the block; brings the contact back.Channel suppression
opt-outRecords that the contact declined marketing.Marketing preference
opt-inRecords that the contact accepted marketing.Marketing preference

These map directly onto the two axes: opt-out / opt-in move the marketing preference, suppress / reactivate move the suppression state.

Always per channel — with the SMS/RCS exception

Every operation targets one channel. Opting a contact out of SMS does not touch their WhatsApp consent. The one exception is the shared SMS/RCS consent: acting on SMS also affects RCS, because they're a single state (see Shared consent).

It's about authorization, not "API-only"

All four operations are available in the panel too — from the Channel preferences card on the contact profile. What differs between operations is who may perform them:

  • suppress / reactivate — your team (in the panel) or the API. A contact cannot suppress or reactivate themselves.
  • opt-out / opt-in — your team or the API and the contact themselves, by replying STOP / START or using an unsubscribe link.

So the meaningful distinction isn't "panel versus API" — it's that some operations are reserved for an authorized operator (suppress, reactivate) while others can originate from the contact (opt-out, opt-in). The reactivation rules in Opt-outs & reactivation follow from this.

Connected apps and the compliance policy

compliancePolicy is the API name for the setting the dashboard calls Consent policy. Same three policies, same effect — the field is named after the section, the selector after the setting. Whenever this page says compliance policy, it is that field.

When a connected app or AI agent sends on your behalf, it doesn't apply consent rules itself — it declares a compliance policy per send, and Instasent enforces it: it excludes the contacts the policy filters out, and applies the opt-out consequence automatically. The policy is one of basic, no-opt-out or opt-in. If a direct project-API send omits it, Instasent defaults to basic — which always respects suppressions.

Each policy excludes a different set of contacts at send time:

compliancePolicyExcludes at send
basicSuppressed contacts only.
no-opt-outSuppressed contacts and those who opted out.
opt-inSuppressed, opted out and those with no preference (only explicit opt-ins receive).

It is the same setting as a campaign's Consent policy — the three policies are the same three. no-opt-out is the value the dashboard shows as No opt-out; it used to be called opt-out, and the API still accepts that older value on input for compatibility, always returning no-opt-out. The campaign-side view, including what a STOP does under each, is in Compliance policies.

Instasent enforces the policy; the app only declares it. An app never needs to fetch the audience and filter it for consent — it states the policy it intends, and the platform guarantees the exclusions and records the consequence of an opt-out.

Where the technical contract is documented

This page is the consent model behind the operations. The request and response shapes, the endpoints and authentication for managing consent and sending with a compliance policy belong to the developer documentation — see the Connected apps overview for the panel-side picture, and the Product API reference for the contract itself.

Last updated October 8, 2026

PreviousOpt-outsNextOverview
  • The four operations
  • Always per channel — with the SMS/RCS exception
  • It's about authorization, not "API-only"
  • Connected apps and the compliance policy
  • Where the technical contract is documented

© 2026 Instasent

Privacy PolicyTerms & ConditionsCookie PolicyLegal Notice
All systems operational