{"info":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","description":"<html><head></head><body><h1 id=\"cookiescript-api-documentation\">CookieScript API Documentation</h1>\n<p>To get started:</p>\n<ol>\n<li><p>Set your <code>token</code> variable in the environment.</p>\n</li>\n<li><p>Explore available endpoints grouped by feature.</p>\n</li>\n</ol>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"CookieScript API Documentation","slug":"cookiescript-api-documentation"}],"owner":"43553259","collectionId":"288f0651-c964-4115-8f4a-715ba0747985","publishedId":"2sB3QFRXix","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-10-01T06:51:19.000Z"},"item":[{"name":"Banners","item":[{"name":"List","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","packages":{},"id":"0526df9b-c2cb-479d-bec1-45e4380e9582"}}],"id":"2232e82f-3950-4467-8584-774e369f001e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cookie-script.com/api/open/v1/banners","description":"<h2 id=\"endpoint-list-banners\">Endpoint: List Banners</h2>\n<p><strong>Method:</strong> <code>GET</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/banners</code></p>\n<h3 id=\"description\">Description</h3>\n<p>Returns a list of all banners accessible to the user.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<p><em>None.</em></p>\n<h3 id=\"response\">Response</h3>\n<p>Example of a successful response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"\",\n  \"data\": [\n    {\n      \"id\": \"\",\n      \"domain\": \"\",\n      \"published\": true,\n      \"shared\": true,\n      \"sharedWithMe\": true,\n      \"shareInfo\": []\n    }\n  ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","banners"],"host":["https://cookie-script.com/api/open"],"query":[],"variable":[]}},"response":[],"_postman_id":"2232e82f-3950-4467-8584-774e369f001e"},{"name":"Show","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","packages":{},"id":"b5f6a311-c147-4569-a29c-2b976222b6a8"}}],"id":"e8e2eed4-6370-4c7a-9558-333e89ceb683","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cookie-script.com/api/open/v1/banners/show?id=82a26e9448de35155e909dcdbe1b5633","description":"<h2 id=\"endpoint-show-banner\">Endpoint: Show Banner</h2>\n<p><strong>Method:</strong> <code>GET</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/banners/show?id=</code></p>\n<h3 id=\"🔍-description\">🔍 Description</h3>\n<p>Returns detailed information about a specific banner by ID.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><code>id</code> (<strong>string, required</strong>): Banner ID</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p><code>200 OK</code><br />The response will be in JSON format and will have the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"\",\n  \"data\": {\n    \"id\": \"\",\n    \"webSiteUrl\": \"\",\n    \"settings\": [\n      {\n        \"id\": \"\",\n        \"name\": \"\",\n        \"value\": \"\"\n      }\n    ]\n  }\n}\n\n</code></pre>\n<p>The response will include a <code>success</code> flag indicating the success status of the request, a <code>message</code> field for any additional information, and a <code>data</code> object containing the detailed information about the specific banner.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","banners","show"],"host":["https://cookie-script.com/api/open"],"query":[{"key":"id","value":"82a26e9448de35155e909dcdbe1b5633"}],"variable":[]}},"response":[],"_postman_id":"e8e2eed4-6370-4c7a-9558-333e89ceb683"},{"name":"Delete","id":"84c2f980-39c5-4581-859a-c61e87f46d74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://cookie-script.com/api/open/v1/banners/delete?id=9b830d978de36b18974031a9a7d31777","description":"<h2 id=\"endpoint-delete-banner\">Endpoint: Delete Banner</h2>\n<p><strong>Method:</strong> <code>DELETE</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/banners/delete?id=</code></p>\n<h3 id=\"description\">Description</h3>\n<p>Deletes the banner specified by ID.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><code>id</code> (<strong>string, required</strong>): Banner ID</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p><code>200 OK</code><br />The response will be in JSON format and will have the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"Item deleted successfully\",\n  \"data\": {}\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","banners","delete"],"host":["https://cookie-script.com/api/open"],"query":[{"key":"id","value":"9b830d978de36b18974031a9a7d31777"}],"variable":[]}},"response":[],"_postman_id":"84c2f980-39c5-4581-859a-c61e87f46d74"},{"name":"Duplicate","id":"16f3d105-c281-4c8e-b6c3-3dd3ebb36b2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"domain\": \"test-duplicate.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://cookie-script.com/api/open/v1/banners/duplicate?id=","description":"<h3 id=\"endpoint-duplicate-banner\">Endpoint: Duplicate Banner</h3>\n<p><strong>Method:</strong> <code>POST</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/banners/duplicate?id=</code></p>\n<h3 id=\"description\">Description</h3>\n<p>Creates a copy of the banner with the given ID.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><code>id</code> (<strong>string</strong>, <strong>required</strong>): Original banner ID</li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p><code>domain</code> (<strong>string</strong>, <strong>required</strong>): URL of the website where the banner will be displayed.</p>\n</li>\n<li><p><code>withReport</code>(<strong>boolean</strong>, default: <code>false</code>): If <code>true</code> the banner includes a report.</p>\n</li>\n</ul>\n<h3 id=\"request-body-1\">Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"domain\": \"test-duplicate.com\"\n}\n\n</code></pre>\n<h3 id=\"response\">Response</h3>\n<p><code>200 OK</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"Item copied as &lt;strong class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27;&gt;{{domain from request}}&lt;/b&gt;\",\n  \"data\": {\n    \"id\": \"\"\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","banners","duplicate"],"host":["https://cookie-script.com/api/open"],"query":[{"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"16f3d105-c281-4c8e-b6c3-3dd3ebb36b2c"},{"name":"Update","id":"adba5b4b-780a-46d1-ae8f-c426c8c1951c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"position_side\": \"right\",\n    \"box_title\": \"Test Api Title 2\",\n    \"box_description\": \"Desc test api\",\n    \"for_subdomains\": \"no\",\n    \"microsoft_clarity\": \"yes\",\n    \"catid\": 6\n}","options":{"raw":{"language":"json"}}},"url":"https://cookie-script.com/api/open/v1/banners/update?id=82a26e9448de35155e909dcdbe1b5633","description":"<h3 id=\"endpoint-update-banner\">Endpoint: Update Banner</h3>\n<p><strong>Method:</strong> <code>PUT</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/banners/update?id=82a26e9448de35155e909dcdbe1b5633</code></p>\n<h3 id=\"description\">Description</h3>\n<p>Updates the specified banner's settings.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><code>id</code> (<strong>string</strong>, <strong>required</strong>): Banner ID</li>\n</ul>\n<h3 id=\"request-bodyshow-banner-options\">Request Body(show Banner Options)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"position_side\": \"right\",\n  \"box_title\": \"Api box title\",\n  \"box_description\": \"Description api\",\n  \"for_subdomains\": \"no\",\n  \"microsoft_clarity\": \"yes\",\n  \"catid\": 1\n}\n\n</code></pre>\n<h4 id=\"response\">Response</h4>\n<p><code>200 OK</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"Changes saved\",\n  \"data\": []\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","banners","update"],"host":["https://cookie-script.com/api/open"],"query":[{"key":"id","value":"82a26e9448de35155e909dcdbe1b5633"}],"variable":[]}},"response":[],"_postman_id":"adba5b4b-780a-46d1-ae8f-c426c8c1951c"},{"name":"Create","id":"6672de9f-fb64-45b3-ab48-7c9bedabbcc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Site create form api\",\n    \"webSiteUrl\": \"http://test-site.api\",\n    \"customcss\": \"#cookiescript_header { color: red; }\"\n}","options":{"raw":{"language":"json"}}},"url":"https://cookie-script.com/api/open/v1/banners/create","description":"<h1 id=\"endpoint-create-banner\">Endpoint: Create Banner</h1>\n<p><strong>Method:</strong> <code>POST</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/banners/create</code></p>\n<h3 id=\"description\">Description</h3>\n<p>Creates a new banner with the specified parameters.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p><code>title</code> (<strong>string</strong>, <strong>required</strong>): Title of the banner.</p>\n</li>\n<li><p><code>webSiteUrl</code> (<strong>string</strong>, <strong>required</strong>): URL of the website where the banner will be displayed.</p>\n</li>\n<li><p><code>initScan</code> (<strong>boolean</strong>, default: <code>false</code>): If <code>true</code>, a website scan will be started after creation.</p>\n</li>\n</ul>\n<h3 id=\"request-body-1\">Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"title\": \"Site create form api\",\n  \"webSiteUrl\": \"http://test-site.api\",\n  \"customcss\": \"#cookiescript_header { color:  ...\"\n}\n\n</code></pre>\n<h3 id=\"response\">Response</h3>\n<p><code>200 OK</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"Changes saved\",\n  \"data\": []\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","banners","create"],"host":["https://cookie-script.com/api/open"],"query":[],"variable":[]}},"response":[],"_postman_id":"6672de9f-fb64-45b3-ab48-7c9bedabbcc6"},{"name":"Share","id":"9d11d2af-302c-47fe-b2c1-8048ad59ab6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"share_email\": \"tshare3@share.com\",\n    \"allow_editing\": false,\n    \"inform_user_by_email\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://cookie-script.com/api/open/v1/banners/share?id=54435d17465b3e8161596c6f073cef06","description":"<h1 id=\"endpoint-share-banner\">Endpoint: Share Banner</h1>\n<p><strong>Method:</strong> <code>POST</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/banners/share?id=</code></p>\n<h3 id=\"description\">Description</h3>\n<p>Share your banner with other users.</p>\n<p><em>User is registered in the CookieScript: an invitation will appear in his account and the user will be informed by email (optionally)</em></p>\n<p><em>User is not registered in the CookieScript: a new account will be created automatically and the user will receive an email with a login and password to access the shared banner.</em></p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><code>id</code> (<strong>string</strong>, <strong>required</strong>): Banner ID</li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p><code>share_email</code> (<strong>string</strong>, <strong>required</strong>): Share to email.</p>\n</li>\n<li><p><code>allow_editing</code> (<strong>boolean</strong>, <strong>required</strong>): If <code>true</code>, allow another user to edit banner settings, cookie settings and block third-party scripts.</p>\n</li>\n<li><p><code>inform_user_by_email</code> (<strong>boolean</strong>, <strong>required</strong>): If <code>true</code>, let other user know that a new banner was shared with him?.</p>\n</li>\n</ul>\n<h3 id=\"request-body-1\">Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"share_email\": \"tshare3@share.com\",\n    \"allow_editing\": false,\n    \"inform_user_by_email\": true\n}\n\n</code></pre>\n<h3 id=\"response\">Response</h3>\n<p><code>200 OK</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Item has been shared with user tshare3@share.com\",\n    \"data\": []\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","banners","share"],"host":["https://cookie-script.com/api/open"],"query":[{"key":"id","value":"54435d17465b3e8161596c6f073cef06"}],"variable":[]}},"response":[],"_postman_id":"9d11d2af-302c-47fe-b2c1-8048ad59ab6d"},{"name":"Stop Share","id":"8769ba15-e2b0-4b43-b5fc-22b52242e439","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"share_email\": \"tshare3@share.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://cookie-script.com/api/open/v1/banners/stop-share?id=54435d17465b3e8161596c6f073cef06","description":"<h1 id=\"endpoint-stop-share-banner\">Endpoint: Stop Share Banner</h1>\n<p><strong>Method:</strong> <code>POST</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/banners/stop-share?id=</code></p>\n<h3 id=\"description\">Description</h3>\n<p>Stops sharing a specific banner with a user by email.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><code>id</code> (<strong>string</strong>, <strong>required</strong>): Banner ID</li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><code>share_email</code> (<strong>string</strong>, <strong>required</strong>): Stop shate banner for email.</li>\n</ul>\n<h3 id=\"request-body-1\">Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"share_email\": \"tshare3@share.com\"\n}\n\n</code></pre>\n<h3 id=\"response\">Response</h3>\n<p><code>200 OK</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Item is no longer shared with the provided email\",\n    \"data\": []\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","banners","stop-share"],"host":["https://cookie-script.com/api/open"],"query":[{"key":"id","value":"54435d17465b3e8161596c6f073cef06"}],"variable":[]}},"response":[],"_postman_id":"8769ba15-e2b0-4b43-b5fc-22b52242e439"}],"id":"b8e4be63-cd4a-4fd0-8247-d6c6c5c3547d","description":"<h2 id=\"banners\">Banners</h2>\n<p>Endpoints for managing cookie banners, including listing, creating, updating, duplicating, deleting, and sharing banners.</p>\n","_postman_id":"b8e4be63-cd4a-4fd0-8247-d6c6c5c3547d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}}},{"name":"Banner Options","item":[{"name":"List","id":"8f8c4a61-a81d-4bbb-9800-3b6b214dd87e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cookie-script.com/api/open/v1/options","description":"<h2 id=\"endpoint-list-banner-options\">Endpoint: List Banner Options</h2>\n<p><strong>Method:</strong> <code>GET</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/options</code></p>\n<h3 id=\"description\">Description</h3>\n<p>Returns a list of all available configuration options for banners.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<p><em>None.</em></p>\n<h3 id=\"response\">Response</h3>\n<p><code>200 OK</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"Options retrieved successfully\",\n  \"data\": [\n    {\n      \"id\": \"string\",\n      \"name\": \"string\",\n      \"hint\": \"string\",\n      \"valueType\": \"string\",\n      \"valueValidation\": null,\n      \"valueOptions\": [],\n      \"meanings\": []\n    }\n  ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","options"],"host":["https://cookie-script.com/api/open"],"query":[],"variable":[]}},"response":[],"_postman_id":"8f8c4a61-a81d-4bbb-9800-3b6b214dd87e"}],"id":"1ebf44a4-6002-453a-b1ab-5ec1365b3762","description":"<h2 id=\"banner-options\">Banner Options</h2>\n<p>Retrieve metadata and configuration options used when customizing banners.</p>\n","_postman_id":"1ebf44a4-6002-453a-b1ab-5ec1365b3762","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}}},{"name":"Consents","item":[{"name":"Dowload","id":"fec041fc-c248-4d54-bea0-b7fabaf21a54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"82a26e9448de35155e909dcdbe1b5633\",\n    \"combine\": false,\n    \"dateFrom\" : \"2025-01-01\",\n    \"dateTo\": \"2025-01-02\"\n}","options":{"raw":{"language":"json"}}},"url":"https://cookie-script.com/api/open/v1/consents","description":"<h2 id=\"endpoint-download-consents\">Endpoint: Download Consents</h2>\n<p><strong>Method:</strong> <code>POST</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/consents</code></p>\n<h3 id=\"description\">Description</h3>\n<p>Downloads consent data for a specific banner within a specified date range.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p><code>id</code> (<strong>string, required</strong>): Banner ID</p>\n</li>\n<li><p><code>dateFrom</code> (<strong>string</strong>, <strong>required, format:</strong> <code>Y-m-d</code>): Start date range.</p>\n</li>\n<li><p><code>dateTo</code> (<strong>string</strong>, <strong>format:</strong> <code>Y-m-d</code>): End date range. If not, then <code>dateTo</code> will be equal to <code>dateFrom.</code></p>\n</li>\n<li><p><code>combine</code> (<strong>boolean</strong>, default: <code>false</code>): If <code>true</code>, inner files combine into one file.</p>\n</li>\n</ul>\n<h3 id=\"request-body-1\">Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"82a26e9448de35155e909dcdbe1b5633\",\n  \"combine\": false,\n  \"dateFrom\": \"2025-01-01\",\n  \"dateTo\": \"2025-01-02\"\n}\n\n</code></pre>\n<h3 id=\"response\">Response</h3>\n<p><code>200 OK</code><br />Returns a file with a zip extension (inner files in CSV format).</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","consents"],"host":["https://cookie-script.com/api/open"],"query":[],"variable":[]}},"response":[],"_postman_id":"fec041fc-c248-4d54-bea0-b7fabaf21a54"}],"id":"c33535b7-7d83-4366-b2d0-6f43ca47128a","description":"<h2 id=\"consents\">Consents</h2>\n<p>Download GDPR/CCPA consent records for a banner within a given time range.</p>\n","_postman_id":"c33535b7-7d83-4366-b2d0-6f43ca47128a","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}}},{"name":"Scans","item":[{"name":"List","id":"95d9e38e-ba75-43b1-8f80-a9ee52cbd690","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cookie-script.com/api/open/v1/scans?id=82a26e9448de35155e909dcdbe1b5633","description":"<h3 id=\"endpoint-list-scans\">Endpoint: List Scans</h3>\n<p><strong>Method:</strong> <code>GET</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/scans?id=82a26e9448de35155e909dcdbe1b5633</code></p>\n<h3 id=\"description\">Description</h3>\n<p>Returns a list of all scans associated with the given banner.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><code>id</code> (<strong>string</strong>, <strong>required</strong>): ID of the banner</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p><code>200 OK</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"\",\n  \"data\": [\n    {\n      \"id\": \"\",\n      \"status\": \"\",\n      \"date\": \"\",\n      \"pagesScanned\": \"\",\n      \"cookiesFound\": 0,\n      \"firstPartyCookies\": 0,\n      \"thirdPartyCookies\": 0,\n      \"manuallyAddedCookies\": 0,\n      \"automaticallyDetectedCookies\": 0,\n      \"localStorages\": 0,\n      \"sessionStorages\": 0,\n      \"initiator\": \"\"\n    }\n  ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","scans"],"host":["https://cookie-script.com/api/open"],"query":[{"key":"id","value":"82a26e9448de35155e909dcdbe1b5633"}],"variable":[]}},"response":[],"_postman_id":"95d9e38e-ba75-43b1-8f80-a9ee52cbd690"},{"name":"Show","id":"d775c641-ff17-441c-95e8-81d6e7e2f719","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cookie-script.com/api/open/v1/scans/show?id=0ab33c9ad30183e3256755c98b9de5e1","description":"<h3 id=\"endpoint-show-scan\">Endpoint: Show Scan</h3>\n<p><strong>Method:</strong> <code>GET</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/scans/show?id=</code></p>\n<h3 id=\"description\">Description</h3>\n<p>Retrieves detailed information about a specific scan.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><code>id</code> (<strong>string</strong>, <strong>required</strong>): Scan ID</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p><code>200 OK</code><br />Content-Type: <code>application/json</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"\",\n  \"data\": {\n    \"urlScanned\": \"\",\n    \"totalPagesScanned\": \"\",\n    \"cookies\": [\n      {\n        \"category\": \"\",\n        \"cookieKey\": \"\",\n        \"domain\": \"\",\n        \"path\": \"\",\n        \"cookieType\": \"\",\n        \"expire\": \"\",\n        \"description\": \"\"\n      }\n    ],\n    \"storage\": []\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","scans","show"],"host":["https://cookie-script.com/api/open"],"query":[{"key":"id","value":"0ab33c9ad30183e3256755c98b9de5e1"}],"variable":[]}},"response":[],"_postman_id":"d775c641-ff17-441c-95e8-81d6e7e2f719"}],"id":"f0d7a439-9982-4323-bbca-7bc852847fb2","description":"<h2 id=\"scans\">Scans</h2>\n<p>Access scan results performed on your website for cookie detection and compliance checks.</p>\n","_postman_id":"f0d7a439-9982-4323-bbca-7bc852847fb2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}}},{"name":"Cookies","item":[{"name":"List","id":"7fc39723-b0cf-44f2-98dd-a1bb437b9068","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cookie-script.com/api/open/v1/cookies?id=82a26e9448de35155e909dcdbe1b5633","description":"<h2 id=\"endpoint-list-cookies\">Endpoint: List Cookies</h2>\n<p><strong>Method:</strong> <code>GET</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/cookies?id=</code></p>\n<h3 id=\"description\">Description</h3>\n<p>Returns a list of all cookies associated with a specific banner.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><code>id</code> (<strong>string</strong>, <strong>required</strong>): Banner ID</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p><code>200 OK</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"\",\n  \"data\": [\n    {\n      \"id\": \"\",\n      \"cookieKey\": \"\",\n      \"domain\": \"\",\n      \"path\": \"\",\n      \"expiration\": \"\",\n      \"manuallyAdded\": \"\",\n      \"type\": \"\",\n      \"description\": \"\",\n      \"descriptionTranslated\": {\n          \"Dutch\": \"\",\n       }\n    }\n  ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","cookies"],"host":["https://cookie-script.com/api/open"],"query":[{"key":"id","value":"82a26e9448de35155e909dcdbe1b5633"}],"variable":[]}},"response":[],"_postman_id":"7fc39723-b0cf-44f2-98dd-a1bb437b9068"},{"name":"Remove","id":"f772160f-7c21-4101-98d3-f178dd39c407","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://cookie-script.com/api/open/v1/cookies/delete?id=82a26e9448de35155e909dcdbe1b5633&cookieId=367109","description":"<h2 id=\"endpoint-delete-cookie\">Endpoint: Delete Cookie</h2>\n<p><strong>Method:</strong> <code>DELETE</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/cookies/delete?id=&amp;cookieId=</code></p>\n<h3 id=\"description\">Description</h3>\n<p>Deletes a cookie from the specified banner.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><p><code>id</code> (<strong>string</strong>, <strong>required</strong>): Banner ID</p>\n</li>\n<li><p><code>cookieId</code> (<strong>integer</strong>, <strong>required</strong>): Cookie ID</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p><code>200 OK</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"Cookie removed successfully\",\n  \"data\": []\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","cookies","delete"],"host":["https://cookie-script.com/api/open"],"query":[{"key":"id","value":"82a26e9448de35155e909dcdbe1b5633"},{"key":"cookieId","value":"367109"}],"variable":[]}},"response":[],"_postman_id":"f772160f-7c21-4101-98d3-f178dd39c407"},{"name":"Update","id":"c7f5f1bb-c0a0-4799-97eb-389cb935a6e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"functionality\",\n    \"description\": \"Description update from api\",\n    \"descriptionTranslated\": {\n        \"Dutch\": \"Dutch description update from api\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://cookie-script.com/api/open/v1/cookies/update?id=82a26e9448de35155e909dcdbe1b5633&cookieId=367110","description":"<h2 id=\"endpoint-update-cookie\">Endpoint: Update Cookie</h2>\n<p><strong>Method:</strong> <code>PUT</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/cookies/update?id=&amp;cookieId=</code></p>\n<h3 id=\"description\">Description</h3>\n<p>Updates a cookie linked to a specific banner.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><p><code>id</code> (<strong>string</strong>, <strong>required</strong>): Banner ID</p>\n</li>\n<li><p><code>cookieId</code> (<strong>integer</strong>, <strong>required</strong>): Cookie ID</p>\n</li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><code>type</code> (<strong>string</strong>): Cookie type:</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Value</strong></th>\n<th><strong>Meaning</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>strict</code></td>\n<td><em>Strictly Necessary</em></td>\n</tr>\n<tr>\n<td><code>performance</code></td>\n<td><em>Performance</em></td>\n</tr>\n<tr>\n<td><code>targeting</code></td>\n<td><em>Targeting</em></td>\n</tr>\n<tr>\n<td><code>functionality</code></td>\n<td><em>Functionality</em></td>\n</tr>\n<tr>\n<td><code>unclassified</code></td>\n<td><em>Unclassified</em></td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li><p><code>description</code> (<strong>string</strong>): Description for cookie.</p>\n</li>\n<li><p><code>descriptionTranslated</code> (<strong>object</strong>): An object that contains translated versions of the cookie description.</p>\n</li>\n</ul>\n<h3 id=\"request-body-1\">Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"functionality\",\n  \"description\": \"Deascription update from api\",\n  \"descriptionTranslated\": {\n        \"Dutch\": \"Dutch description update from api\"\n    }\n}\n\n</code></pre>\n<h3 id=\"response\">Response</h3>\n<p><code>200 OK</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Cookie updated successfully\",\n    \"data\": []\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","cookies","update"],"host":["https://cookie-script.com/api/open"],"query":[{"key":"id","value":"82a26e9448de35155e909dcdbe1b5633"},{"key":"cookieId","value":"367110"}],"variable":[]}},"response":[],"_postman_id":"c7f5f1bb-c0a0-4799-97eb-389cb935a6e0"},{"name":"Create","id":"f7867dc4-d1ce-4e5e-b38c-cc9610a67611","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cookieName\": \"\",\n    \"cookieDomain\": \"\",\n    \"cookiePath\": \"\",\n    \"expirationTime\": 0,\n    \"secure\": false,\n    \"httpOnly\": false,\n    \"type\" : \"\",\n    \"description\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://cookie-script.com/api/open/v1/cookies/create?id=82a26e9448de35155e909dcdbe1b5633","description":"<h2 id=\"endpoint-create-cookie\">Endpoint: Create Cookie</h2>\n<p><strong>Method:</strong> <code>POST</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/cookies/create?id=</code></p>\n<h3 id=\"description\">Description</h3>\n<p>Creates a new cookie and links it to a banner.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><code>id</code> (<strong>string</strong>, <strong>required</strong>): Banner ID</li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p><code>cookieName</code> (<strong>string</strong>, <strong>required</strong>): Cookie name.</p>\n</li>\n<li><p><code>cookieDomain</code> (<strong>string</strong>, <strong>required</strong>): Cookie domain. Examle: \".test.com\"</p>\n</li>\n<li><p><code>cookiePath</code> (<strong>string</strong>, default: <code>/</code>): Cookie path.</p>\n</li>\n<li><p><code>expirationTime</code> (<strong>integer</strong>, default: <code>1</code>): Expiration time in seconds. Examples: (3 days: 3* 86400)</p>\n</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Value(in seconds)</strong></th>\n<th><strong>Meaning</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>Session</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Second</td>\n</tr>\n<tr>\n<td>60</td>\n<td>Minute</td>\n</tr>\n<tr>\n<td>3600</td>\n<td>Hour</td>\n</tr>\n<tr>\n<td>86400</td>\n<td>Day</td>\n</tr>\n<tr>\n<td>2592000</td>\n<td>Month</td>\n</tr>\n<tr>\n<td>31536000</td>\n<td>Year</td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li><p><code>secure</code> (<strong>boolean</strong>, default: <code>false</code>): Is Secure cookie.</p>\n</li>\n<li><p><code>httpOnly</code> (<strong>boolean</strong>, default: <code>false</code>): Is HttpOnly cookie.</p>\n</li>\n<li><p><code>type</code> (<strong>string, required</strong>): Cookie type:</p>\n</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Value</strong></th>\n<th><strong>Meaning</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>strict</code></td>\n<td><em>Strictly Necessary</em></td>\n</tr>\n<tr>\n<td><code>performance</code></td>\n<td><em>Performance</em></td>\n</tr>\n<tr>\n<td><code>targeting</code></td>\n<td><em>Targeting</em></td>\n</tr>\n<tr>\n<td><code>functionality</code></td>\n<td><em>Functionality</em></td>\n</tr>\n<tr>\n<td><code>unclassified</code></td>\n<td><em>Unclassified</em></td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li><code>description</code> (<strong>string</strong>): Description for cookie.</li>\n</ul>\n<h3 id=\"request-body-1\">Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"cookieName\": \"\",\n  \"cookieDomain\": \"\",\n  \"cookiePath\": \"\",\n  \"expirationTime\": 0,\n  \"secure\": false,\n  \"httpOnly\": false,\n  \"type\": \"\",\n  \"description\": \"\"\n}\n\n</code></pre>\n<h3 id=\"response\">Response</h3>\n<p><code>200 Ok</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Cookie created successfully\",\n    \"data\": []\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","cookies","create"],"host":["https://cookie-script.com/api/open"],"query":[{"key":"id","value":"82a26e9448de35155e909dcdbe1b5633"}],"variable":[]}},"response":[],"_postman_id":"f7867dc4-d1ce-4e5e-b38c-cc9610a67611"}],"id":"88d18594-db3a-4f49-aa88-0072cfbd3598","description":"<h2 id=\"cookies\">Cookies</h2>\n<p>Manage individual cookies associated with a specific banner, including creating, updating, listing, and deleting cookies.</p>\n","_postman_id":"88d18594-db3a-4f49-aa88-0072cfbd3598","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}}},{"name":"Analytics","item":[{"name":"List","id":"916c3d87-a965-483a-ab69-00aa90b9654c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cookie-script.com/api/open/v1/analytics?id=937ba5031b95e70d2c1699668644d309&dateFrom=2025-07-01&dateTo=2025-09-08&t=test","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","analytics"],"host":["https://cookie-script.com/api/open"],"query":[{"key":"id","value":"937ba5031b95e70d2c1699668644d309"},{"key":"dateFrom","value":"2025-07-01"},{"key":"dateTo","value":"2025-09-08"},{"key":"t","value":"test"}],"variable":[]}},"response":[],"_postman_id":"916c3d87-a965-483a-ab69-00aa90b9654c"}],"id":"948b0954-1dc8-4bb1-b641-42390c4e187a","_postman_id":"948b0954-1dc8-4bb1-b641-42390c4e187a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}}},{"name":"Translations","item":[{"name":"List","id":"835a728c-adeb-477a-af21-95d9837fa477","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cookie-script.com/api/open/v1/translations?id=82a26e9448de35155e909dcdbe1b5633","description":"<h2 id=\"endpoint-list-translations\">Endpoint: List Translations</h2>\n<p><strong>Method:</strong> <code>GET</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/transaltions?id=</code></p>\n<h3 id=\"description\">Description</h3>\n<p>This endpoint retrieves translations for a specified identifier. The translations are provided in multiple languages</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><code>id</code> (<strong>string, required</strong>): Banner ID</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p><code>200 OK</code><br />The response will be in JSON format and will have the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"\",\n  \"data\": {\n    \"Dutch\": [\n      {\n        \"id\": \"\",\n        \"name\": \"\",\n        \"value\": \"\"\n      }\n    ],\n    \"Bulgarian\": [\n      {\n        \"id\": \"\",\n        \"name\": \"\",\n        \"value\": \"\"\n      }\n    ]\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","translations"],"host":["https://cookie-script.com/api/open"],"query":[{"key":"id","value":"82a26e9448de35155e909dcdbe1b5633"}],"variable":[]}},"response":[],"_postman_id":"835a728c-adeb-477a-af21-95d9837fa477"},{"name":"Create","id":"22289205-2758-4bdf-8ea0-5e13c2db98b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"language\": \"Arabic\"\n}","options":{"raw":{"language":"json"}}},"url":"https://cookie-script.com/api/open/v1/translations/create?id=82a26e9448de35155e909dcdbe1b5633","description":"<h1 id=\"endpoint-create-translation\">Endpoint: Create Translation</h1>\n<p><strong>Method:</strong> <code>POST</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/translations/create?id=</code></p>\n<h3 id=\"description\">Description</h3>\n<p>This endpoint allows you to create a new translation for a specified language. The request requires the language to be specified in the request body.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><code>id</code> (<strong>string</strong>, <strong>required</strong>): Banner ID</li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><code>language</code> (<strong>string</strong>, <strong>required</strong>): The language for which the translation is being created. See endpoint <strong>SupportLanguages.</strong></li>\n</ul>\n<h3 id=\"request-body-1\">Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"language\": \"Arabic\"\n}\n\n</code></pre>\n<h3 id=\"response\">Response</h3>\n<p><code>200 OK</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"\",\n  \"data\": []\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","translations","create"],"host":["https://cookie-script.com/api/open"],"query":[{"key":"id","value":"82a26e9448de35155e909dcdbe1b5633"}],"variable":[]}},"response":[],"_postman_id":"22289205-2758-4bdf-8ea0-5e13c2db98b4"},{"name":"SupportLanguages","id":"3cdf22fc-96a5-4baf-a892-aa66f902aee6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cookie-script.com/api/open/v1/translations/options","description":"<h1 id=\"endpoint-retrieve-translation-options\">Endpoint: Retrieve Translation Options</h1>\n<p>This endpoint allows clients to fetch available translation options.</p>\n<p><strong>Method:</strong> <code>GET</code></p>\n<p><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/translations/options</code></p>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"\",\n  \"data\": [\n        \"Arabic\",\n        \"Basque\",\n        \"Bulgarian\",\n        \"Catalan\",\n        \"Chinese(Simplified)\",\n        \"Chinese(Traditional)\",\n        \"Croatian\",\n        \"Czech\",\n        \"Danish\",\n        \"Dutch\",\n        \"English\",\n        \"Estonian\",\n        \"Finnish\",\n        \"French\",\n        \"German\",\n        \"Greek\",\n        \"Hindi\",\n        \"Hungarian\",\n        \"Icelandic\",\n        \"Indonesian\",\n        \"Irish\",\n        \"Italian\",\n        \"Japanese\",\n        \"Korean\",\n        \"Latvian\",\n        \"Lithuanian\",\n        \"Malaysian\",\n        \"Maltese\",\n        \"Norwegian\",\n        \"Polish\",\n        \"Portuguese\",\n        \"Romanian\",\n        \"Russian\",\n        \"Serbian\",\n        \"Slovak\",\n        \"Slovenian\",\n        \"Spanish\",\n        \"Swedish\",\n        \"Thai\",\n        \"Turkish\",\n        \"Ukrainian\",\n        \"Vietnamese\"\n    ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","translations","options"],"host":["https://cookie-script.com/api/open"],"query":[],"variable":[]}},"response":[],"_postman_id":"3cdf22fc-96a5-4baf-a892-aa66f902aee6"},{"name":"Update","id":"da7efd3c-57cf-4af6-977a-0b5015744e86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"language\": \"Arabic\",\n    \"data\": {\n        \"box_title\": \"Arabic title\",\n        \"box_description\": \"Arabic description\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://cookie-script.com/api/open/v1/translations/update?id=82a26e9448de35155e909dcdbe1b5633","description":"<h3 id=\"endpoint-update-translation\">Endpoint: Update Translation</h3>\n<p><strong>Method:</strong> <code>PUT</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/translations/update?id=</code></p>\n<h3 id=\"description\">Description</h3>\n<p>This endpoint allows you to update an existing translation.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><code>id</code> (<strong>string</strong>, <strong>required</strong>): Banner ID</li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p><code>language</code> (<strong>string</strong>, <strong>required</strong>): The language for which the translation is being updated.</p>\n</li>\n<li><p><code>data</code> (<strong>object, required</strong>): An object containing the content of the translation.</p>\n</li>\n</ul>\n<h3 id=\"request-body-1\">Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"language\": \"Arabic\",\n  \"data\": {\n    \"box_title\": \"Arabic title\",\n    \"box_description\": \"Arabic description\"\n  }\n}\n\n</code></pre>\n<h4 id=\"response\">Response</h4>\n<p><code>200 OK</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Translation updated successfully\",\n    \"data\": []\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","translations","update"],"host":["https://cookie-script.com/api/open"],"query":[{"key":"id","value":"82a26e9448de35155e909dcdbe1b5633"}],"variable":[]}},"response":[],"_postman_id":"da7efd3c-57cf-4af6-977a-0b5015744e86"},{"name":"Delete","id":"5deb2c3a-d5ee-4942-a6a7-421f88f610a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"language\": \"Arabic\"\n}","options":{"raw":{"language":"json"}}},"url":"https://cookie-script.com/api/open/v1/translations/delete?id=82a26e9448de35155e909dcdbe1b5633","description":"<h2 id=\"endpoint-delete-translation\">Endpoint: Delete Translation</h2>\n<p><strong>Method:</strong> <code>DELETE</code><br /><strong>URL:</strong> <code>https://cookie-script.com/api/open/v1/translations/delete?id=</code></p>\n<h3 id=\"description\">Description</h3>\n<p>This endpoint allows you to delete a specific translation.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><code>id</code> (<strong>string</strong>, <strong>required</strong>): Banner ID</li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><code>language</code> (<strong>string</strong>, <strong>required</strong>): The language associated with the translation that is being deleted.</li>\n</ul>\n<h3 id=\"request-body-1\">Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"language\": \"Arabic\"\n}\n\n</code></pre>\n<h3 id=\"response\">Response</h3>\n<p><code>200 OK</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Language deleted successfully\",\n    \"data\": []\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}},"urlObject":{"path":["v1","translations","delete"],"host":["https://cookie-script.com/api/open"],"query":[{"key":"id","value":"82a26e9448de35155e909dcdbe1b5633"}],"variable":[]}},"response":[],"_postman_id":"5deb2c3a-d5ee-4942-a6a7-421f88f610a5"}],"id":"f5d5273e-301c-4d6f-9af3-566d7d887acc","description":"<p>Manage translations associated with a specific banner, including creating, updating, listing, and deleting translations.</p>\n","_postman_id":"f5d5273e-301c-4d6f-9af3-566d7d887acc","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"288f0651-c964-4115-8f4a-715ba0747985","id":"288f0651-c964-4115-8f4a-715ba0747985","name":"CookieScript API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"8107dd2f-8376-446a-b006-958163c9eaef"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"6c168ac5-2a3e-4280-a2bd-21c6f8391f82"}}],"variable":[{"key":"host","value":"https://cookie-script.com"},{"key":"base_url","value":"https://cookie-script.com/api/open"},{"key":"token","value":"","type":"default"}]}