Skip to main content
POST
/
v1
/
automations
/
webhook
/
{webhook_id}
Trigger automation via webhook
curl --request POST \
  --url http://0.0.0.0:3000/v1/automations/webhook/{webhook_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "sensor": "temperature",
  "value": 23.5
}
'
{
  "message": "Webhook received"
}

Path Parameters

webhook_id
string
required

ID único do webhook

Body

application/json

Payload opcional enviado ao webhook

Response

Webhook received

message
string