curl --request POST \
--url https://public.watermelon.ai/api/v1/webhooks \
--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
}
'1curl --request POST \
--url https://public.watermelon.ai/api/v1/webhooks \
--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
}
'1Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
HTTP verb ID (GET 1, PUT 2, POST 3, DELETE 4)
1
Entity ID (conversation 1, contact 2, field 3, message 5)
1
"https://watermelon.co"
Trigger action ID (create 1, update 2, delete 3, archive 4, forward-team 5, forward-agent 6)
1
1
Webhook created
The response is of type integer.
1