Skip to main content
PATCH
/
webhooks
/
{id}
Update webhook
curl --request PATCH \
  --url https://api.lava.so/v1/webhooks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "url": "<string>"
}
'
{
  "webhook_id": "<string>",
  "name": "<string>",
  "url": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer token authentication used for standard API calls. Format: 'Bearer YOUR_API_KEY'

Path Parameters

id
string
required

Webhook ID

Body

application/json
name
string

Display name of the webhook

url
string<uri>

URL that will receive webhook events

Response

Webhook updated

webhook_id
string
required

Unique identifier for the webhook

name
string
required

Display name of the webhook

url
string
required

URL that receives webhook events

created_at
string<date-time>
required

When the webhook was created