v2
latestOpenAPI 3.1.02026-08-05313314398.1 KBintegrations
Create Integration
Register or update an integration for the company (upsert by provider).
Handles three paths:
- Nango OAuth: nango_connection_id provided → mark connected.
- Custom credentials: credentials dict provided → validate, test, encrypt.
- Neither: mark disconnected.
Per-resource permissions: any company member may CREATE a new integration (they're auto-granted ADMIN on it); updating an existing (company, provider) row in place requires EDITOR on that integration.
post/api/v1/integrations/
Request body
Response
Successful Response