GET
/
webhooks
/
{triggerId}
/
trigger
/
invocation
/
{invocationId}
/
sync
Wait for bot execution to complete
curl --request GET \
  --url https://www.lilbots.io/api/webhooks/{triggerId}/trigger/invocation/{invocationId}/sync \
  --header 'X-Key: <api-key>'
{
  "success": true,
  "outputs": [
    {
      "title": "Result",
      "message": "Operation completed successfully"
    }
  ]
}

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

invocationId
string
required

The ID of the bot invocation received from the trigger endpoint

Response

Bot execution completed successfully

success
boolean
outputs
object[]

The outputs returned by the bot