GET /v2/consents/unified/{subjectRef}
Retrieves the unified consent for a subject.
Request
- Base URLhttps://uc.api.osano.com
- AuthAPI key in header x-uc-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
subjectRefstring required
Anonymous id, verified id, or a valid session id.
Query parameters
ref'subject' | 'session'
Indicates what type of reference is provided for the subject. Supports a subject id or a session id.
Headers
x-country-code-overridestring
Valid ISO 3166-1 country code to override the country resolution based on the IP address.
x-region-code-overridestring
Valid ISO 3166-2 region code to override the region resolution based on the IP address
Response
Valid unified consent.
Changes
No recorded changes to this operation across all 1 revision of this API.