---
search:
  tags:
    - automations
    - POST
seo:
  description: >-
    Unauthenticated inbound webhook for automation triggers. No… Reference for
    the POST /automations/webhooks/{secret} endpoint in the Leadtime Public API
    API.
sidebar:
  badge: POST
  label: Trigger automation via webhook
title: Trigger automation via webhook
type: openapi-operation
---
Unauthenticated inbound webhook for automation triggers. No Bearer token required. The secret is webhookSecret from a webhook trigger (returned in automation triggers after create/update). POST with Content-Type: application/json; request body is passed to the agent as context. Returns 202 with &#123; "accepted": true &#125; when the secret matches an enabled webhook trigger and the automation executor is eligible. Returns 202 with &#123; "accepted": false &#125; when the secret is valid but the executor is inactive or no longer in the workspace (no run is enqueued).

<Operation source="api-reference" id="automationwebhooks-handlewebhook" />
