curl --location --request POST 'https://api.plusvibe.ai/api/v1/hook/add' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"workspace_id": "65099a0dd96fae8ab61130c0",
"name": "My Webhook",
"url": "https://example.com/webhook-handler",
"camp_ids": [
"675926845560f5bb420dca12",
"670b156d989304cbe0949b09"
],
"event_types": [
"LEAD_MARKED_AS_INTERESTED",
"ALL_EMAIL_REPLIES"
],
"is_slack": null,
"secret": "",
"ignore_ooo": 1,
"ignore_automatic": 0
}'
{
"status": "success",
"_id": "675fb344e5c1f6922e9f9eba"
}