Skip to main content
Every integration request requires an Outlit API key:

Provider IDs

Use the currently enabled public provider IDs below when calling integration routes.
Use google-mail for direct API requests. The CLI also accepts gmail as a convenience alias.

List Integrations

connectedOnly
boolean
default:"false"
When true, only returns currently connected integrations.

Example

Response

Get Setup Capabilities

provider
string
Optional public provider ID or CLI alias. When omitted, returns all provider capabilities.
Capabilities tell agents which setup mode to use, which credential fields are required, and which post-connect steps still need follow-up.

Response

Run Provider Setup Step

Use this after a provider is connected when postConnectSteps reports a supported follow-up such as CRM mappings or webhooks.

Request Body

provider
string
required
Public provider ID from setup capabilities.
step
string
required
Follow-up step token, such as mappings or webhooks.
config
object
Optional step-specific config. CRM mappings use { "mappings": [...] }; Stripe webhooks can use { "webhookSecret": "whsec_..." }; Fireflies webhooks can use { "webhookSecret": "..." }.
When config is omitted, CRM mapping setup returns available pipelines and a config_required response. Webhook setup returns the URL, headers/secrets, required events, and status needed for manual provider setup without creating a browser session.

Connect Integration

Request Body

provider
string
required
Public provider ID from the provider table.
config
object
Required for direct credential connections. Omit this field to create a browser-auth connection session.

Direct Credential Response

Browser Session Response

Open connectUrl in a browser where the user can complete the provider connection, then poll the connect status route with sessionId. Direct credential setup, such as Pylon API-token setup, returns the direct credential response and does not create a session ID.

Errors

Invalid providers or malformed JSON return 400. Connection-limit failures return 403:

Poll Connection Status

sessionId
string
required
Session ID returned by POST /api/integrations/connect.

Response

status is one of pending, connected, failed, or expired. Failed responses may include error.

Disconnect Integration

Request Body

provider
string
required
Public provider ID from the provider table.

Response

If the provider is valid but not currently connected, the route returns 404:

Get Sync Status

provider
string
required
Public provider ID from the provider table.

Response

When the provider is valid but not connected, the route returns: