Chat icon

Chat

Interact with the Chat API

Actions253

Integration → Update Slack Integration

AI-generated

Summary

Update a selected Slack integration with a provided JSON payload.

Inputs

  • accountId (required) — Select the account to use.
  • payload (required) — Request body JSON as expected by the API

Output shape

an object representing the updated Slack integration

Returns the full integration resource; optional fields may be omitted depending on the API response.

Examples

Example 1: Update the Slack token for an integration

accountId set to '12345', payload { "token": "xoxb-newtoken" }

Example 2: Refresh OAuth credentials for the integration

accountId chosen from list, payload { "clientId": "abc", "clientSecret": "xyz", "refreshToken": "rt" }

Example 3: Modify webhook settings

accountId selected, payload { "webhookUrl": "https://example.com/webhook" }

Links

Discussion