docs
Events

Event: audience.new_leads

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 watched audience finds new leads.

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*

The new leads from this run and the counts.

Response Body

Return any 2xx status to acknowledge the event.

Example Requests
POST/audience.new_leads

Sent when a watched audience finds new leads.

Request Body
application/json
{  "id": "string",  "type": "audience.new_leads",  "created": "2019-08-24T14:15:22Z",  "workspace_id": "string",  "data": {    "audience_id": "string",    "run_id": "string",    "new_count": -9007199254740991,    "revealed_count": -9007199254740991,    "masked_count": -9007199254740991,    "leads": [      {        "id": "string",        "first_name": "string",        "last_name": "string",        "email": "string",        "emails": [          "string"        ],        "business_email": "string",        "phone": "string",        "mobile_phone": "string",        "direct_phone": "string",        "linkedin_url": "string",        "address": {          "line1": "string",          "line2": "string",          "city": "string",          "state": "string",          "zip": "string",          "country": "string"        },        "demographics": {          "gender": "male",          "age_range": "18-24",          "married": true,          "children": true,          "income_range": "<20k",          "net_worth": "<0",          "homeowner": true        },        "job": {          "title": "string",          "seniority": "c_suite",          "department": "administrative"        },        "company": {          "name": "string",          "domain": "string",          "phone": "string",          "industry": "string",          "size": "1-10",          "revenue": "<1m",          "sic": "string",          "naics": "string",          "city": "string",          "state": "string",          "country": "string"        },        "intent": {          "level": "high",          "topic": {            "id": "string",            "name": "string",            "category": "string"          },          "last_active": "string"        },        "household": {          "property1": "string",          "property2": "string"        },        "updated_at": "string"      }    ],    "reveal_url": "string",    "batch": {      "id": "string",      "part": -9007199254740991,      "parts": -9007199254740991    }  }}