Webhooks are a way for matteroTM to provide other applications with live data whenever an event occurs. Providing an alternative and more efficient way to watch for information as opposed to polling a particular endpoint until a change is detected.
Webhooks function as RESTful API callbacks that need to be set up to function. Whenever conditions are met for the event of a particular webhook, a RESTful POST is made to the registered callback URL with a JSON body of data for the receiving application to use.
Below is a list of the current endpoints to create, and delete Webhooks in matteroTM.
Action | Method | Endpoint |
---|---|---|
Get All Registered Webhooks | GET | https://my.mattero.com.au/public/api/v1/webhook |
Create Webhook | POST | https://my.mattero.com.au/public/api/v1/webhook |
Delete Webhook | DELETE | https://my.mattero.com.au/public/api/v1/webhook |