Brand Slack Destinations Api Service

Create the brand's Slack destination. 403 slackPlanRequired when its organization cannot use Slack.

post/v2/settings/brands/{brand-id}/slack-destinations

Request

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

Path parameters

brand-idinteger required

Id of the brand

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 created.

Changes

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