Brand Slack Destinations Api Service

Replace the settings of the brand's Slack destination; paused pauses or resumes it. Keeping its channel does not check Slack, so a destination whose channel or connection broke can still be paused or edited; choosing another channel or workspace clears its error.

put/v2/settings/brands/{brand-id}/slack-destinations/{destination-id}

Request

  • Base URL: https://app.metricool.com/api
  • URL: https://app.metricool.com/api/v2/settings/brands/{brand-id}/slack-destinations/{destination-id}
  • Auth: none declared

Path parameters

brand-idinteger required

Id of the brand

destination-idinteger required

Id of the destination

Request body

connectionIdinteger required

Id of an active Slack connection of the brand's organization.

channelIdstring required

Id of a channel of that connection's workspace.

eventsstring[] required

Notification events to send, from GET .../slack-destinations/available-events.

languagestring nullable

Language of the messages. Defaults to the language of the user saving it.

pausedboolean nullable

Whether the destination is paused. Defaults to false.

Example request

{
  "connectionId": 12,
  "channelId": "C0C4SHC18T1",
  "events": [
    "postApproved",
    "postError"
  ],
  "language": "es"
}

Response

Destination updated.

metadataobject

Example response

{
  "data": {
    "id": 7,
    "connectionId": 12,
    "workspace": {
      "teamId": "T0123ABCD",
      "name": "Agencia X"
    },
    "channelId": "C0C4SHC18T1",
    "channelName": "cliente-x",
    "events": [
      "postApproved",
      "postError"
    ],
    "language": "es",
    "status": "active",
    "createdBy": {
      "name": "Ana García",
      "profilePicture": "https://cdn.metricool.com/avatars/1234.png"
    }
  }
}

Changes

No recorded changes to this operation across all 4 revisions of this API.