Skip to content
AISARAISAR
Stickers

Stickers

Sticker deleted

sticker.deleted

Fires when an individual sticker is removed from a pack. Does NOT fire when the whole pack is deleted — that case only sends `sticker.pack.deleted`. Renaming (re-tagging) or moving a sticker to another pack (`PATCH /v1/stickers/{sticker}`) does not raise this event either — there is no sticker-update event.

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.deleted",
  "event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
  "timestamp": "2026-08-22T12:20:00.000000Z",
  "company_id": 1,
  "data": {
    "sticker_pack": {
      "id": 14
    },
    "sticker": {
      "id": 87,
      "is_animated": false
    }
  }
}

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.deleted",
  "event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
  "timestamp": "2026-08-22T12:20:00.000000Z",
  "company_id": 1,
  "data": {
    "sticker_pack": {
      "id": 14
    },
    "sticker": {
      "id": 87,
      "is_animated": false
    }
  }
}

Payload fields

FieldTypeDescription
sticker_pack.idintegerID of the pack the sticker was removed from
sticker.idintegerDeleted sticker ID
sticker.is_animatedbooleanAlways `false` (the library only stores static stickers)