Update integration enablement, capabilities and merged configuration
curl --request PATCH \
--url https://app.communicate.so/api/v1/workspaces/{workspaceId}/agents/{agentId}/integrations/{integrationId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true,
"capabilityKeys": [
"<string>"
],
"config": {}
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({enabled: true, capabilityKeys: ['<string>'], config: {}})
};
fetch('https://app.communicate.so/api/v1/workspaces/{workspaceId}/agents/{agentId}/integrations/{integrationId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.communicate.so/api/v1/workspaces/{workspaceId}/agents/{agentId}/integrations/{integrationId}"
payload = {
"enabled": True,
"capabilityKeys": ["<string>"],
"config": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"message": "<string>",
"integration": {
"id": "<string>",
"connectionId": "<string>",
"providerKey": "cal",
"providerLabel": "<string>",
"authType": "oauth2",
"enabled": true,
"capabilityKeys": [
"<string>"
],
"config": {},
"connectionStatus": "pending",
"displayName": "<string>",
"externalAccountId": "<string>",
"lastErrorCode": "<string>",
"connectedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Agents
Update integration enablement, capabilities and merged configuration
Use an explicitly scoped user-bound account bearer credential or an application session. Scope grants are intersected with live membership, role, tenant isolation, agent access and plan limits; a credential does not grant an owner role. Invitation acceptance requires the verified recipient email.
PATCH
/
workspaces
/
{workspaceId}
/
agents
/
{agentId}
/
integrations
/
{integrationId}
Update integration enablement, capabilities and merged configuration
curl --request PATCH \
--url https://app.communicate.so/api/v1/workspaces/{workspaceId}/agents/{agentId}/integrations/{integrationId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true,
"capabilityKeys": [
"<string>"
],
"config": {}
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({enabled: true, capabilityKeys: ['<string>'], config: {}})
};
fetch('https://app.communicate.so/api/v1/workspaces/{workspaceId}/agents/{agentId}/integrations/{integrationId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.communicate.so/api/v1/workspaces/{workspaceId}/agents/{agentId}/integrations/{integrationId}"
payload = {
"enabled": True,
"capabilityKeys": ["<string>"],
"config": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"message": "<string>",
"integration": {
"id": "<string>",
"connectionId": "<string>",
"providerKey": "cal",
"providerLabel": "<string>",
"authType": "oauth2",
"enabled": true,
"capabilityKeys": [
"<string>"
],
"config": {},
"connectionStatus": "pending",
"displayName": "<string>",
"externalAccountId": "<string>",
"lastErrorCode": "<string>",
"connectedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Authorizations
accountBeareraccountSessionlocalAccountSession
Opaque user-bound ca_ account credential. Each request checks live account scopes, verified email, expiry, revocation and the issuer session. Not a workspace ck_ key or OAuth access token.
Path Parameters
Minimum string length:
1Minimum string length:
1Minimum string length:
1Body
application/json