Skip to main content
PATCH
/
webhooks
/
apps
/
{app_name}
Update webhook app
curl --request PATCH \
  --url https://api.wacht.dev/webhooks/apps/{app_name} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "updated-app-name",
  "description": "Updated description",
  "is_active": true
}
'
{
  "deployment_id": "9876543210987654321",
  "name": "my-webhook-app",
  "description": "Webhooks for user events",
  "signing_secret": "whsec_abc123...",
  "is_active": true,
  "created_at": "2024-01-15T10:30:00Z",
  "updated_at": "2024-01-15T10:30:00Z"
}

Authorizations

Authorization
string
header
required

API key authentication (format: Bearer {api_key})

Path Parameters

app_name
string
required

Webhook app name

Body

application/json
name
string

New app name

Example:

"updated-app-name"

description
string

App description

Example:

"Updated description"

is_active
boolean

Whether the app is active

Example:

true

Response

Webhook app updated

deployment_id
string

Deployment ID

Example:

"9876543210987654321"

name
string

Webhook app name

Example:

"my-webhook-app"

description
string | null

App description

Example:

"Webhooks for user events"

signing_secret
string

Signing secret for webhook verification

Example:

"whsec_abc123..."

is_active
boolean

Whether the app is active

Example:

true

created_at
string<date-time>

Creation timestamp

Example:

"2024-01-15T10:30:00Z"

updated_at
string<date-time>

Last update timestamp

Example:

"2024-01-15T10:30:00Z"