Save a new integration configuration for third-party services like Sentry, Jira, Linear, etc.
Supported Integrations:
Integration Flow:
auth_datasentry, jira, linear, confluence, slack, githubactive, inactive, pending, error[type]-[uuid] if omitted.401 Unauthorized
422 Unprocessable Entity
name or integration_type fieldintegration_type value not in: sentry, jira, linear, confluence, slack, github500 Internal Server Error
Integration saves but doesn't appear active
success: true but the integration seems inactive.Solution:active is set to true in the request (the default is true)status is active (the default is active)data.active and data.has_auth_data fieldsauth_data.access_token is valid and not expiredAuthentication errors with valid token
auth_data.expires_atIntegration type not recognized
sentry, jira, linear, confluence, slack, githubscope_data fields not persisted
has_scope_data returns false even after providing scope information.Solution:has_scope_data flag is true only when org_slug or workspace_id is presentproject_id or installation_id does not set has_scope_data to trueorg_slug (for Sentry) or workspace_id (for Jira, Confluence, Slack, Linear) in your requestAPI key authentication. Get your key from potpie settings page
User-friendly integration name
1 - 255Type of integration
sentry, jira, linear, confluence, slack, github Integration status
active, inactive, pending, error Whether integration is active
Custom identifier (auto-generated if not provided)