Add a new webhook to the specified campaign.
curl --request POST \ --url https://api.voxia.ai/campaigns/{campaignId}/webhook/subscribe \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "url": "<string>", "events": [ "POST_PROCESSING_FINISHED:INTERESTED", "POST_PROCESSING_FINISHED:NOT_INTERESTED", "POST_PROCESSING_FINISHED:CALL_ME_LATER", "POST_PROCESSING_FINISHED:WRONG_NUMBER", "POST_PROCESSING_FINISHED:DO_NOT_CALL" ] }'
{ "status": "success", "data": true }
The campaign ObjectId as a string.
success