webhooks

Turn on the webhook's public URL

Changed on

Gives the webhook a public URL through Dagu Cloud. A webhook that has one keeps it. The server must be connected to Dagu Cloud, and the plan must allow another public URL. Admin only.

post/dags/{fileName}/webhook/public

Request

  • Base URL
    http://localhost/api/v1
  • Auth
    • HTTP bearer
    • or HTTP basic
    • or none

Path parameters

fileNamestring regex required

Name of the DAG file

the name of the DAG file

Query parameters

remoteNodestring

name of the remote node

Response

The webhook with its public URL turned on

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

Changes