Triggered when a business account is muted after being flagged as a spammer
The event is triggered when a business account is flagged as a suspected spammer and is muted as a result.
This is one of the event types delivered by the pivot/event webhook. A single subscription to pivot/event delivers all of its event types — use the event field in the payload to tell them apart.
Webhook authorization: using a directory token.
Subscribing to the pivot event webhook:
curl --location --request POST '/platform/v1/webhook/subscribe' \
--header 'Authorization: "Bearer API_TOKEN"'\
--header 'Content-Type: application/json' \
--data-raw '{
"event": "pivot/event",
"target_url": "URL"
}'Account muted payload example:
{
"id": "123456789abcdefg",
"event": "account_muted"
}| Field | Type | Description |
|---|---|---|
id | string | The UID of the business that was muted |
event | string | Always account_muted for this event |
