Skip to main content
An integration is a configured connection to an external provider. It combines a provider (e.g. github, slack) with your OAuth app credentials or API key configuration, and gives you a unique key you use to create connections for your users. Before a user can authenticate with an external service, you must create an integration for that provider in your Nango environment.
All API requests require a secret key passed as a Bearer token. You can find your secret key in the Settings section of the Nango dashboard.

List integrations

GET /integrations Returns all integrations configured in your environment.

Response

ApiPublicIntegration[]
Example response

Get an integration

GET /integrations/:uniqueKey Returns a single integration by its unique key.

Path parameters

string
required
The unique key of the integration to retrieve.

Query parameters

string[]
Additional fields to include in the response. Accepts webhook and/or credentials.

Response

object
Example response

Create an integration

POST /integrations Creates a new integration.

Request body

string
required
The provider slug to use (e.g. slack, github, salesforce). Must match a provider supported by Nango.
string
required
A unique identifier for this integration within your environment (e.g. slack-production). Used as provider_config_key when creating connections.
string
Human-readable name shown in the Connect UI. Defaults to the provider’s default display name.
boolean
When true, incoming webhooks from the provider are forwarded to your environment’s webhook URL.
object
OAuth app credentials or GitHub App credentials. Required for providers that need OAuth.

Response

Returns the created integration object. See Get an integration for the response shape.
Example response

Update an integration

PATCH /integrations/:uniqueKey Updates an existing integration. Only the fields you provide are changed.

Path parameters

string
required
The unique key of the integration to update.

Request body

string
Rename the integration’s unique key.
string
New human-readable display name.
boolean
Enable or disable webhook forwarding.
object
Updated OAuth app credentials. Accepts the same shape as Create an integration.

Response

Returns the updated integration object.
Example response

Delete an integration

DELETE /integrations/:uniqueKey Permanently deletes an integration and all of its connections.
Deleting an integration also deletes all connections associated with it. This action cannot be undone.

Path parameters

string
required
The unique key of the integration to delete.

Response

Example response