Discussions
Adding webhook subscription failing
4 days ago by Nicholas Lornie
Hi,
I'm trying to set up a test webhook subscription for the job object and the work_done_description field, I'm passing these through in x-www-form-urlencoded format along with a callback_url of https://f3aa594a-6a2e-4a69-a7ed-f1bcbe4ce60c.mock.pstmn.io/servicem8callback which should be returning the challenge token.
I'm sending the POST request to https://api.servicem8.com/webhook_subscriptions/object with an x-api-key header, but I get a success:false response back with no messages, is there anything i can try to see what's wrong with the request?
Thanks,
Nick