Skip to main content
POST
Inbound Webhooks

Overview

Lets a device or another system, such as a doorbell, a POS or a form tool, send events into Composer. Each accepted event can start a recipe. Each device is registered as an instance, declares the event types it sends, and has its own webhook key. A webhook key can only send events for its own instance. To see what a device has sent and why anything was refused, use List Webhook Deliveries.

Authorization

string
required
The device’s webhook key. Authorization: Bearer <key> also works.

Path

string
required
The device’s instance slug.

Body

string
required
The event type. It must be one the instance declares.
Example
object
The event’s details. Checked against the event type’s schema.
string
Your own id for the event. An event sent again with the same id is accepted once.
integer
The event type’s version. Default 1.
Example Request

Response

202 Accepted for a new event:
Example Success Response
200 for an event with an id that was already received:

Example cURL

cURL

Error Codes

Errors come back as JSON: { "error": "..." }.