Skip to content
AISARAISAR
Stickers

Stickers

Sticker pack created

sticker.pack.created

Fires when a sticker pack is created — manually by an operator, on the first "Add to library" from a chat message (which creates the "From chats" system pack), or when importing a public Telegram sticker set.

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.created",
  "event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
  "timestamp": "2026-08-22T12:00:00.000000Z",
  "company_id": 1,
  "data": {
    "sticker_pack": {
      "id": 14,
      "name": "Reactions",
      "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.created",
  "event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
  "timestamp": "2026-08-22T12:00:00.000000Z",
  "company_id": 1,
  "data": {
    "sticker_pack": {
      "id": 14,
      "name": "Reactions",
      "is_system": false,
      "source": "manual",
      "tray_emoji": "😀"
    }
  }
}

Payload fields

FieldTypeDescription
sticker_pack.idintegerSticker pack ID
sticker_pack.namestringPack name
sticker_pack.is_systemboolean`true` for the system "From chats" pack (auto-created on the first "add to library" click), `false` for operator-created packs
sticker_pack.sourcestringPack origin: `manual` (created by hand / via upload), `from_message` (the "From chats" system pack), or `telegram_import` (imported from a t.me/addstickers/… link)
sticker_pack.tray_emojistring|nullThe pack's tray emoji icon (operator-set, optional)