Zooid icon

Zooid

Publish events to Zooid pub/sub channels

Actions2

Event → Publish

AI-generated

Summary

Publish an event to a Zooid channel

Inputs

  • channelId (required) — Channel to publish the event to
  • eventType — Event type tag; shows available schema types for the channel
  • inputMode — Method for supplying event data (Form Fields or Raw JSON)
  • eventFields — Schema field mapping when using Form Fields input mode
  • data (required) — JSON payload of the event (max 64KB)
  • requestOptions — Additional request settings such as batching, proxy, timeout, and SSL verification

Output shape

a single record representing the published event (API response)

The operation returns the server response; errors throw. No pagination; optional fields may be omitted.

Examples

Example 1: Publish a task completion event to a channel using form fields

Set channelId to 'task-updates', eventType to 'task-completed', inputMode to 'fields', map required fields via eventFields, provide JSON in data, enable batching of 50 items per batch.

Links

Discussion