GET /admin/compliance/gdpr/consent/{decision_id}
Get detailed information of a single user consent record by ID
Compliance Management - Consent `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
consent ID |
Referenced Schemas
dto.ConsentItem
User consent record
| Field | Type | Required | Example | Constraints | Description |
consent_method |
string |
No |
explicit |
|
Consent method |
expired_at |
string |
No |
2026-04-16T14:00:00Z |
|
Expiration time |
granted |
boolean |
No |
True |
|
Consent given |
granted_at |
string |
No |
2026-04-15T10:00:00Z |
|
Consent time |
id |
string |
No |
consent_001 |
|
Consent record ID |
purpose |
string |
No |
marketing_communication |
|
Processing purpose |
service |
string |
No |
newsletter |
|
Service name |
user_id |
string |
No |
usr_abc123 |
|
User ID |
dto.ConsentItemResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.ConsentItem |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.ErrorResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
400 |
|
|
message |
string |
No |
invalid request |
|
|