Management

Patch webhook headers

Changed on

Upsert additional headers for a webhook. Provided headers are merged with existing headers, and existing values are overwritten when names match. Returns updated headers, or 404 if the project or webhook does not exist. This endpoint requires the write:all scope.

post/management/projects/{projectId}/webhooks/{webhookId}/additional-headers

Request

  • Base URL: https://api.liveblocks.io/v2
  • URL: https://api.liveblocks.io/v2/management/projects/{projectId}/webhooks/{webhookId}/additional-headers
  • Auth: none declared

Path parameters

projectIdstring required

ID of the project

Example:683d49ed6b4d1cec5a597b13
webhookIdstring required

ID of the webhook

Example:wh_abc123

Request body

headersManagementWebhookAdditionalHeaders required

Example request

{
  "headers": {
    "X-Custom-Header": "value"
  }
}

Response

Success. Returns the updated headers.

headersobject required

Example response

{
  "headers": {
    "X-Custom-Header": "value"
  }
}

Changes