Skip to main content

ContactConsentGql

A contact's consent for one channel and purpose.

type ContactConsentGql {
channel: ConsentChannel!
contactId: ID!
id: ID!
occurredAt: DateTime!
partnerId: ID!
purpose: ConsentPurpose!
source: ConsentSource!
status: ConsentStatus!
}

Fields​

ContactConsentGql.channel ● ConsentChannel! non-null enum​

The channel the consent is for.

ContactConsentGql.contactId ● ID! non-null scalar​

The ID of the contact.

ContactConsentGql.id ● ID! non-null scalar​

The unique ID of this record.

ContactConsentGql.occurredAt ● DateTime! non-null scalar​

When it was given.

ContactConsentGql.partnerId ● ID! non-null scalar​

The ID of the partner.

ContactConsentGql.purpose ● ConsentPurpose! non-null enum​

What the consent is for.

ContactConsentGql.source ● ConsentSource! non-null enum​

How the consent was given.

ContactConsentGql.status ● ConsentStatus! non-null enum​

Whether the contact opted in or out.

Returned By​

recordContactConsent mutation

Member Of​

PartnerConsentGql object