Contact attribute lookup error notifications event
Webhook
When attribute update validation errors occur, Inbox 2.0 sends a request to the configured notification URL.
Configure notification URL
When you send your CRM managed contact attributes, Inbox 2.0 does some validation on the response. To see validation errors, we've provided a way to send notifications from Inbox 2.0 to your system. You need to provide a POST endpoint that accepts a JSON request body. Configure a notification URL on the same screen where you configured a lookup URL:
- Go to
Admin settings. - Expand
Integration and APIs. - Select
CRM.
Handle the request
When validation errors occur, Inbox 2.0 sends a request to the configured notification URL. A request looks like this.
The request contains these two fields:
- eventType
- messages: an array of explicit error messages
The following are the event types that can be sent by Inbox 2.0.
| Event type | Description |
|---|---|
| DATA_IMPORT_ERROR | Error occurred while pulling data from the CRM to Inbox 2.0. |
The response to this request can be a 204. Inbox 2.0 does not expect anything in the response body.
Request
Responses
- 204
- 4xx
- 5xx
To indicate that the notification was received successfully
Could not process notification
Could not process notification