Skip to main content

UserConsentsResponse

consents object[]

List of consent records on the account.

  • Array [
  • 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.

    latest_consent_versionstring

    The most recent template version available for this consent type.

    is_version_currentboolean

    Whether this consent was recorded against the latest template version.

  • ]
  • UserConsentsResponse
    {
    "consents": [
    {
    "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",
    "latest_consent_version": "string",
    "is_version_current": true
    }
    ]
    }