Skip to main content
POST
/
api
/
gdpr
/
consent
Record GDPR consent
curl --request POST \
  --url https://api.propops.app/api/gdpr/consent \
  --header 'Content-Type: application/json' \
  --data '
{
  "consent_type": "analytics_cookies",
  "accepted": true,
  "consent_version": "1.0",
  "fingerprint": "fp_001",
  "choices": {},
  "email": "jsmith@example.com"
}
'
{
  "success": true,
  "message": "Operation completed successfully"
}

Body

application/json
Available options:
essential_cookies,
analytics_cookies,
marketing_cookies
Example:

"analytics_cookies"

accepted
boolean
required
Example:

true

Example:

"1.0"

fingerprint
string
Example:

"fp_001"

choices
object
email
string<email> | null

Response

200 - application/json

Consent recorded

success
boolean
Example:

true

message
string
Example:

"Operation completed successfully"