Skip to main content
POST
Emit Event

Overview

Publishes an event in your workspace. Any recipe that runs on that event type starts. For events coming from a device or outside system, use Inbound Webhooks.
Changes data, so it needs a key that isn’t read-only.
Operation name: event.emit.

Authorization

string
required
Your Composer API key

Headers

string
required
Must be set to application/json

Body

string
required
The event type, such as doc.uploaded. Recipes match on this.
Example
object
The event’s details.
string
The id of what the event is about.
Example Request

Response

boolean
True when the event was published.
string
The event type.
Example Success Response

Example cURL

cURL

Error Codes