Skip to main content
POST
/
v1
/
webhooks
/
smartthings
SmartThings webhook receiver
curl --request POST \
  --url http://0.0.0.0:3000/v1/webhooks/smartthings \
  --header 'Content-Type: application/json' \
  --data '
{
  "messageType": "EVENT",
  "events": [
    {
      "deviceEvent": {
        "deviceId": "device-uuid-123",
        "componentId": "main",
        "capability": "switch",
        "attribute": "switch",
        "value": "on"
      }
    }
  ]
}
'
{
  "status": "ok"
}

Body

application/json
messageType
enum<string>

Tipo da mensagem SmartThings

Available options:
CONFIRMATION,
EVENT
confirmationUrl
string | null

URL para confirmar sink (apenas CONFIRMATION)

events
object[] | null

Response

Webhook processed

status
string