Skip to main content
PUT
/
webhooks
/
{id}
Update Webhook
curl --request PUT \
  --url https://public.watermelon.ai/api/v1/webhooks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "verb_id": 1,
  "entity_id": 1,
  "url": "https://watermelon.co",
  "action_id": 1,
  "zapier_id": 1
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Body

application/json
verb_id
integer
required

HTTP verb ID (GET 1, PUT 2, POST 3, DELETE 4)

Example:

1

entity_id
integer
required

Entity ID (conversation 1, contact 2, field 3, message 5)

Example:

1

url
string
required
Example:

"https://watermelon.co"

action_id
integer
required

Trigger action ID (create 1, update 2, delete 3, archive 4, forward-team 5, forward-agent 6)

Example:

1

zapier_id
integer
Example:

1

Response

Webhook updated