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 · Authentication

Connected apps (OAuth)

For software other Instasent customers will install: let each of them authorize your application against their own project with OAuth 2.1, and never handle their credentials. Full Product API access, scoped to what they grant.

On this page▾
  • Who this is for
  • Registering your application
  • The rest of the surface
  • Related

Who this is for

You are building software that other Instasent customers will install — an integration, a product, an app in someone's stack. Each of them authorizes it against their own project, you never see their credentials, and any of them can cut you off from their dashboard without involving you.

If that isn't you, you probably want the other door:

Integrating your own account

Your backend calling Instasent for your own organization, with no other customers involved. Create an API token and carry it — none of the OAuth machinery below applies.

Connecting an assistant you use

Not building anything, just want your own AI working with your project? That is the MCP server, and it needs no code at all.

For the dashboard-side view — how a customer approves a connection and revokes it — see Developers & Apps in the Platform zone. The full OAuth surface (/oauth/register, /oauth/token and the discovery documents) is in the API reference.

A connected app is the second way to authenticate the Product API (the other is API tokens). Instead of a customer pasting a long-lived token into your software, they authorize your application against their project with OAuth 2.1 — and can revoke it at any time from the dashboard.

Once authorized, a connected app calls the full Product API with the scopes the customer granted: audience, events, segments, campaigns, automations, direct SMS and contact ingestion — the same surface a token of equivalent scope reaches. This is the path for building an integration or product on top of Instasent that many customers install.

A connected app (OAuth) is not the same as the MCP server. A connected app authenticates against the full Product API; MCP is a separate, agent-oriented surface with a curated tool set that reads and drafts but never sends. They both use OAuth, but they grant very different access.

Registering your application

You don't pre-arrange anything with us. Dynamic Client Registration (RFC 7591) creates the client itself: POST /oauth/register with your application's name and redirect URIs returns the client_id you then drive the authorization code flow with. There is no client secret — every client registered this way is a public client and proves itself with PKCE alone.

Registration is rate-limited, and it is meant to be a one-off. Register once and reuse the client_id — don't register on every run, from every developer's machine, or as part of your test suite. If a registration is refused unexpectedly, that is the most likely reason: wait a while and retry before assuming your request is malformed.

A client registered this way is unverified. It works, and the consent screen presents it as an application Instasent hasn't reviewed — which the user has to acknowledge explicitly before continuing. Note that a project can also be set to accept only verified applications, in which case an unverified client cannot be authorized on it at all.

Rejections come back in the RFC 7591 shape — {"error", "error_description"}, not the platform's generic error envelope — with invalid_client_metadata, invalid_redirect_uri or client_name_not_allowed.

The rest of the surface

The full contract — every parameter, every error code, the discovery documents and the scope list — is in the API reference:

  • GET /oauth/authorize — start the flow in the browser; redirects to consent.
  • POST /oauth/register — dynamic client registration.
  • POST /oauth/token — code exchange and refresh.
  • /.well-known/oauth-protected-resource, /.well-known/oauth-authorization-server and /.well-known/openid-configuration — discovery. Read the endpoints from these rather than hard-coding them.

/oauth/authorize lives on this host, but nothing is decided there. Open it in the user's browser with your PKCE parameters and it answers 302, forwarding them to the dashboard — which is what authenticates the user and renders the consent screen. It exists here so the whole authorization server is advertised on one origin: issuer, authorization_endpoint, token_endpoint and registration_endpoint all share the API host, which is what strict clients require.

Related

  • API tokens — the other authentication method, for your own server-side integrations.
  • AI agents — Platform overview for dashboard users.

Last updated September 30, 2026

PreviousAPI tokensNextProject readiness
  • Who this is for
  • Registering your application
  • The rest of the surface
  • Related

© 2026 Instasent

Privacy PolicyTerms & ConditionsCookie PolicyLegal Notice
All systems operational