Consent

Get consent records for a user

Retrieve all consent records for a specific website visitor. Use this for compliance audits to prove consent was obtained.

get/api/v1/consent/{userId}

Request

  • Base URL: https://policyforge.co
  • URL: https://policyforge.co/api/v1/consent/{userId}
  • Auth: HTTP bearer

Path parameters

userIdstring required

The website visitor's identifier (as provided when recording consent)

Response

Consent records

user_idstring
total_recordsinteger

Example response

{
  "consent_records": [
    {
      "status": "recorded"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.