OpenAPI 3.1.02026-08-19313314398.5 KB
f2927c00c4d9
integrations
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