docs
Events

Event: enrichment.completed

We POST this payload to your endpoint. Verify the Diced-Signature header (t=,v1=<hex HMAC-SHA256 of 't.body'>) with your endpoint's secret. Answer with any 2xx status within 10 seconds, or we retry.

Request Body

application/json
  1. body

Sent when a batch enrichment job finishes.

id*string

Unique event id. Starts with evt_. Use it to ignore duplicate deliveries.

Match^evt_
type*string

Event type.

created*string

When the event happened, as an ISO 8601 timestamp.

Match^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
Formatdate-time
workspace_id*string

Workspace the event belongs to.

data*

Result of the job.

Response Body

Return any 2xx status to acknowledge the event.

Example Requests
POST/enrichment.completed

Sent when a batch enrichment job finishes.

Request Body
application/json
{  "id": "string",  "type": "enrichment.completed",  "created": "2019-08-24T14:15:22Z",  "workspace_id": "string",  "data": {    "job_id": "string",    "status": "completed",    "total": -9007199254740991,    "matched": -9007199254740991,    "chips_charged": -9007199254740991  }}