Register and Verify a Cookie
A 2-step recipe with Didomi. We can help you get access.
Recipe · 2 steps
Register and Verify a Cookie
with Didomi
Register a cookie for a property and read it back by ID.
- Register a cookie for the property. name, domain, taxonomy_id and property_id are all required by the CookieInput schema.
- Read the cookie back by its ID to confirm it was registered.
What you'll need to have ready
- token: A valid Didomi JWT used as the bearer token for the Authorization header.
- propertyId: The ID of the property that sets this cookie.
- name: Name of the cookie.
- domain: Domain the cookie is set on (same as the property or a sub-domain).
- taxonomyId: The ID of the taxonomy item for classifying this cookie.
- lifetime: Optional lifetime of the cookie in seconds.
- vendorId: Optional ID of the vendor that sets or uses this cookie.
For your developer
Arazzo workflow didomi:register-cookie, 2 operations: {$sourceDescriptions.cookiesApi.url}#/paths/~1cookies/post → {$sourceDescriptions.cookiesApi.url}#/paths/~1cookies~1{id}/get. Specs on APIs.io.