Skip to main content
objectLeadConsent

Fields

agreed
Boolean!

True only while the person agrees and the choice was made for the lead's current phone number. False if they never ticked the box, took it back, or agreed for a different number (see phone).

at
String!

When the current choice was made (ISO 8601): when they agreed, took it back, or finished the form without ticking the box.

disclosure
String

The fine print shown beside the box, when it had any. For Aura's box for appointment texts: how often texts come, that rates may apply, and how to stop them.

grantedAt
String

For a withdrawn box, when they first agreed (ISO 8601). Null for every other state.

id
String!

Which box this is, stable when its wording changes: the box's own id for a box the team added, aura_sms for Aura's box for appointment texts, data_consent for the data-processing box. Match on this, not on label.

What the box is.

label
String!

The words on the box, as the person saw them.

The links the box showed, such as SMS terms or a privacy policy.

phone
String

The phone number this choice was made for. If it is not the lead's phone now, agreed is false. Null for a choice made before Aura kept the number; that choice counts for the lead's phone now.

How the choice reached Aura. Null when Aura did not record how.

What the person chose for this box.