query Lead($id: String!) {
lead(id: $id) {
attribution
company
completedCallCount
consent {
agreed
at
disclosure
grantedAt
id
kind
}
createdAt
daysSinceCreated
}
}{
"id": "string"
}{
"data": {
"lead": {
"attribution": "value",
"company": "string",
"completedCallCount": "value",
"consent": [
{
"agreed": true,
"at": "string",
"disclosure": "string",
"grantedAt": "string",
"id": "string",
"kind": "aura_sms"
}
],
"createdAt": "string",
"daysSinceCreated": "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
Every consent box and what the person chose, in the order they were
recorded. This includes Aura's own box for appointment texts, and STOP
replies. agreed is true only while they agree for the lead's current phone
number.
An empty list means no consent is on file: that is not the same as
declined, but treat it as no consent. A box they did not tick is only
recorded once they finish the form. Consent can change after you read it,
for example when the person replies STOP, so read the lead again right
before you text them. The phone number is sent either way.
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
Raw settled-payment amounts with no recorded currency. These amounts cannot be added to a currency total.
Full name
Next scheduled call
Additional notes about the lead
How many payments this lead has made.
Rolled-up payment state for this lead. Two values are emitted: partial once any payment has been recorded, and pending before the first one or after refunds return the total to zero. It does NOT report whether a deal is paid in full — Aura has no expected total to compare against — so do not treat partial as a shortfall. Use total_paid_cents for the amount. Denormalised on the row; payments remains the authoritative edge.
Phone number
Settled payment totals grouped by currency. No exchange rates are applied.
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
consent {
agreed
at
disclosure
grantedAt
id
kind
}
createdAt
daysSinceCreated
}
}{
"id": "string"
}{
"data": {
"lead": {
"attribution": "value",
"company": "string",
"completedCallCount": "value",
"consent": [
{
"agreed": true,
"at": "string",
"disclosure": "string",
"grantedAt": "string",
"id": "string",
"kind": "aura_sms"
}
],
"createdAt": "string",
"daysSinceCreated": "value"
}
}
}