POST /v2/consents
Changed onCreate and insert a consent
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.
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
Request body
Response
Consent inserted
Changes
- info
added the new optional request property
//
- info