Skip to content
AISARAISAR
Stickers

Stickers

Sticker pack deleted

sticker.pack.deleted

Fires when a sticker pack is deleted, along with every sticker it contained. No separate `sticker.deleted` events are sent for the pack's individual stickers.

HTTP request

AISAR sends a signed POST request to your webhook_url:

http
POST {webhook_url}
Content-Type: application/json
X-AISAR-Signature: sha256=...

{
  "event": "sticker.pack.deleted",
  "event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
  "timestamp": "2026-08-22T12:10:00.000000Z",
  "company_id": 1,
  "data": {
    "sticker_pack": {
      "id": 14,
      "name": "Reactions v2",
      "is_system": false,
      "source": "manual",
      "tray_emoji": "🎉"
    }
  }
}

The X-AISAR-Signature header carries an HMAC-SHA256 signature of the request body — use it to verify the request came from AISAR.

Example payload

json
{
  "event": "sticker.pack.deleted",
  "event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
  "timestamp": "2026-08-22T12:10:00.000000Z",
  "company_id": 1,
  "data": {
    "sticker_pack": {
      "id": 14,
      "name": "Reactions v2",
      "is_system": false,
      "source": "manual",
      "tray_emoji": "🎉"
    }
  }
}

Payload fields

FieldTypeDescription
sticker_pack.idintegerDeleted sticker pack ID
sticker_pack.namestringPack name at the moment of deletion
sticker_pack.is_systemboolean`true` for the "From chats" system pack, `false` for operator-created packs
sticker_pack.sourcestringPack origin: `manual`, `from_message`, or `telegram_import`
sticker_pack.tray_emojistring|nullTray emoji at the moment of deletion