@bitrix24/b24jssdk
Bitrix24 JS SDK
Cookbook
Curated entry points — each recipe is a single, copy-paste-friendly file with environment variables, an expected output sketch, and a Limitations block.
Webhook CLI smoke test
A 30-line Node script that authenticates against a Bitrix24 portal via inbound webhook and prints the calling user — useful as the first thing you run after creating a webhook.
Export deals to CSV
Stream every CRM deal that matches a date filter into a CSV file using a webhook and FetchListV2.
Bulk update deals
Migrate thousands of CRM deals to a new stage using BatchByChunkV2 — automatic chunking, partial-error handling, and a single progress line.
Frame app skeleton
Minimum viable Bitrix24 iframe app: init handshake, set title, persist app state, open a slider, close cleanly.
Subscribe to Pull events
Open a live channel from a Bitrix24 frame app and react to push events using useB24Helper + the Pull client.
Extended catalogue
End-to-end TypeScript scripts — run with tsx after setting B24_HOOK to your incoming webhook URL.