POST
/
webhooks
/
{triggerId}
/
trigger
curl --request POST \
  --url https://www.lilbots.io/api/webhooks/{triggerId}/trigger \
  --header 'Content-Type: application/json' \
  --header 'X-Key: <api-key>' \
  --data '{
  "INPUT": "VALUE"
}'
{
  "success": true,
  "invocation": {
    "id": "inv_12345678"
  }
}

Authorizations

X-Key
string
header
required

The key associated with the trigger. This key is displayed when you view the trigger in the UI.

Path Parameters

triggerId
string
required

The ID of the trigger

Body

application/json · object

Any data that you want to send to your bot as inputs

The body is of type object.

Response

200
application/json

Bot execution triggered successfully

The response is of type object.