VocalDocscontracts 1.65.0

ConsentState

The derived state of one channel, subject, scope and purpose (1.61.0), changed in the transaction that records a consent event and read by admission and the send path.

An object with 10 fields.

Fields

FieldTypeRequiredDescription
channelConsentChannelyes
identity_idContactIdentityId or nullyesThe identity of the Contact whose address it is about; null for memory.
object"consent_state"yes
purposeConsentPurposeyes
record_idConsentRecordIdyesThe record that set the state.
scopeConsentScopeyes
senderConsentSender or nullyes
sourceConsentSourcenoWhere the record that set the state came from (1.62.0); GET /v1/consent-records/{consent_record_id} reads the record with its evidence. Absent from an api before 1.62.0.
stateConsentStateValueyes
updated_atTimestampyes