Leads Query

Leads Query provides the structure and parameters for querying lead data in the Touchpoint API.

Overview

Leads Query provides the structure and parameters for retrieving lead information through the Touchpoint API.

Arguments

gathering: (GatheringParams)
LeadParams

Attributes

scannedBy: (String!)
lastName: (String!)
firstName: (String!)
scannedAt: (Date!)
fieldValues {
  fieldDefinition {
    id
    fieldType
    label
    options
  }
  id
  value
}
state: (String!)
updatedAt: (Date!)
street2: (String!)
notes: (String!)
address: (String!)
city: (String!)
postalCode: (Int!)
street1: (String!)
exhibitor:
more info
createdAt: (Date!)
leadCode: (Int!)

CURL Request

curl -X POST https://api.certaintouchpoint.com/graphql -H 'Content-Type: application/graphql' -H 'Authorization: Bearer 123abcveryLongAuthorizationToken456def' -d '{leads( gatheringId: 232) {firstName lastName address}}'