Get Latest Consent Version Details
GET/consent-management-srv/v2/consent/versions/details/:consent_id
Returns the latest consent version for a consent instance, including the consent content for the requested locale, and enriches scopes with registration field details.
Scopes: For each stored scope key, cidaas looks up enabled registration fields. Scope entries returned here include scope, allowed_fields, and allowed_fields_localText when fields exist. A scope with no enabled registration field is not included in this enriched list (it still appears on the lite endpoint).
Use Get Latest Consent Version Lite for the full configured scope key list without field enrichment.
This is a legacy v2 path under /consent-management-srv. No OAuth bearer token is required; tenant context is taken from the request host / tenant headers.
Request
Responses
- 200
- 204
- 417
OK — latest consent version with field details
No Content — no consent version exists for this consent instance
Expectation Failed — consent_id or locale missing