Webhooks

PATCH /public/v1/webhooks/{id}

Changed on

Update a webhook. Only the fields you send are changed. triggerTypes replaces the full list. enabled=false pauses delivery without deleting the webhook; enabled=true resumes it. WORKSPACE webhooks require ADMIN/OWNER.

Request

  • Base URL
    https://api.joinvalley.co
  • Auth
    API key in header x-api-key

Path parameters

idstring required

Request body

labelstring
webhookUrlstring

New absolute http(s) endpoint.

triggerTypesstring[]

Events that fire this webhook. PROSPECT_RESPONSE and SEND_FIRST_PROSPECT_RESPONSE are mutually exclusive; if both are sent only PROSPECT_RESPONSE is kept.

enabledboolean

false pauses delivery, true resumes it.

Response

Default Response

statusCodenumber
statusboolean
messagestring

Changes