Lead API Fields
Marcel Ursprung avatar
Written by Marcel Ursprung
Updated over a week ago

The Lead API is available only for clients using Envoke's lead distribution and lead attribution functionality. The vast majority of our customers use the Contact API or email sending API.


Fields

id:

Lead Id 

contact:

A full Contact API object embedded in the lead object. See Contact API Fields for more information.

business_unit:

remote_id:

marketing_user:

salesperson:

create_time:

create_note:

rule_rating:

marketing_rating_status:

marketing_rating:

marketing_rating_time:

marketing_rating_note:

sales_rating_status:

sales_rating:

sales_rating_time:

sales_rating_note:

opportunity:

opportunity_time:

opportunity_note:

sale:

sale_time:

sale_note:

revenue:

cost_of_goods_sold:

lead_region:

sales_channel:

industry:

timing:

budget:

marketing_source:

marketing_medium:

marketing_campaign:

visitor_id:

visit_id:

pageview_id:

Envoke Lead Object (with embedded Contact Data Object)

{
   "id": "1234",
   "contact": {
      "id": "321654",
      "remote_id": "",
      "first_name": "John",
      "last_name": "Purchase",
      "title": "Chief Architect",
      "email": "new-contact@api-testing.com",
      "company": "Art Vandelay Import/Exports",
      "phone": "647-987-1234",
      "address_1": "401 Richmond Street West",
      "address_2": "",
      "city": "Toronto",
      "country": "CA",
      "province": "ON",
      "postal_code": "M5V 5K7",
      "website": "",
      "language": "en",
      "feedback": "Hello. I'm interested in buying many of your widgets, please have someone contact me immediately!",
      "consent_status": "Express",
      "consent_description": "Lead is super interested in receiving our spam",
      "custom_fields": [
         "widget_name": "Gold Deluxe Model 5X33"
      ],
      "interests": [
         "Business Products",
         "International",
         "Consumer"
      ],
      "autoresponders": [
         "Marketing Sequence 1",
         "Whitepaper Download"
      ]
   },
   "business_unit": "B2B Widgets",
   "remote_id": "",
   "marketing_user": "Jane Manager",
   "salesperson": "Tom Salesman",
   "create_time": "2016-02-05 09:13:06",
   "create_note": "",
   "rule_rating": "Hot",
   "marketing_rating_status": "Passed to sales",
   "marketing_rating": "Hot",
   "marketing_rating_time": "2016-02-05 10:57:42",
   "marketing_rating_note": "This is a great lead! You should check it out",
   "sales_rating_status": "Rated good",
   "sales_rating": "Contacted: Good",
   "sales_rating_time": "2016-02-06 14:17:37",
   "sales_rating_note": "",
   "opportunity": "Yes",
   "opportunity_time": "2016-02-06 14:17:37",
   "opportunity_note": "They are interested in buying widgets",
   "sale": "Yes",
   "sale_time": "2016-02-08 11:43:27",
   "sale_note": "Purchased 6 widgets",
   "revenue": "7595.00",
   "cost_of_goods_sold": "6200.00",
   "lead_region": "North America",
   "sales_channel": "Consumer",
   "industry": "Telecommunications",
   "timing": "< 1 month",
   "budget": "$5000+",
   "marketing_source": "Google",
   "marketing_medium": "cpc",
   "marketing_campaign": "early-funnel-campaign",
   "visitor_id": "1434636651779",
   "visit_id": "1455028009329",
   "pageview_id": "1455032370950"
}

 

Did this answer your question?