dots.v2.agents.triggers.byTrigger_id().webhook.post()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
client.v2.agents.triggers.byTrigger_id(trigger_id).webhook.post(body: undefined | ArrayBuffer, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | Webhook_accepted_response>Description
The one public, un-team-authenticated endpoint. There is NO DO bearer token: the caller is the customer’s external system. Authentication is the per-trigger HMAC secret, verified on every delivery; edge rate-limiting is mandatory.
The request body is the provider’s RAW body, forwarded verbatim (the HMAC is computed over the exact bytes received); Content-Type is provider-defined and passed through. The signature header depends on the trigger’s provider:
- github:
X-Hub-Signature-256: sha256=<hex>(HMAC-SHA256 of the raw body) - gitlab:
X-Gitlab-Token: <token>(plaintext token equality; GitLab does not sign) - custom:
X-DigitalOcean-Signature: t=<unix>,v1=<hex>(HMAC-SHA256 of{unix}.{raw body};do-signatureis also accepted as a transitional alias)
On success (including a provider retry that dedupes to an existing firing) it returns 202 with the execution_id. A delivery to a paused trigger returns 202 with no body and queues nothing (deliberately not 409, so providers do not auto-disable the webhook after repeated non-2xx).
Parameters
Path Parameters
trigger_idstring requiredExample:
b1a0c6de-1f2e-4a3b-9c8d-0e1f2a3b4c5dThe trigger UUID.
Request Body
The request body uses application/octet-stream.
bodystring required
Response Example
More Information
See /v2/agents/triggers/{trigger_id}/webhook in the API reference for additional detail on responses, headers, parameters, and more.