Use remaining to top up a folder through POST /coupons/import before it runs out. expired coupons can no longer be sent and a daily job deletes them, so remaining + expired matches the remaining count shown on the Coupons page in the app until that job runs.
The default folder is always listed first, also when the account has no coupons yet. The other folders follow in ascending order of id. A folder without coupons is listed with zeros.
Folder ID, the same value as folderId in POST /coupons/import. The default folder has null, because coupons are imported into it when folderId is not provided.
Number of unused coupons that can still be sent: coupons without valid_until, or with valid_until today or later. A coupon that expires today is counted here.
Number of unused coupons whose valid_until is earlier than today and that are not deleted yet.
Coupons imported with folderId set to the ID of the default folder are counted in the default folder ("id": null) together with the coupons imported without folderId. For the default folder, remaining + expired can therefore be higher than the number on the Coupons page.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ecomail API","colors":{"primary":"#0F7B5F","light":"#12B886","dark":"#0D6B52"},"logo":{"light":"https://mintcdn.com/ecomail/qDze0E0xIaXJdAhk/logo/light.svg?fit=max\u0026auto=format\u0026n=qDze0E0xIaXJdAhk\u0026q=85\u0026s=7075922c6fe6d5e18e2edcaf136c8651","dark":"https://mintcdn.com/ecomail/qDze0E0xIaXJdAhk/logo/dark.svg?fit=max\u0026auto=format\u0026n=qDze0E0xIaXJdAhk\u0026q=85\u0026s=5f2b49857188ca4ff3ebb52eb3f8f1db"},"favicon":"https://mintcdn.com/ecomail/Xiiei-AD2s8SmVXm/favicon-32x32.png?fit=max\u0026auto=format\u0026n=Xiiei-AD2s8SmVXm\u0026q=85\u0026s=02961282d0e4fdbe8d438dcbb6432b3a","api":{"mdx":{"auth":{"method":"key","name":"key"},"server":"https://api2.ecomailapp.cz"}},"navbar":{"links":[{"href":"mailto:support@ecomail.cz","label":"Support"}],"primary":{"type":"button","label":"Sign in","href":"https://ecomail.app"}},"footer":{"socials":{"website":"https://ecomail.app"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ecomail","hasAudioNarration":false,"actualSubdomain":"ecomail","customDomains":["docs.ecomail.cz"],"gitSource":{"type":"github","owner":"tlapi","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6aeb0ac4c8520f7b8ee1fec2","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API reference","count":77},{"language":"default","tag":"Lists","count":13},{"language":"default","tag":"Campaigns","count":10},{"language":"default","tag":"Ecomail AI","count":10},{"language":"default","tag":"Automations","count":6},{"language":"default","tag":"Subscribers","count":6},{"language":"default","tag":"Transactions","count":6},{"language":"default","tag":"Recommenders","count":5},{"language":"default","tag":"Discount coupons","count":4},{"language":"default","tag":"Smart delivery","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/coupons/folders","slug":"/api-reference/coupons/folders","pageMetadata":{"title":"List coupon folders","api":"GET https://api2.ecomailapp.cz/coupons/folders","description":"Retrieve every coupon folder with the number of coupons that can still be sent and the number of expired unused coupons.","href":"/api-reference/coupons/folders"},"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: \"Retrieve every coupon folder with the number of coupons that can still be sent and the number of expired unused coupons.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,..._provideComponents(),...props.components},{Expandable,Note,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`remaining`}),` to top up a folder through `,_jsx(_components.code,{children:`POST /coupons/import`}),` before it runs out. `,_jsx(_components.code,{children:`expired`}),` coupons can no longer be sent and a daily job deletes them, so `,_jsx(_components.code,{children:`remaining + expired`}),` matches the remaining count shown on the Coupons page in the app until that job runs.`]})}),`\n`,_jsxs(_components.p,{children:[`The default folder is always listed first, also when the account has no coupons yet. The other folders follow in ascending order of `,_jsx(_components.code,{children:`id`}),`. A folder without coupons is listed with zeros.`]}),`\n`,_jsxs(ResponseField,{name:`folders`,type:`object[]`,id:`param-folders`,children:[_jsx(_components.p,{children:`All coupon folders of the account.`}),_jsxs(Expandable,{title:`folder properties`,children:[_jsx(ResponseField,{name:`id`,type:`integer | null`,id:`param-id`,children:_jsxs(_components.p,{children:[`Folder ID, the same value as `,_jsx(_components.code,{children:`folderId`}),` in `,_jsx(_components.code,{children:`POST /coupons/import`}),`. The default folder has `,_jsx(_components.code,{children:`null`}),`, because coupons are imported into it when `,_jsx(_components.code,{children:`folderId`}),` is not provided.`]})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsxs(_components.p,{children:[`Folder name as stored in the account. The default folder is named `,_jsx(_components.code,{children:`default`}),`. The name is not translated.`]})}),_jsx(ResponseField,{name:`is_default`,type:`boolean`,id:`param-is-default`,children:_jsx(_components.p,{children:`Whether the folder is the default folder.`})}),_jsx(ResponseField,{name:`remaining`,type:`integer`,id:`param-remaining`,children:_jsxs(_components.p,{children:[`Number of unused coupons that can still be sent: coupons without `,_jsx(_components.code,{children:`valid_until`}),`, or with `,_jsx(_components.code,{children:`valid_until`}),` today or later. A coupon that expires today is counted here.`]})}),_jsx(ResponseField,{name:`expired`,type:`integer`,id:`param-expired`,children:_jsxs(_components.p,{children:[`Number of unused coupons whose `,_jsx(_components.code,{children:`valid_until`}),` is earlier than today and that are not deleted yet.`]})})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Coupons imported with `,_jsx(_components.code,{children:`folderId`}),` set to the ID of the default folder are counted in the default folder (`,_jsx(_components.code,{children:`\"id\": null`}),`) together with the coupons imported without `,_jsx(_components.code,{children:`folderId`}),`. For the default folder, `,_jsx(_components.code,{children:`remaining + expired`}),` can therefore be higher than the number on the Coupons page.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"List coupon folders","api":"GET https://api2.ecomailapp.cz/coupons/folders","description":"Retrieve every coupon folder with the number of coupons that can still be sent and the number of expired unused coupons.","href":"/api-reference/coupons/folders"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Note,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Note)_missingMdxReference(`Note`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`remaining`}),` to top up a folder through `,_jsx(_components.code,{children:`POST /coupons/import`}),` before it runs out. `,_jsx(_components.code,{children:`expired`}),` coupons can no longer be sent and a daily job deletes them, so `,_jsx(_components.code,{children:`remaining + expired`}),` matches the remaining count shown on the Coupons page in the app until that job runs.`]})}),`\n`,_jsxs(_components.p,{children:[`The default folder is always listed first, also when the account has no coupons yet. The other folders follow in ascending order of `,_jsx(_components.code,{children:`id`}),`. A folder without coupons is listed with zeros.`]}),`\n`,_jsxs(ResponseField,{name:`folders`,type:`object[]`,id:`param-folders`,children:[_jsx(_components.p,{children:`All coupon folders of the account.`}),_jsxs(Expandable,{title:`folder properties`,children:[_jsx(ResponseField,{name:`id`,type:`integer | null`,id:`param-id`,children:_jsxs(_components.p,{children:[`Folder ID, the same value as `,_jsx(_components.code,{children:`folderId`}),` in `,_jsx(_components.code,{children:`POST /coupons/import`}),`. The default folder has `,_jsx(_components.code,{children:`null`}),`, because coupons are imported into it when `,_jsx(_components.code,{children:`folderId`}),` is not provided.`]})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsxs(_components.p,{children:[`Folder name as stored in the account. The default folder is named `,_jsx(_components.code,{children:`default`}),`. The name is not translated.`]})}),_jsx(ResponseField,{name:`is_default`,type:`boolean`,id:`param-is-default`,children:_jsx(_components.p,{children:`Whether the folder is the default folder.`})}),_jsx(ResponseField,{name:`remaining`,type:`integer`,id:`param-remaining`,children:_jsxs(_components.p,{children:[`Number of unused coupons that can still be sent: coupons without `,_jsx(_components.code,{children:`valid_until`}),`, or with `,_jsx(_components.code,{children:`valid_until`}),` today or later. A coupon that expires today is counted here.`]})}),_jsx(ResponseField,{name:`expired`,type:`integer`,id:`param-expired`,children:_jsxs(_components.p,{children:[`Number of unused coupons whose `,_jsx(_components.code,{children:`valid_until`}),` is earlier than today and that are not deleted yet.`]})})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Coupons imported with `,_jsx(_components.code,{children:`folderId`}),` set to the ID of the default folder are counted in the default folder (`,_jsx(_components.code,{children:`\"id\": null`}),`) together with the coupons imported without `,_jsx(_components.code,{children:`folderId`}),`. For the default folder, `,_jsx(_components.code,{children:`remaining + expired`}),` can therefore be higher than the number on the Coupons page.`]})}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api2.ecomailapp.cz/coupons/folders`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"key: YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`PHP`,numberOfLines:`9`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$ch`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` curl_init`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`curl_setopt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$ch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`CURLOPT_URL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api2.ecomailapp.cz/coupons/folders'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`curl_setopt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$ch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`CURLOPT_RETURNTRANSFER`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`curl_setopt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$ch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`CURLOPT_HTTPHEADER`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'key: YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]);`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` curl_exec`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$ch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`curl_close`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$ch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200`,numberOfLines:`18`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"folders\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"default\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_default\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"remaining\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`120`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expired\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Black Friday\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_default\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"remaining\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expired\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`401`,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Wrong api key\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"List coupon folders","api":"GET https://api2.ecomailapp.cz/coupons/folders","description":"Retrieve every coupon folder with the number of coupons that can still be sent and the number of expired unused coupons.","href":"/api-reference/coupons/folders"}}}},"mdxExtracts":{"tableOfContents":[],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api2.ecomailapp.cz/coupons/folders\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"key: YOUR_API_KEY\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"PHP","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"php\">\u003ccode language=\"php\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$ch\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"> curl_init\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">curl_setopt\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$ch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\">CURLOPT_URL\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'https://api2.ecomailapp.cz/coupons/folders'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">curl_setopt\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$ch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\">CURLOPT_RETURNTRANSFER\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">curl_setopt\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$ch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\">CURLOPT_HTTPHEADER\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'key: YOUR_API_KEY'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">]);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$response\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"> curl_exec\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$ch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">curl_close\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$ch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"18\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"folders\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"default\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"is_default\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"remaining\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">120\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"expired\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">4\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">12\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Black Friday\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"is_default\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"remaining\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"expired\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"401","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Wrong api key\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"List coupon folders","path":"/coupons/folders","servers":[{"url":"https://api2.ecomailapp.cz"}],"method":"get","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"key":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"folders":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"object","properties":{},"description":"Folder ID, the same value as `folderId` in `POST /coupons/import` . The default folder has `null` , because coupons are imported into it when `folderId` is not provided."}],"name":[{"type":"string","description":"Folder name as stored in the account. The default folder is named `default` . The name is not translated."}],"is_default":[{"type":"boolean","description":"Whether the folder is the default folder."}],"remaining":[{"type":"integer","description":"Number of unused coupons that can still be sent: coupons without `valid_until` , or with `valid_until` today or later. A coupon that expires today is counted here."}],"expired":[{"type":"integer","description":"Number of unused coupons whose `valid_until` is earlier than today and that are not deleted yet."}]}}],"description":"All coupon folders of the account."}]}}],"examples":{"example":{"value":{"folders":[{"id":{},"name":"\u003cstring>","is_default":true,"remaining":123,"expired":123}]}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"ecomail","siteName":"Ecomail API","title":"List coupon folders - Ecomail API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T10:36:58.206Z","originalFileLocation":"api-reference/coupons/folders.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=\"Retrieve every coupon folder with the number of coupons that can still be sent and the number of expired unused coupons.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ecomail API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ecomail/_nC-Ii1GfhaTmJjE/_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=\"/mintlify-assets/_mintlify/favicons/ecomail/_nC-Ii1GfhaTmJjE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ecomail/_nC-Ii1GfhaTmJjE/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ecomail/_nC-Ii1GfhaTmJjE/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ecomail/_nC-Ii1GfhaTmJjE/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ecomail/_nC-Ii1GfhaTmJjE/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ecomail/_nC-Ii1GfhaTmJjE/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ecomail/_nC-Ii1GfhaTmJjE/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ecomail/_nC-Ii1GfhaTmJjE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List coupon folders - Ecomail API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve every coupon folder with the number of coupons that can still be sent and the number of expired unused coupons.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ecomail API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ecomail.cz/api-reference/coupons/folders\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ecomail.mintlify.site/_mintlify/api/og/v2?division=Discount+coupons\u0026amp;title=List+coupon+folders\u0026amp;description=Retrieve+every+coupon+folder+with+the+number+of+coupons+that+can+still+be+sent+and+the+number+of+expired+unused+coupons.\u0026amp;theme=37f4d4f94071fa24511468c7\u0026amp;signature=364e6949a7c18654845f561f6b6f5b794bd3ebf2dcd6035fb781465651a5a9f3\">\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=\"List coupon folders - Ecomail API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve every coupon folder with the number of coupons that can still be sent and the number of expired unused coupons.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ecomail.mintlify.site/_mintlify/api/og/v2?division=Discount+coupons\u0026amp;title=List+coupon+folders\u0026amp;description=Retrieve+every+coupon+folder+with+the+number+of+coupons+that+can+still+be+sent+and+the+number+of+expired+unused+coupons.\u0026amp;theme=37f4d4f94071fa24511468c7\u0026amp;signature=364e6949a7c18654845f561f6b6f5b794bd3ebf2dcd6035fb781465651a5a9f3\">\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=\"/mintlify-assets/_mintlify/favicons/ecomail/_nC-Ii1GfhaTmJjE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ecomail API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0F7B5F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ecomail.cz/api-reference/coupons/folders\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/coupons/folders.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ecomail.cz/#organization\",\"name\":\"Ecomail API\",\"url\":\"https://docs.ecomail.cz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ecomail/qDze0E0xIaXJdAhk/logo/light.svg?fit=max\u0026auto=format\u0026n=qDze0E0xIaXJdAhk\u0026q=85\u0026s=7075922c6fe6d5e18e2edcaf136c8651\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ecomail.cz#website\",\"name\":\"Ecomail API\",\"url\":\"https://docs.ecomail.cz\",\"publisher\":{\"@id\":\"https://docs.ecomail.cz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ecomail.cz/api-reference/coupons/folders#webpage\",\"url\":\"https://docs.ecomail.cz/api-reference/coupons/folders\",\"name\":\"List coupon folders\",\"description\":\"Retrieve every coupon folder with the number of coupons that can still be sent and the number of expired unused coupons.\",\"dateModified\":\"2026-11-04T10:36:58.206Z\",\"isPartOf\":{\"@id\":\"https://docs.ecomail.cz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ecomail.cz/api-reference/coupons/folders#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ecomail.cz/api-reference/coupons/folders#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Discount coupons\",\"item\":\"https://docs.ecomail.cz/api-reference/coupons/import\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List coupon folders\",\"item\":\"https://docs.ecomail.cz/api-reference/coupons/folders\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ecomail.cz/api-reference/coupons/folders#apireference\",\"headline\":\"List coupon folders\",\"name\":\"List coupon folders\",\"description\":\"Retrieve every coupon folder with the number of coupons that can still be sent and the number of expired unused coupons.\",\"url\":\"https://docs.ecomail.cz/api-reference/coupons/folders\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ecomail.cz/api-reference/coupons/folders#webpage\"},\"dateModified\":\"2026-11-04T10:36:58.206Z\",\"publisher\":{\"@id\":\"https://docs.ecomail.cz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ecomail.cz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ecomail API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Ecomail API","nav":{"global":null,"tabs":[{"tab":"API reference","groups":[{"group":"Getting started","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Automations","pages":[{"title":"List all automations","api":"GET https://api2.ecomailapp.cz/pipelines","href":"/api-reference/automations/list-all"},{"title":"Get automation actions","api":"GET https://api2.ecomailapp.cz/pipelines/{id}/actions","href":"/api-reference/automations/get-actions"},{"title":"Get automation action detail","api":"GET https://api2.ecomailapp.cz/pipelines/{id}/actions/{actionId}","href":"/api-reference/automations/get-action-detail"},{"title":"Trigger automation","api":"POST https://api2.ecomailapp.cz/pipelines/{pipeline_id}/trigger","href":"/api-reference/automations/trigger"},{"title":"Get automation stats","api":"GET https://api2.ecomailapp.cz/pipelines/{pipeline_id}/stats","href":"/api-reference/automations/get-stats"},{"title":"Get automation stats detail","api":"GET https://api2.ecomailapp.cz/pipelines/{pipeline_id}/stats-detail","href":"/api-reference/automations/get-stats-detail"}]},{"group":"Campaigns","pages":[{"title":"List all campaigns","api":"GET https://api2.ecomailapp.cz/campaigns","href":"/api-reference/campaigns/list-all"},{"title":"Add new campaign","api":"POST https://api2.ecomailapp.cz/campaigns","href":"/api-reference/campaigns/add-new"},{"title":"Get campaign detail","api":"GET https://api2.ecomailapp.cz/campaigns/{campaign_id}","href":"/api-reference/campaigns/get-detail"},{"title":"Update campaign","api":"PUT https://api2.ecomailapp.cz/campaigns/{campaign_id}","href":"/api-reference/campaigns/update"},{"title":"Send campaign","api":"POST https://api2.ecomailapp.cz/campaigns/{campaign_id}/send","href":"/api-reference/campaigns/send"},{"title":"Send test campaign","api":"POST https://api2.ecomailapp.cz/campaigns/{campaign_id}/send-test","href":"/api-reference/campaigns/send-test"},{"title":"Get campaign stats","api":"GET https://api2.ecomailapp.cz/campaigns/{campaign_id}/stats","href":"/api-reference/campaigns/get-stats"},{"title":"Get campaign stats detail","api":"GET https://api2.ecomailapp.cz/campaigns/{id}/stats-detail","href":"/api-reference/campaigns/get-stats-detail"},{"title":"Get segment stats","api":"GET https://api2.ecomailapp.cz/campaigns/segment/{segmentId}/stats","href":"/api-reference/campaigns/get-segment-stats"},{"title":"Get campaign log","api":"GET https://api2.ecomailapp.cz/campaigns/{campaignId}/log","href":"/api-reference/campaigns/get-log"}]},{"group":"Discount coupons","pages":[{"title":"Import discount coupons","api":"POST https://api2.ecomailapp.cz/coupons/import","href":"/api-reference/coupons/import"},{"title":"Create or overwrite discount coupons","api":"PUT https://api2.ecomailapp.cz/coupons/import","href":"/api-reference/coupons/put-import"},{"title":"Delete discount coupons","api":"DELETE https://api2.ecomailapp.cz/coupons/delete","description":"Delete discount coupons from a default or specific folder.","href":"/api-reference/coupons/delete"},{"title":"List coupon folders","api":"GET https://api2.ecomailapp.cz/coupons/folders","href":"/api-reference/coupons/folders"}]},{"group":"Domains","pages":[{"title":"List all domains","api":"GET https://api2.ecomailapp.cz/domains","description":"Retrieve all domains in your account.","href":"/api-reference/domains/list-all"},{"title":"Create a new domain","api":"POST https://api2.ecomailapp.cz/domains","href":"/api-reference/domains/create"},{"title":"Delete a domain","api":"DELETE https://api2.ecomailapp.cz/domains/{domain}","href":"/api-reference/domains/delete"}]},{"group":"Feeds","pages":[{"title":"List all feeds","api":"GET https://api2.ecomailapp.cz/feeds","href":"/api-reference/feeds/list-all"},{"title":"Refresh product feed","api":"GET https://api2.ecomailapp.cz/feeds/{feed_id}/refresh","href":"/api-reference/feeds/refresh-product"},{"title":"Refresh data feed","api":"GET https://api2.ecomailapp.cz/data-feeds/{feed_id}/refresh","href":"/api-reference/feeds/refresh-data"}]},{"group":"Lists","pages":[{"title":"View all lists","api":"GET https://api2.ecomailapp.cz/lists","href":"/api-reference/lists/list-all"},{"title":"Add new list","api":"POST https://api2.ecomailapp.cz/lists","href":"/api-reference/lists/add-new"},{"title":"Show list detail","api":"GET https://api2.ecomailapp.cz/lists/{list_id}","href":"/api-reference/lists/show"},{"title":"Update list","api":"PUT https://api2.ecomailapp.cz/lists/{list_id}","href":"/api-reference/lists/update"},{"title":"Get segments","api":"GET https://api2.ecomailapp.cz/lists/{list_id}/segments","href":"/api-reference/lists/get-segments"},{"title":"Get subscribers","api":"GET https://api2.ecomailapp.cz/lists/{list_id}/subscribers","href":"/api-reference/lists/get-subscribers"},{"title":"Get subscriber from list","api":"GET https://api2.ecomailapp.cz/lists/{list_id}/subscriber/{email}","href":"/api-reference/lists/get-subscriber"},{"title":"Get subscriber by phone","api":"GET https://api2.ecomailapp.cz/lists/{list_id}/subscriber-by-phone/{phone}","href":"/api-reference/lists/get-subscriber-by-phone"},{"title":"Add new subscriber to list","api":"POST https://api2.ecomailapp.cz/lists/{list_id}/subscribe","href":"/api-reference/lists/subscribe"},{"title":"Add bulk subscribers","api":"POST https://api2.ecomailapp.cz/lists/{list_id}/subscribe-bulk","href":"/api-reference/lists/subscribe-bulk"},{"title":"Unsubscribe subscriber from list","api":"DELETE https://api2.ecomailapp.cz/lists/{list_id}/unsubscribe","href":"/api-reference/lists/unsubscribe"},{"title":"Update subscriber","api":"PUT https://api2.ecomailapp.cz/lists/{list_id}/update-subscriber","href":"/api-reference/lists/update-subscriber"},{"title":"Update bulk subscribers","api":"PUT https://api2.ecomailapp.cz/lists/{list_id}/update-subscribers-bulk","href":"/api-reference/lists/update-subscribers-bulk"}]},{"group":"Push notifications","pages":[{"title":"Register a push click","api":"POST https://api2.ecomailapp.cz/push/click","href":"/api-reference/push/register-click"}]},{"group":"Recommenders","pages":[{"title":"List all recommenders","api":"GET https://api2.ecomailapp.cz/recommenders","href":"/api-reference/recommenders/list-all"},{"title":"Create recommender","api":"POST https://api2.ecomailapp.cz/recommenders","href":"/api-reference/recommenders/create"},{"title":"Get recommender","api":"GET https://api2.ecomailapp.cz/recommenders/{recommender_id}","href":"/api-reference/recommenders/show"},{"title":"Update recommender","api":"PUT https://api2.ecomailapp.cz/recommenders/{recommender_id}","href":"/api-reference/recommenders/update"},{"title":"Delete recommender","api":"DELETE https://api2.ecomailapp.cz/recommenders/{recommender_id}","href":"/api-reference/recommenders/delete"}]},{"group":"Search","pages":[{"title":"Find contact","api":"POST https://api2.ecomailapp.cz/search","href":"/api-reference/search/find-contact"}]},{"group":"Smart delivery","pages":[{"title":"List smart delivery rules","api":"GET https://api2.ecomailapp.cz/smart-delivery/rules","href":"/api-reference/smart-delivery/list-all"},{"title":"Create smart delivery rule","api":"POST https://api2.ecomailapp.cz/smart-delivery/rules","href":"/api-reference/smart-delivery/create"},{"title":"Update smart delivery rule","api":"PUT https://api2.ecomailapp.cz/smart-delivery/rules/{id}","href":"/api-reference/smart-delivery/update"},{"title":"Delete smart delivery rule","api":"DELETE https://api2.ecomailapp.cz/smart-delivery/rules/{id}","href":"/api-reference/smart-delivery/delete"}]},{"group":"Subscribers","pages":[{"title":"Get subscriber","api":"GET https://api2.ecomailapp.cz/subscribers/{email}","href":"/api-reference/subscribers/get"},{"title":"Get transactions","api":"GET https://api2.ecomailapp.cz/subscribers/{email}/transactions","href":"/api-reference/subscribers/transactions"},{"title":"Get events for subscriber","api":"GET https://api2.ecomailapp.cz/subscribers/{email}/events","href":"/api-reference/subscribers/events"},{"title":"Get email log","api":"GET https://api2.ecomailapp.cz/subscribers/{email}/email-log","href":"/api-reference/subscribers/email-log"},{"title":"Get automation log","api":"GET https://api2.ecomailapp.cz/subscribers/{email}/automation-log","href":"/api-reference/subscribers/automation-log"},{"title":"Delete subscriber","api":"DELETE https://api2.ecomailapp.cz/subscribers/{email}/delete","href":"/api-reference/subscribers/delete"}]},{"group":"Templates","pages":[{"title":"List all templates","api":"GET https://api2.ecomailapp.cz/templates","href":"/api-reference/templates/list-all"},{"title":"Create a new template","api":"POST https://api2.ecomailapp.cz/templates","href":"/api-reference/templates/create"},{"title":"Get template","api":"GET https://api2.ecomailapp.cz/templates/{template_id}","href":"/api-reference/templates/get"},{"title":"Update template","api":"PUT https://api2.ecomailapp.cz/templates/{template_id}","href":"/api-reference/templates/update"}]},{"group":"Tracker events","pages":[{"title":"Create an event","api":"POST https://api2.ecomailapp.cz/tracker/events","href":"/api-reference/tracker/create-event"},{"title":"Get event by ID","api":"GET https://api2.ecomailapp.cz/tracker/events/{id}","href":"/api-reference/tracker/get-event"}]},{"group":"Transactional emails","pages":[{"title":"Send transactional email","api":"POST https://api2.ecomailapp.cz/transactional/send-message","href":"/api-reference/transactional/send-message"},{"title":"Send transactional template","api":"POST https://api2.ecomailapp.cz/transactional/send-template","href":"/api-reference/transactional/send-template"},{"title":"Transactional email stats","api":"GET https://api2.ecomailapp.cz/transactional/stats","href":"/api-reference/transactional/stats"},{"title":"Double opt-in stats","api":"GET https://api2.ecomailapp.cz/transactional/stats/doi","href":"/api-reference/transactional/doi-stats"}]},{"group":"Transactions","pages":[{"title":"Create a transaction","api":"POST https://api2.ecomailapp.cz/tracker/transaction","href":"/api-reference/transactions/create"},{"title":"Create bulk transactions","api":"POST https://api2.ecomailapp.cz/tracker/transaction-bulk","href":"/api-reference/transactions/create-bulk"},{"title":"Get transactions","api":"GET https://api2.ecomailapp.cz/tracker/transaction","href":"/api-reference/transactions/get"},{"title":"Update a transaction","api":"PUT https://api2.ecomailapp.cz/tracker/transaction/{order_id}","href":"/api-reference/transactions/update"},{"title":"Delete a transaction","api":"DELETE https://api2.ecomailapp.cz/tracker/transaction/{order_id}/delete","href":"/api-reference/transactions/delete"},{"title":"Delete bulk transactions","api":"DELETE https://api2.ecomailapp.cz/tracker/transaction/delete-bulk","href":"/api-reference/transactions/delete-bulk"}]},{"group":"Webhooks","pages":[{"title":"Set webhook URL","api":"POST https://api2.ecomailapp.cz/account/settings/webhook","href":"/api-reference/webhooks/set-url"},{"title":"Get webhook URL","api":"GET https://api2.ecomailapp.cz/account/settings/webhook","href":"/api-reference/webhooks/get-url"},{"title":"Delete webhook URL","api":"DELETE https://api2.ecomailapp.cz/account/settings/webhook","href":"/api-reference/webhooks/delete-url"},{"title":"Webhook events","href":"/api-reference/webhooks/events"}]}]},{"tab":"Template language","pages":[{"title":"Template language","href":"/template-language/links"}]},{"tab":"Ecomail AI","pages":[{"title":"Ecomail AI","href":"/ecomail-ai/overview"}]}]},"basePath":"","title":"List coupon folders - Ecomail API","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js"]}