- REST API: Standard HTTP endpoints for webhooks, external tools (Make, Zapier, n8n), and backend services.
- MCP Server: Native Model Context Protocol server connecting AI assistants (Claude Desktop, Cursor, Windsurf, Claude Code) over stdio.
1. Authentication
Generate an API key in the dashboard:- Navigate to Dashboard -> Settings -> API Keys.
- Click Create New Key and enter a descriptive label.
- Copy the generated key (
inst_live_...).
2. Response Envelopes
All REST API endpoints return a standard JSON envelope with either asuccess or error status.
Success Response Envelope
Error Response Envelope
3. REST Endpoints Reference
Workspace and Pipelines
Contacts and CRM Leads
Audience Lists and Segmentation
Automation Funnel Execution
Trigger request payload:
"username": "target_handle" instead of contactId).
4. Rate Limiting
To prevent accidental loops and protect self-hosted databases from overload, all public endpoints enforce request rate limits:- Limit: 60 requests per rolling 60-second window per API key.
- HTTP 429 Response: When the limit is exceeded, the server returns status code
429 Too Many Requestswith aRetry-After: 60header:
5. Code Examples
cURL
Node.js (Fetch)
Python
6. Model Context Protocol (MCP) Server
The Instance MCP server allows AI assistants (such as Claude Desktop, Cursor, Windsurf, and Claude Code) to interact with your CRM as native tools. Add theinstance server to your MCP configuration using npx:
