{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"CookieChimp Docs","colors":{"primary":"#385be9","light":"#3f79f6","dark":"#385be9"},"logo":{"light":"https://mintcdn.com/identitysquare/apIhG7ZyseCffQHM/logo/light.svg?fit=max\u0026auto=format\u0026n=apIhG7ZyseCffQHM\u0026q=85\u0026s=31b0b52ff4d46777b33e7e8b711f82f1","dark":"https://mintcdn.com/identitysquare/apIhG7ZyseCffQHM/logo/dark.svg?fit=max\u0026auto=format\u0026n=apIhG7ZyseCffQHM\u0026q=85\u0026s=9b958393595f061d058bf1f7fee653a4"},"favicon":"https://mintcdn.com/identitysquare/PNp7zvpuSh_GT_4M/favicon.png?fit=max\u0026auto=format\u0026n=PNp7zvpuSh_GT_4M\u0026q=85\u0026s=0f1cf47c388e7991359a723a94c0dcaa","api":{"openapi":["openapi.yaml"]},"background":{"color":{"light":"#fafbfc","dark":"#1e1e1e"}},"navbar":{"primary":{"type":"button","label":"Get Started","href":"https://cookiechimp.com/users/sign_up"}},"footer":{"socials":{"twitter":"https://twitter.com/danielpaulme","github":"https://github.com/IdentitySquare/CookieChimp-Docs"},"links":[{"header":"Product","items":[{"label":"Features","href":"https://cookiechimp.com/"},{"label":"Integrations","href":"https://cookiechimp.com/"},{"label":"Pricing","href":"https://cookiechimp.com/pricing"}]},{"header":"Company","items":[{"label":"About","href":"https://cookiechimp.com"},{"label":"Blog","href":"https://cookiechimp.com/blog"},{"label":"Contact","href":"https://cookiechimp.com"}]}]},"icons":{"library":"lucide"},"styling":{"eyebrows":"section","latex":false},"integrations":{"intercom":{"appId":"r4jecam1"},"pirsch":{"id":"Vr5YSZNge2WlBW5CxGvi7U2UDRBNPCka"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Quick Start","icon":"rocket","color":{"light":"#9d59ef","dark":"#9d59ef"},"href":"https://cookiechimp.com/install"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"identitysquare","hasAudioNarration":false,"actualSubdomain":"identitysquare","customDomains":["docs.cookiechimp.com"],"gitSource":{"type":"github","owner":"identitysquare","repo":"cookiechimp-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"edits":true,"issues":true,"thumbs":true},"entitlements":{"REMOVE_BRANDING":{"status":"ENABLED"}},"buildId":"6aec76089c320f62bb693758","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"default","tag":"API Reference","count":57},{"language":"default","tag":"Documentation","count":52},{"language":"default","tag":"Platform Specific Installation","count":23},{"language":"default","tag":"Consent SDK","count":16},{"language":"default","tag":"Integrations","count":11},{"language":"default","tag":"Website Builders","count":10},{"language":"default","tag":"Consent Banners","count":8},{"language":"default","tag":"SDK reference","count":8},{"language":"default","tag":"Advanced","count":7},{"language":"default","tag":"Get Started","count":7}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--rounded-md: 5px;--rounded-lg: 5px;--rounded-xl: 12px;--rounded-2xl: 18px;--rounded-full: 300px}"}],"page":{"pagePath":"api-reference/consents/get-consent","slug":"/api-reference/consents/get-consent","pageMetadata":{"openapi":"get /consents/{id}","title":"Get consent","description":"Get consent by ID","href":"/api-reference/consents/get-consent"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get consent by ID\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"get /consents/{id}","title":"Get consent","description":"Get consent by ID","href":"/api-reference/consents/get-consent"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/identitysquare/e3b0c44298fc1c14/script.js"],"openApiReferenceData":{"operation":{"summary":"Get consent","description":"Get consent by ID","operationId":"getConsent","tags":["Consents"],"parameters":["71f776fb-de5e-47cf-864c-637df9a75068"],"responses":{"200":"f5c61003-76c7-45ee-847c-eca8b8952573","401":"207d8d6b-31ba-41f4-9340-ac208fee4669","404":"99d8cba7-14df-4eb3-8805-8b7e10d0fe44","429":"59cf47fc-f81a-45e5-b82d-304c7c6b0432"},"method":"get","type":"path","servers":["8439b2c1-36f7-4b79-b6d0-ccdd92b648aa"],"security":["653ef861-0365-46f3-99c9-9b1a7c98db67"],"path":"/consents/{id}","baseUrlOptions":["https://cookiechimp.com/api/v1"],"title":"Get consent","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"71f776fb-de5e-47cf-864c-637df9a75068":{"name":"id","in":"path","description":"ID of the resource","required":true,"schema":{"type":"string","isRequired":true,"description":"ID of the resource","uniqueKey":"","typeLabel":"string"}}},"responses":{"f5c61003-76c7-45ee-847c-eca8b8952573":{"description":"Consent","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","description":"A consent record, written when a visitor interacts with the consent\nbanner.\n","properties":{"id":{"type":"string","description":"Unique identifier for the consent","uniqueKey":"data.id","typeLabel":"string"},"consent_banner_id":{"oneOf":[{"type":"string","description":"ID of the consent banner the visitor saw","uniqueKey":"data.consent_banner_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the consent banner the visitor saw","uniqueKey":"data.consent_banner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.consent_banner_id","typeLabel":"string | null"},"uuid":{"type":"string","description":"Anonymous visitor identifier generated by the widget","uniqueKey":"data.uuid","typeLabel":"string"},"url":{"type":"string","description":"URL the consent was given on","uniqueKey":"data.url","typeLabel":"string"},"ip_address":{"oneOf":[{"type":"string","description":"Partially masked IP address of the visitor","uniqueKey":"data.ip_address.oneOf.0","typeLabel":"string"},{"type":"null","description":"Partially masked IP address of the visitor","uniqueKey":"data.ip_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.ip_address","typeLabel":"string | null"},"ip_country":{"oneOf":[{"type":"string","description":"Two-letter country code resolved from the visitor's IP","uniqueKey":"data.ip_country.oneOf.0","typeLabel":"string"},{"type":"null","description":"Two-letter country code resolved from the visitor's IP","uniqueKey":"data.ip_country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.ip_country","typeLabel":"string | null"},"ip_region":{"oneOf":[{"type":"string","description":"Region resolved from the visitor's IP","uniqueKey":"data.ip_region.oneOf.0","typeLabel":"string"},{"type":"null","description":"Region resolved from the visitor's IP","uniqueKey":"data.ip_region.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.ip_region","typeLabel":"string | null"},"visitor_user_id":{"oneOf":[{"type":"string","description":"ID of the user set by your website","uniqueKey":"data.visitor_user_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the user set by your website","uniqueKey":"data.visitor_user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.visitor_user_id","typeLabel":"string | null"},"accept_type":{"oneOf":[{"type":"string","description":"How the visitor responded. Typically `all`, `custom` or `necessary`.\n","uniqueKey":"data.accept_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"How the visitor responded. Typically `all`, `custom` or `necessary`.\n","uniqueKey":"data.accept_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.accept_type","typeLabel":"string | null"},"accepted_categories":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.accepted_categories.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Slugs of the categories the visitor accepted","uniqueKey":"data.accepted_categories.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Slugs of the categories the visitor accepted","uniqueKey":"data.accepted_categories.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.accepted_categories","typeLabel":"string[] | null"},"rejected_categories":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.rejected_categories.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Slugs of the categories the visitor rejected","uniqueKey":"data.rejected_categories.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Slugs of the categories the visitor rejected","uniqueKey":"data.rejected_categories.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.rejected_categories","typeLabel":"string[] | null"},"accepted_services":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"data.accepted_services.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.accepted_services.oneOf.0.additionalProperties","typeLabel":"string[]"},"description":"Accepted services, keyed by category slug","uniqueKey":"data.accepted_services.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"data.accepted_services.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.accepted_services.oneOf.1.additionalProperties","typeLabel":"string[]"},"description":"Accepted services, keyed by category slug","uniqueKey":"data.accepted_services.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.accepted_services","typeLabel":"object | null"},"rejected_services":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"data.rejected_services.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.rejected_services.oneOf.0.additionalProperties","typeLabel":"string[]"},"description":"Rejected services, keyed by category slug","uniqueKey":"data.rejected_services.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"data.rejected_services.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.rejected_services.oneOf.1.additionalProperties","typeLabel":"string[]"},"description":"Rejected services, keyed by category slug","uniqueKey":"data.rejected_services.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.rejected_services","typeLabel":"object | null"},"accepted_cookies":{"oneOf":[{"type":"array","items":{"type":"object","uniqueKey":"data.accepted_cookies.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Storage items the visitor accepted","uniqueKey":"data.accepted_cookies.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object"},"description":"Storage items the visitor accepted","uniqueKey":"data.accepted_cookies.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.accepted_cookies","typeLabel":"object[] | null"},"rejected_cookies":{"oneOf":[{"type":"array","items":{"type":"object","uniqueKey":"data.rejected_cookies.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Storage items the visitor rejected","uniqueKey":"data.rejected_cookies.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object"},"description":"Storage items the visitor rejected","uniqueKey":"data.rejected_cookies.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.rejected_cookies","typeLabel":"object[] | null"},"device":{"type":"string","description":"Device type derived from the user agent","uniqueKey":"data.device","typeLabel":"string"},"user_agent":{"type":"string","description":"User agent of the visitor's browser","uniqueKey":"data.user_agent","typeLabel":"string"},"gpc_preference":{"oneOf":[{"type":"boolean","description":"Whether the visitor sent a Global Privacy Control signal","uniqueKey":"data.gpc_preference.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the visitor sent a Global Privacy Control signal","uniqueKey":"data.gpc_preference.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.gpc_preference","typeLabel":"boolean | null"},"do_not_sell":{"type":"boolean","description":"Whether the visitor opted out of the sale of their data","uniqueKey":"data.do_not_sell","typeLabel":"boolean"},"created_at":{"type":"string","format":"date-time","description":"Date and time when the consent was recorded","uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"}},"example":{"id":"consent321","consent_banner_id":"banner123","uuid":"8f14e45f-ea8f-4f2e-b1b0-0f1d2c3b4a59","url":"https://example.com/pricing","ip_address":"203.0.113.XXX","ip_country":"GB","ip_region":"England","visitor_user_id":"user456","accept_type":"custom","accepted_categories":["essential","analytics"],"rejected_categories":["marketing"],"accepted_services":{"analytics":["Google Analytics"]},"rejected_services":{"marketing":["Meta Pixel"]},"accepted_cookies":[],"rejected_cookies":[],"device":"desktop","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)","gpc_preference":false,"do_not_sell":false,"created_at":"2023-01-20T12:46:30Z"},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"consent321","consent_banner_id":"banner123","uuid":"8f14e45f-ea8f-4f2e-b1b0-0f1d2c3b4a59","url":"https://example.com/pricing","ip_address":"203.0.113.XXX","ip_country":"GB","ip_region":"England","visitor_user_id":"user456","accept_type":"custom","accepted_categories":["essential","analytics"],"rejected_categories":["marketing"],"accepted_services":{"analytics":["Google Analytics"]},"rejected_services":{"marketing":["Meta Pixel"]},"accepted_cookies":[],"rejected_cookies":[],"device":"desktop","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)","gpc_preference":false,"do_not_sell":false,"created_at":"2023-01-20T12:46:30Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"207d8d6b-31ba-41f4-9340-ac208fee4669":{"description":"Missing or invalid API token, or a token that does not resolve to an\naccount. Account-scoped endpoints accept an account token, or a user\ntoken whose user belongs to an account; partner tokens are rejected.\n","content":{"application/json":{"schema":{"type":"object","description":"The standard error envelope, used for authentication, authorization,\npagination and not-found errors.\n","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"integer","uniqueKey":"errors.items.[INDEX].code","typeLabel":"integer"},"message":{"type":"string","uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"example":{"errors":[{"code":401,"message":"Invalid API Key"}]},"uniqueKey":"","typeLabel":"object"},"example":{"errors":[{"code":401,"message":"API key must belong to an account"}]},"examples":{"Example":{"title":"Example","value":{"errors":[{"code":401,"message":"API key must belong to an account"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"99d8cba7-14df-4eb3-8805-8b7e10d0fe44":{"description":"The record does not exist, or does not belong to the caller","content":{"application/json":{"schema":{"type":"object","description":"The standard error envelope, used for authentication, authorization,\npagination and not-found errors.\n","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"integer","uniqueKey":"errors.items.[INDEX].code","typeLabel":"integer"},"message":{"type":"string","uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"example":{"errors":[{"code":401,"message":"Invalid API Key"}]},"uniqueKey":"","typeLabel":"object"},"example":{"errors":[{"code":404,"message":"Record not found"}]},"examples":{"Example":{"title":"Example","value":{"errors":[{"code":404,"message":"Record not found"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"59cf47fc-f81a-45e5-b82d-304c7c6b0432":{"description":"Too many requests. The general limit is 300 requests per 5 minutes per\nAPI token; the auth endpoints are throttled more tightly per IP.\n","headers":{"Retry-After":{"description":"Seconds until the current rate-limit window resets","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","description":"The standard error envelope, used for authentication, authorization,\npagination and not-found errors.\n","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"integer","uniqueKey":"errors.items.[INDEX].code","typeLabel":"integer"},"message":{"type":"string","uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"example":{"errors":[{"code":401,"message":"Invalid API Key"}]},"uniqueKey":"","typeLabel":"object"},"example":{"errors":[{"code":429,"message":"Too many requests. Please retry later."}]},"examples":{"Example":{"title":"Example","value":{"errors":[{"code":429,"message":"Too many requests. Please retry later."}]}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"653ef861-0365-46f3-99c9-9b1a7c98db67":{"authorization":{"type":"http","scheme":"bearer","description":"API token obtained from the login endpoint or the dashboard","scopes":[],"schemeName":"authorization"}}},"servers":{"8439b2c1-36f7-4b79-b6d0-ccdd92b648aa":{"url":"https://cookiechimp.com/api/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"API token obtained from the login endpoint or the dashboard","scopes":[],"schemeName":"authorization"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API token obtained from the login endpoint or the dashboard","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"authorization","name":"Authorization"}],"title":"authorization"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"identitysquare","siteName":"CookieChimp Docs","title":"Get consent - CookieChimp Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-24T14:29:25.764Z","originalFileLocation":"api-reference/consents/get-consent.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Get consent by ID\">\u003cmeta data-mint-head name=\"application-name\" content=\"CookieChimp Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/identitysquare/BUv9cbu1a2hzyUu7/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/identitysquare/BUv9cbu1a2hzyUu7/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/identitysquare/BUv9cbu1a2hzyUu7/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/identitysquare/BUv9cbu1a2hzyUu7/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/identitysquare/BUv9cbu1a2hzyUu7/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/identitysquare/BUv9cbu1a2hzyUu7/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/identitysquare/BUv9cbu1a2hzyUu7/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/identitysquare/BUv9cbu1a2hzyUu7/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/identitysquare/BUv9cbu1a2hzyUu7/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get consent - CookieChimp Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get consent by ID\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CookieChimp Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cookiechimp.com/docs/api-reference/consents/get-consent\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://identitysquare.mintlify.site/docs/_mintlify/api/og/v2?division=Consents\u0026amp;title=Get+consent\u0026amp;description=Get+consent+by+ID\u0026amp;theme=2c151ca5580d141455668e89\u0026amp;signature=21a30c11491b94c1524db79f881176341331421f29d08d635bf5d457df3dbb92\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get consent - CookieChimp Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get consent by ID\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://identitysquare.mintlify.site/docs/_mintlify/api/og/v2?division=Consents\u0026amp;title=Get+consent\u0026amp;description=Get+consent+by+ID\u0026amp;theme=2c151ca5580d141455668e89\u0026amp;signature=21a30c11491b94c1524db79f881176341331421f29d08d635bf5d457df3dbb92\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/identitysquare/BUv9cbu1a2hzyUu7/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CookieChimp Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#385be9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cookiechimp.com/docs/api-reference/consents/get-consent\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/consents/get-consent.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cookiechimp.com/#organization\",\"name\":\"CookieChimp Docs\",\"url\":\"https://docs.cookiechimp.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/identitysquare/apIhG7ZyseCffQHM/logo/light.svg?fit=max\u0026auto=format\u0026n=apIhG7ZyseCffQHM\u0026q=85\u0026s=31b0b52ff4d46777b33e7e8b711f82f1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cookiechimp.com/docs#website\",\"name\":\"CookieChimp Docs\",\"url\":\"https://docs.cookiechimp.com/docs\",\"publisher\":{\"@id\":\"https://docs.cookiechimp.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cookiechimp.com/docs/api-reference/consents/get-consent#webpage\",\"url\":\"https://docs.cookiechimp.com/docs/api-reference/consents/get-consent\",\"name\":\"Get consent\",\"description\":\"Get consent by ID\",\"dateModified\":\"2026-02-24T14:29:25.764Z\",\"isPartOf\":{\"@id\":\"https://docs.cookiechimp.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cookiechimp.com/docs/api-reference/consents/get-consent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cookiechimp.com/docs/api-reference/consents/get-consent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Consents\",\"item\":\"https://docs.cookiechimp.com/docs/api-reference/consents/list-consents\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get consent\",\"item\":\"https://docs.cookiechimp.com/docs/api-reference/consents/get-consent\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.cookiechimp.com/docs/api-reference/consents/get-consent#apireference\",\"headline\":\"Get consent\",\"name\":\"Get consent\",\"description\":\"Get consent by ID\",\"url\":\"https://docs.cookiechimp.com/docs/api-reference/consents/get-consent\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cookiechimp.com/docs/api-reference/consents/get-consent#webpage\"},\"dateModified\":\"2026-02-24T14:29:25.764Z\",\"publisher\":{\"@id\":\"https://docs.cookiechimp.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cookiechimp.com/docs#website\"}}]}\u003c/script>","agentPointerHref":"/docs/api-reference/consents/get-consent.md","siteName":"CookieChimp Docs","nav":{"global":{"anchors":[{"anchor":"Quick Start","icon":"rocket","color":{"light":"#9d59ef","dark":"#9d59ef"},"href":"https://cookiechimp.com/install"}]},"dropdowns":[{"dropdown":"Documentation","icon":"book","description":"Setup CookieChimp","groups":[{"group":"Get Started","pages":[{"title":"Overview","icon":"list","href":"/overview"},{"title":"Why Use a CMP?","icon":"circle-question-mark","href":"/why-use-a-cmp"},{"title":"Installation","icon":"download","href":"/installation/installation"},{"title":"How Long Does It Take to Set Up a CMP?","icon":"timer","href":"/installation/cmp-setup-guide"},{"title":"Block Scripts \u0026 Cookies","icon":"traffic-cone","href":"/block-scripts-cookies/script-attributes"},{"title":"Vendor List Embed","icon":"code","href":"/features/vendor-list-embed"},{"title":"FAQ","icon":"message-circle-question-mark","href":"/faq"}]},{"group":"Platform Specific Installation","pages":[{"title":"HTML","icon":"code","href":"/installation/html"},{"title":"Google Tag Manager","icon":"google","href":"/installation/google-tag-manager"},{"title":"WordPress","icon":"wordpress","href":"/installation/wordpress"},{"title":"Shopify","icon":"shopify","href":"/installation/shopify"},{"title":"Next.js","icon":"react","href":"/installation/nextjs"},{"title":"React","icon":"react","href":"/installation/react"},{"group":"JavaScript Frameworks","pages":[{"title":"Nuxt","icon":"vuejs","href":"/installation/nuxt"},{"title":"Angular","icon":"angular","href":"/installation/angular"},{"title":"Astro","icon":"rocket","href":"/installation/astro"},{"title":"SvelteKit","icon":"code","href":"/installation/sveltekit"},{"title":"Remix","icon":"react","href":"/installation/remix"},{"title":"JS \u0026 Single Page Apps","icon":"react","href":"/installation/single-page-applications"}]},{"group":"Website Builders","pages":[{"title":"Webflow","sidebarTitle":"Webflow","icon":"webflow","href":"/installation/webflow"},{"title":"Framer","sidebarTitle":"Framer","icon":"framer","href":"/installation/framer"},{"title":"Wix","sidebarTitle":"Wix","icon":"globe","href":"/installation/wix"},{"title":"Squarespace","sidebarTitle":"Squarespace","icon":"squarespace","href":"/installation/squarespace"},{"title":"Ghost","sidebarTitle":"Ghost","icon":"ghost","href":"/installation/ghost"},{"title":"Carrd","sidebarTitle":"Carrd","icon":"credit-card","href":"/installation/carrd"},{"title":"Duda","sidebarTitle":"Duda","icon":"layout-template","href":"/installation/duda"},{"title":"Bubble","sidebarTitle":"Bubble","icon":"circle-dot","href":"/installation/bubble"},{"title":"Weebly","sidebarTitle":"Weebly","icon":"globe","href":"/installation/weebly"},{"title":"Hostinger Website Builder","sidebarTitle":"Hostinger","icon":"server","href":"/installation/hostinger"}]},{"group":"Other Tag Managers","pages":[{"title":"Adobe Launch","icon":"adobe","iconType":"brands","href":"/installation/adobe-launch"}]}]},{"group":"Mobile Apps","pages":[{"title":"React Native","icon":"react","href":"/installation/react-native"}]},{"group":"Features","pages":[{"title":"Consent Records","href":"/features/consent-records"},{"title":"Vendor Scanning","href":"/features/vendor-scanning"},{"title":"Vendor Management","href":"/features/vendor-management"},{"title":"Banner Designer","href":"/features/banner-designer"},{"title":"Multilingual Banners","href":"/features/multilingual-banners"},{"title":"Wildcard Cookies","href":"/features/wildcard-cookies"}]},{"group":"Integrations","pages":[{"title":"Integrations Overview","icon":"plug","href":"/integrations/overview"},{"group":"Analytics \u0026 Advertising","pages":[{"title":"Google Consent Mode","icon":"google","href":"/integrations/google-consent-mode"},{"title":"Meta Consent API","icon":"facebook","href":"/integrations/meta-consent-api"},{"title":"Microsoft Clarity Consent Mode","icon":"chart-bar","href":"/integrations/microsoft-clarity"},{"title":"Microsoft UET Consent Mode","icon":"target","href":"/integrations/microsoft-uet"}]},{"group":"Platform APIs","pages":[{"title":"Shopify Customer Privacy API","icon":"shopify","href":"/integrations/shopify-privacy-api"},{"title":"WordPress Consent API","icon":"wordpress","href":"/integrations/wordpress-consent-api"}]},{"group":"Privacy Standards","pages":[{"title":"Global Privacy Control","icon":"shield-check","href":"/integrations/global-privacy-control"}]}]},{"group":"Advanced","pages":[{"title":"Block Iframes","href":"/features/block-iframes"},{"title":"Identify Users","href":"/features/identify-users"},{"title":"Custom Consent Button","href":"/advanced/custom-update-consent-button"},{"title":"Custom CSS","href":"/advanced/custom-css"},{"title":"JavaScript SDK","href":"/advanced/callbacks-events"},{"title":"Advanced Banner Overrides","href":"/advanced/banner-overrides"},{"title":"Content Security Policy (CSP)","href":"/advanced/content-security-policy"}]}]},{"dropdown":"Consent SDK","icon":"code","description":"React, Next.js, React Native and JavaScript consent SDK","groups":[{"group":"Get started","pages":[{"title":"Consent SDK","href":"/sdk/overview"},{"title":"Getting started","href":"/sdk/getting-started"},{"title":"Banner and vendor preferences","href":"/sdk/platform-ui"},{"title":"Connect to CookieChimp","href":"/sdk/connected-backend"},{"title":"Examples","href":"/sdk/examples"},{"title":"Versions and deployment","href":"/sdk/release-status"}]},{"group":"Mobile","pages":[{"title":"React Native","href":"/sdk/react-native"},{"title":"React Native vendor SDKs","href":"/sdk/react-native-integrations"}]},{"group":"SDK reference","pages":[{"title":"Core and React reference","href":"/sdk/reference"},{"title":"Next.js","href":"/sdk/nextjs"},{"title":"Script presets","href":"/sdk/scripts"},{"title":"Translations","href":"/sdk/translations"},{"title":"CLI","href":"/sdk/cli"},{"title":"Devtools","href":"/sdk/devtools"},{"title":"Design tokens","href":"/sdk/tokens"},{"title":"AI skills","href":"/sdk/ai-skills"}]}]},{"dropdown":"API Reference","icon":"terminal","description":"Reference for the API","groups":[{"group":"API Documentation","pages":[{"title":"API Overview \u0026 Authentication","href":"/api-reference/authentication"}]},{"group":"Auth","pages":[{"openapi":"post /auth","title":"Log in","href":"/api-reference/auth/login"},{"openapi":"delete /auth","title":"Log out","href":"/api-reference/auth/logout"},{"openapi":"put /password","title":"Change password","href":"/api-reference/auth/change-password"}]},{"group":"Partner Integration","pages":[{"title":"Partner API","href":"/api-reference/partner-api"},{"title":"Single Sign-On (SSO)","href":"/api-reference/sso"},{"title":"White-Labeling","href":"/api-reference/whitelabeling"}]},{"group":"Account","pages":[{"openapi":"get /accounts","title":"List accounts","href":"/api-reference/account/list-accounts"},{"openapi":"get /accounts/{id}","title":"Get account","href":"/api-reference/account/get-account"},{"openapi":"patch /accounts/{id}","playground":"simple","title":"Update account","href":"/api-reference/account/update-account"}]},{"group":"Consent Banners","pages":[{"openapi":"get /consent-banners","playground":"simple","title":"List consent banners","href":"/api-reference/consent-banners/list-consent-banners"},{"openapi":"post /consent-banners","playground":"simple","title":"Create consent banner","href":"/api-reference/consent-banners/create-consent-banner"},{"openapi":"get /banner-templates","playground":"simple","title":"List banner templates","href":"/api-reference/consent-banners/list-banner-templates"},{"openapi":"post /consent-banners/from-template","playground":"simple","title":"Create consent banner from a template","href":"/api-reference/consent-banners/create-consent-banner-from-template"},{"openapi":"get /consent-banners/{id}","playground":"simple","title":"Get consent banner","href":"/api-reference/consent-banners/get-consent-banner"},{"openapi":"put /consent-banners/{id}","playground":"simple","title":"Update consent banner","href":"/api-reference/consent-banners/update-consent-banner"},{"openapi":"post /consent-banners/{id}/duplicate","playground":"simple","title":"Duplicate consent banner","href":"/api-reference/consent-banners/duplicate-consent-banner"},{"openapi":"delete /consent-banners/{id}","playground":"simple","title":"Delete consent banner","href":"/api-reference/consent-banners/delete-consent-banner"}]},{"group":"Services","pages":[{"openapi":"get /services","playground":"simple","title":"List services","href":"/api-reference/services/list-services"},{"openapi":"post /services","playground":"simple","title":"Create service","href":"/api-reference/services/create-service"},{"openapi":"get /services/{id}","playground":"simple","title":"Get service","href":"/api-reference/services/get-service"},{"openapi":"put /services/{id}","playground":"simple","title":"Update service","href":"/api-reference/services/update-service"},{"openapi":"delete /services/{id}","playground":"simple","title":"Delete service","href":"/api-reference/services/delete-service"}]},{"group":"Compliance","pages":[{"openapi":"get /compliance","playground":"simple","title":"Get the regional compliance report","href":"/api-reference/compliance/get-compliance-report"}]},{"group":"Scans","pages":[{"openapi":"get /scans","playground":"simple","title":"List scans","href":"/api-reference/scans/list-scans"},{"openapi":"post /scans","playground":"simple","title":"Start a scan","href":"/api-reference/scans/create-scan"},{"openapi":"get /scans/{id}","playground":"simple","title":"Get scan","href":"/api-reference/scans/get-scan"}]},{"group":"Integrations","pages":[{"openapi":"get /integrations","playground":"simple","title":"List integrations","href":"/api-reference/integrations/list-integrations"},{"openapi":"get /integrations/{id}","playground":"simple","title":"Get integration","href":"/api-reference/integrations/get-integration"},{"openapi":"put /integrations/{id}","playground":"simple","title":"Update integration","href":"/api-reference/integrations/update-integration"}]},{"group":"Account Users","pages":[{"openapi":"get /account-users","title":"List account users","href":"/api-reference/account-users/list-account-users"},{"openapi":"get /account-users/{id}","title":"Get account user","href":"/api-reference/account-users/get-account-user"},{"openapi":"put /account-users/{id}","title":"Update account user","href":"/api-reference/account-users/update-account-user"},{"openapi":"delete /account-users/{id}","title":"Delete account user","href":"/api-reference/account-users/delete-account-user"}]},{"group":"Account Invitations","pages":[{"openapi":"get /account-invitations","title":"List account invitations","href":"/api-reference/account-invitations/list-account-invitations"},{"openapi":"post /account-invitations","title":"Create account invitation","href":"/api-reference/account-invitations/create-account-invitation"},{"openapi":"get /account-invitations/{id}","title":"Get account invitation","href":"/api-reference/account-invitations/get-account-invitation"},{"openapi":"put /account-invitations/{id}","title":"Update account invitation","href":"/api-reference/account-invitations/update-account-invitation"},{"openapi":"delete /account-invitations/{id}","title":"Delete account invitation","href":"/api-reference/account-invitations/delete-account-invitation"}]},{"group":"AI Actions","pages":[{"openapi":"get /ai-actions","title":"List AI actions","href":"/api-reference/ai-actions/list-ai-actions"},{"openapi":"get /ai-actions/{id}","title":"Get AI action","href":"/api-reference/ai-actions/get-ai-action"}]},{"group":"Storage Items","pages":[{"openapi":"get /storage-items","title":"List storage items","href":"/api-reference/storage-items/list-storage-items"},{"openapi":"post /storage-items","title":"Create storage item","href":"/api-reference/storage-items/create-storage-item"},{"openapi":"get /storage-items/{id}","title":"Get storage item","href":"/api-reference/storage-items/get-storage-item"},{"openapi":"put /storage-items/{id}","title":"Update storage item","href":"/api-reference/storage-items/update-storage-item"},{"openapi":"delete /storage-items/{id}","title":"Delete storage item","href":"/api-reference/storage-items/delete-storage-item"}]},{"group":"Categories","pages":[{"openapi":"get /categories","title":"List categories","href":"/api-reference/categories/list-categories"},{"openapi":"post /categories","title":"Create category","href":"/api-reference/categories/create-category"},{"openapi":"get /categories/{id}","title":"Get category","href":"/api-reference/categories/get-category"},{"openapi":"put /categories/{id}","title":"Update category","href":"/api-reference/categories/update-category"},{"openapi":"delete /categories/{id}","title":"Delete category","href":"/api-reference/categories/delete-category"}]},{"group":"Consents","pages":[{"openapi":"get /consents","title":"List consents","description":"List consent records for the current account, newest first. Requires an\naccount-scoped API token.\n","href":"/api-reference/consents/list-consents"},{"openapi":"get /consents/{id}","title":"Get consent","href":"/api-reference/consents/get-consent"}]},{"group":"Groups","pages":[{"openapi":"get /groups","title":"List groups","description":"List all groups for your partner. Requires a partner API token.","href":"/api-reference/groups/list-groups"},{"openapi":"get /groups/{id}","title":"Get group","href":"/api-reference/groups/get-group"},{"openapi":"post /groups","title":"Create group","href":"/api-reference/groups/create-group"},{"openapi":"put /groups/{id}","title":"Update group","href":"/api-reference/groups/update-group"}]}]}]},"basePath":"","title":"Get consent - CookieChimp Docs","buildId":"dpl_H5KQTnCewfWWvJxA7c3bCm7MFbb6","deploymentId":"dpl_H5KQTnCewfWWvJxA7c3bCm7MFbb6","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-Cy2NURoQ.js","utils-CTKFcKhQ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-Dbtv_wCw.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DYh_uLft.js","snippetPresets-DxwpEH1-.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-D9KrOqxg.js","ApiExamples-clm-D0kL.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BBf1wA6D.js","shallow-BToikfmA.js","getApiPlaygroundDisplay-pkRLxJ6E.js","CodeSnippet-CSk3BdcJ.js","CodeSnippets-Dy5u3aPE.js","getPastedJson-DNhwlub0.js","icon-DBGzFdPQ.js","MethodPill-CdyVkQoM.js","DuplicateIcon-DEe2SEjX.js","createIcon-BnnV9h2U.js","DynamicMarkdown-DcvJmTWC.js","SectionHeading-C5-ljYUo.js","axios-vUo_bRtp.js","Markdown-CNKtyJ6_.js","dist-f_--J3AN.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-BDxDyTJx.js"]}