Sign in

Trigger batch events

documented

Publish multiple events in a single API call to one or more channels (up to 10 per call on multi-tenant clusters).

POST /apps/{app_id}/batch_eventsChannelsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api-{{$cluster}}.pusher.com/apps/{{$app_id}}/batch_events?auth_key={{PUSHER_API_KEY}}&auth_timestamp={{auth_timestamp}}&auth_version=1.0&auth_signature={{AUTH_SIGNATURE}}&body_md5={{BODY_MD5}}" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"batch": [{"name": "{{$event1}}","channel": "{{$channel1}}","data": "{{$data1}}"},{"name": "{{$event2}}","channel": "{{$channel2}}","data": "{{$data2}}"}]}'
Trigger batch events · Pusher · OpenIntegrations