Channel Connections
Create a channel connection
Create a new channel connection for a resource for given integration. Only one channel connection is allowed per resource and integration.
post/v1/channel-connections
Request body
Example request
{
"identifier": "slack-prod-user123-abc4",
"subscriberId": "subscriber-123",
"connectionMode": "shared",
"integrationIdentifier": "slack-prod",
"workspace": {
"id": "T123456",
"name": "Acme HQ",
"botUserId": "U0123456789"
},
"auth": {
"accessToken": "Workspace access token",
"refreshToken": "Workspace refresh token",
"expiresAt": "2026-06-15T12:00:00.000Z",
"refreshTokenExpiresAt": "2026-09-15T12:00:00.000Z"
}
}Response
Created
Example response
{
"providerId": "slack",
"integrationIdentifier": "slack-prod",
"subscriberId": "subscriber-123",
"contextKeys": [
"tenant:org-123",
"region:us-east-1"
],
"workspace": {
"id": "T123456",
"name": "Acme HQ",
"botUserId": "U0123456789"
},
"auth": {
"accessToken": "Workspace access token",
"refreshToken": "Workspace refresh token",
"expiresAt": "2026-06-15T12:00:00.000Z",
"refreshTokenExpiresAt": "2026-09-15T12:00:00.000Z"
}
}