Integrations
POST /connections
Connects an integration. OAuth integrations get their credential later through the authorize flow.
Authorization
ApiKeyAuth x-api-key<token>
In: header
Path Parameters
organizationId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/organizations/string/connections" \ -H "Content-Type: application/json" \ -d '{ "integrationKey": "string" }'{ "id": "string", "organizationId": "string", "integrationKey": "string", "label": "string", "status": "pending", "authStrategy": "oauth2", "capabilitiesEnabled": [ "dsar_lookup" ], "config": { "property1": null, "property2": null }, "permissionsHealth": { "deniedActions": [ "string" ], "affectedAccounts": [ "string" ], "firstSeenAt": "string", "lastSeenAt": "string" }, "hasCredential": true, "credentialVersion": 0, "lastConnectedAt": "string", "lastError": "string", "createdByUserId": "string", "dateCreated": null, "dateUpdated": null, "property1": null, "property2": null}