query Lead($id: String!) {
lead(id: $id) {
attribution
company
completedCallCount
createdAt
daysSinceCreated
disqualificationData
}
}{
"id": "string"
}{
"data": {
"lead": {
"attribution": "value",
"company": "string",
"completedCallCount": "value",
"createdAt": "string",
"daysSinceCreated": "value",
"disqualificationData": "value"
}
}
}lead
lead(id: String!): Lead!Arguments
- Lead UUID @param id - Lead UUID
Returns
Every attribution parameter this lead's URLs carried. Provider-specific keys can appear without a schema version change.
Call records for this lead, including booking intents and scheduled bookings
Supports filtering and pagination. Returns a connection for Relay-style pagination.
Company name
Number of completed calls
When lead was created
Days since lead was created
Why this lead was disqualified during booking: the form-field state and the ruleset that fired. Null when the lead was not disqualified.
Email address
Whether lead has any scheduled call in the future
Unique identifier
When this lead most recently paid. Null if they never have.
Most recent call
Full name
Next scheduled call
Additional notes about the lead
How many payments this lead has made.
Rolled-up payment state for this lead (pending, partial, paid, ...).
Denormalised on the row; payments remains the authoritative edge.
Phone number
Lead source attribution (UTM params, referrer)
Current status in sales funnel
Lead's timezone (e.g., "America/New_York")
Total revenue from this lead across all payments
When lead was last updated
query Lead($id: String!) {
lead(id: $id) {
attribution
company
completedCallCount
createdAt
daysSinceCreated
disqualificationData
}
}{
"id": "string"
}{
"data": {
"lead": {
"attribution": "value",
"company": "string",
"completedCallCount": "value",
"createdAt": "string",
"daysSinceCreated": "value",
"disqualificationData": "value"
}
}
}