API Reference
Complete reference for the Connect API. Base URL: https://YOUR_DOMAIN/connect/v1
Interactive explorer
The spec below is auto-generated from the NestJS controllers and stays in sync with every release. Authorize once with your Bearer JWT to run requests directly against your workspace.
Prefer the full Swagger UI? Visit /api/docs on the API host.
Sign in to see your API key in the examples.
Authentication
All Connect API endpoints require authentication. You can authenticate using either method:
- JWT Bearer token — pass your access token in the
Authorizationheader - API key — pass your key in the
x-api-keyheader
List All Providers
Returns all 200+ supported providers with their metadata and capabilities.
Get Provider Details
Returns metadata for a single provider.
| Parameter | Type | Description |
|---|---|---|
| :type | path | Provider type string (e.g. meta_lead_ads) |
Check Connection Status
Returns the current connection status for a provider.
| Parameter | Type | Description |
|---|---|---|
| :type | path | Provider type string |
Connect Provider (API Key)
Connect an API-key-based provider by sending credentials directly. For OAuth providers, use the OAuth login flow instead.
| Parameter | Type | Description |
|---|---|---|
| :type | path | Provider type string |
| credentials | body | Object with apiKey and optional apiSecret |
Disconnect Provider
Disconnects a provider and revokes stored credentials.
| Parameter | Type | Description |
|---|---|---|
| :type | path | Provider type string |
Create Webhook Subscription
Subscribe to webhook events from a provider.
| Parameter | Type | Description |
|---|---|---|
| :type | path | Provider type string |
| url | body | Your webhook endpoint URL |
| events | body (optional) | Array of event types to subscribe to |
Delete Webhook Subscription
Remove a webhook subscription.
| Parameter | Type | Description |
|---|---|---|
| :type | path | Provider type string |
| :id | path | Subscription ID |
List Webhook Subscriptions
Returns all active webhook subscriptions for a provider.
| Parameter | Type | Description |
|---|---|---|
| :type | path | Provider type string |
Proxy API Call
Make an API call through Calimatic Connect to a connected provider. The proxy handles authentication, rate limiting, and audit logging automatically.
| Parameter | Type | Description |
|---|---|---|
| :providerType | path | Provider type string |
| method | body | HTTP method (GET, POST, PUT, DELETE) |
| path | body | Provider API path |
| body | body (optional) | Request body to forward |
| headers | body (optional) | Additional headers to forward |
Error Responses
All endpoints return consistent error shapes:
401 Unauthorized
403 Forbidden
404 Provider Not Found
429 Rate Limited
Automation APIs
The endpoints below power the Zapier-style automation surface. All require a Bearer JWT and enforce Connect-local permission keys (see each section for the required key). Responses are JSON.
Flow templates
GET /connect/v1/flow-templates # templates.view
GET /connect/v1/flow-templates/:slug # templates.view
POST /connect/v1/flow-templates/:slug/clone # templates.write
{ "triggerConnectionId": "...", "name": "..." }See Templates guide for clone semantics and plan limits.
Provider actions
GET /providers/:providerType/actions # actions.view
POST /providers/:providerType/actions/:actionName # actions.execute
{ ...inputs per action schema }See Actions guide for the action contract and input schemas.
Flow triggers
GET /connect/v1/flows/:flowId/triggers # triggers.view
POST /connect/v1/flows/:flowId/triggers # triggers.write
{ "providerType", "triggerName", "kind", "connectionId", "config" }
DELETE /connect/v1/flows/:flowId/triggers/:subscriptionId # triggers.writeSee Triggers guide for webhook vs poll and cursor dedup.
Flow execution control
GET /connect/v1/flows/:id/executions # flows.view
GET /connect/v1/flows/:id/executions/:executionId/steps # task_history.view
POST /connect/v1/flows/:id/executions/:executionId/replay # flows.write
POST /connect/v1/flows/:id/test # flows.write
{ ...triggerData }Cross-flow task history
GET /connect/v1/task-history # task_history.view
?page=1&status=failed&flowId=<uuid>See Task History guide for filters and replay workflow.
Records
GET /connect/v1/records # records.view
?resourceType=<type>&providerType=<provider>&search=<text>&page=<n>
GET /connect/v1/records/summary # records.view
GET /connect/v1/records/:id # records.view
DELETE /connect/v1/records/:id # records.write
POST /connect/v1/records/:id/replay # records.write
POST /connect/v1/records/import # records.writeSee Records guide for ingestion sources, replay semantics, and the record.to_table crosslink step.
Tables
GET /connect/v1/tables # tables.view
POST /connect/v1/tables # tables.write
GET /connect/v1/tables/:slug # tables.view
PATCH /connect/v1/tables/:slug # tables.write
DELETE /connect/v1/tables/:slug # tables.write
GET /connect/v1/tables/:slug/rows # tables.view
POST /connect/v1/tables/:slug/rows # tables.write
POST /connect/v1/tables/:slug/rows/upsert # tables.write
GET /connect/v1/tables/:slug/rows/lookup # tables.view
PATCH /connect/v1/tables/:slug/rows/:rowId # tables.write
DELETE /connect/v1/tables/:slug/rows/:rowId # tables.write
POST /connect/v1/tables/:slug/import # tables.write
GET /connect/v1/tables/:slug/export # tables.viewSee Tables guide for flow step kinds, templating into row data, and plan limits.