Skip to main content

ConsentEventsResponse

consent object

The consent record the events belong to.

idinteger

Unique identifier of the consent record.

user_idinteger

Identifier of the user the consent belongs to.

org_idinteger

Identifier of the organization the consent applies to.

consent_typestring

The category of consent this record applies to, such as auto_top_up.

actionstring

The current consent decision, either granted or revoked.

ip_addressstring

IP address from which the consent decision was recorded.

consent_methodstring

How the consent decision was captured, such as web_checkbox or api.

created_atstring

Timestamp when the consent record was created.

updated_atstring

Timestamp when the consent record was last updated.

events object[]

List of grant and revoke events for the consent record, most recent first.

  • Array [
  • idinteger

    Unique identifier of the consent event.

    consent_idinteger

    Identifier of the consent record this event belongs to.

    user_idinteger

    Identifier of the user who triggered the event.

    actionstring

    The consent decision recorded by this event, either granted or revoked.

    ip_addressstring

    IP address from which the event was recorded.

    consent_methodstring

    How the consent decision was captured, such as web_checkbox or api.

    created_atstring

    Timestamp when the event was recorded.

  • ]
  • ConsentEventsResponse
    {
    "consent": {
    "id": 0,
    "user_id": 0,
    "org_id": 0,
    "consent_type": "string",
    "action": "string",
    "ip_address": "string",
    "consent_method": "string",
    "created_at": "string",
    "updated_at": "string"
    },
    "events": [
    {
    "id": 0,
    "consent_id": 0,
    "user_id": 0,
    "action": "string",
    "ip_address": "string",
    "consent_method": "string",
    "created_at": "string"
    }
    ]
    }