Context

This parameter contains the context details of the chosen module (conversation, contact, lead, company). The context object will be different according to the module and entities.

ParameterDescription
dataThe object that contains the entity data based on the context. 
idUnique ID for the entity
typeThe type of entity for which the context is being invoked

The above reference is the context from the contact module.

Conversation module context:

{
   "data":{
      "email_id":"zillium.pboyle@zylker.com",
      "phone":"18147471717"
   },
   "id":"403000208743933",
   "type":"conversation"
}

 

Contact module context:

{
  "data": {
    "email_id": "james@zylker.com",
    "country": "United States",
    "os": "Android",
    "city": "San Francisco",
    "ip": "42.106.77.63",
    "type": "contact",
    "uuid": "515643dc-44ee-4b88-8fsnkf-20f0dc2e8a92_a0",
    "phone": "55654 459345",
    "lvtime": 1638864379203,
    "browser": "Google Chrome",
    "state": "California",
    "id": "671017000000023001",
    "first_name": "James"
  },
  "id": "671017000000023001",
  "type": "contact"
}

 

Lead module context:

{
  "data": {
    "country": "United Kingdom",
    "os": "unknown",
    "city": "kenn",
    "lvtime": 1581592202252,
    "browser": "Apple Safari",
    "ip": "172.24.136.233",
    "state": "england",
    "id": "606000007540015",
    "type": "lead",
    "uuid": "6b6ca1f0-bb93-45hho02-21773e16e9ae_a0",
    "first_name": "Visitor 7868"
  },
  "id": "606000007540015",
  "type": "lead"
}

 

Company module context:

{
  "data": {
    "email_id": "press@fb.com",
    "domain": "https://www.facebook.com",
    "name": "facebook"
  },
  "id": "606000008703013",
  "type": "company"
}