{ "opencollection": "1.0.0", "info": { "name": "Amigo Account External Integrations API", "version": "0.1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "External Integrations", "type": "folder" }, "items": [ { "info": { "name": "List External Integrations", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/external-integrations", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "search", "value": "", "type": "query" }, { "name": "sort_by", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query" }, { "name": "continuation_token", "value": "", "type": "query" } ] }, "docs": "List External Integrations" }, { "info": { "name": "Create External Integration", "type": "http" }, "http": { "method": "POST", "url": "https://api.amigo.ai/v1/:workspace_id/external-integrations", "params": [ { "name": "workspace_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create External Integration" }, { "info": { "name": "Get External Integration", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/external-integrations/:integration_id", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "integration_id", "value": "", "type": "path" } ] }, "docs": "Get External Integration" }, { "info": { "name": "Update external integration", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.amigo.ai/v1/:workspace_id/external-integrations/:integration_id", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "integration_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates external integration metadata. Supports partial updates for `name`, `display_name`, and `description`; pass `description: null` to clear the description. Requires an admin or owner role with `ExternalIntegration.update` permission." }, { "info": { "name": "Delete external integration", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.amigo.ai/v1/:workspace_id/external-integrations/:integration_id", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "integration_id", "value": "", "type": "path" } ] }, "docs": "Soft-deletes an active external integration by marking it inactive, then revokes any active client credentials for that integration in the same workspace-scoped transaction. Requires an admin or owner role with `ExternalIntegration.delete` and `ApiKey.delete` permissions." }, { "info": { "name": "List External Integration Credentials", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/external-integrations/:integration_id/credentials", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "integration_id", "value": "", "type": "path" } ] }, "docs": "List External Integration Credentials" }, { "info": { "name": "Create External Integration Credential", "type": "http" }, "http": { "method": "POST", "url": "https://api.amigo.ai/v1/:workspace_id/external-integrations/:integration_id/credentials", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "integration_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create External Integration Credential" }, { "info": { "name": "Rotate External Integration Credential", "type": "http" }, "http": { "method": "POST", "url": "https://api.amigo.ai/v1/:workspace_id/external-integrations/:integration_id/credentials/:credential_id/rotate", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "integration_id", "value": "", "type": "path" }, { "name": "credential_id", "value": "", "type": "path" } ] }, "docs": "Rotate External Integration Credential" }, { "info": { "name": "Revoke External Integration Credential", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.amigo.ai/v1/:workspace_id/external-integrations/:integration_id/credentials/:credential_id", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "integration_id", "value": "", "type": "path" }, { "name": "credential_id", "value": "", "type": "path" } ] }, "docs": "Revoke External Integration Credential" } ] } ], "bundled": true }