JSON data with properties corresponding to the fields in the specified Lead type
keys
: Required. Uniquely identifiable keys for the lead, configured in the Rubiq Lead Management app.
data
: Optional. Lead entity data fields, configured in the Rubiq Lead Management app. Note that this property is only optional as long as no required data fields have been configured.
context
: Optional. Extra information about where this lead has come from, e.g. pageUrl
, ticket
, popupName
, partnerName
, employeeName
, ...
Code Block |
---|
|
{
"keys": {
"email": "mailbox@mailserver.com",
"mobile": "123 456 789"
},
"data": {
"name": "John Doe",
"address": "1 Harbour Tce., Townsville"
},
"context": {
"pageUrl": "https://domain.org/lead/generation",
"campaignID: "f3ff7b9a-c57c-409b-8d6a-8d6c44640f0e"
}
} |