Discussions

Ask a Question
Back to all

V1 Webhooks - does POST "Create a new company webhook" work?

Hello,

I'm building out my integration, and would like to use the v1 webhook endpoint (https://api.gomotive.com/v1/company_webhooks).


I'm getting a 201 response, but it seems like some data is missing from the response (including id, actions, and webhook_type).

{
"company_webhook": {
"id": null,
"url": MY_URL,
"secret": RETURNED_SECRET,
"format": "json",
"actions": [],
"enabled": true,
"webhook_type": null
}
}


Furthermore, I am getting an empty array when I try to view existing company webhooks
(https://api.gomotive.com/v1/company_webhooks)

Is this the expected behavior? What's the proper way to set up webhooks via API?