Skip to main content

Events & Webhooks

Overview#

Architect gives you the ability to subscribe to certain events that happen while using the API.

Event types#

The list of default event types is as follows:

{entity}_created

{entity}_updated

{entity}_deleted

Additionally, with each create/update/delete request you have the ability to specify a different event type by passing a parameter called event_type with the request.

Subscribing to events#

To subscribe to an event, you simply create a webhook for the given event type through Dashboard, and pass in a URL to which a POST request will be sent. The request will have a body containing attributes of the entity related to the event.