93cc41f2018a

latestOpenAPI 3.0.0GPL-3.0raw.githubusercontent.com2026-08-10215274484.1 KB
webhooks

Configure webhook profile selection

Replaces the runtime profiles that callers may select through the X-Dagu-Profile header. An empty list disables caller selection. Admin only.

put/dags/{fileName}/webhook/profile-selection

Path parameters

fileNamestring regex required

Name of the DAG file

the name of the DAG file

Query parameters

remoteNodestring

name of the remote node

Request body

allowedProfilesRuntimeProfileName[] required

Response

Webhook profile selection updated successfully

idstring uuid required

Unique identifier for the webhook

dagNamestring required

Name of the DAG this webhook triggers

tokenPrefixstring required

First 8 characters of the token for identification

enabledboolean required

Whether the webhook is active

authMode'token_only' | 'token_and_hmac' | 'hmac_only' required

Authentication mode for a webhook trigger endpoint

createdAtstring date-time required

When the webhook was created

updatedAtstring date-time required

When the webhook was last modified

createdBystring

User ID who created the webhook

lastUsedAtstring date-time

When the webhook was last triggered