How to authenticate requests to the Pocketflows API
All API endpoints are authenticated using Basic HTTP authentication. Pass your project_id as the
username and secret_key as the password, and send JSON:
The API is served from https://api.pocketflows.com. Paths in these docs, such as
POST /sync/businesses, are relative to that URL.Keep your secret key on your servers. Never send it to a browser or a mobile app: to show
Pocketflows to a business, render an embed instead.
API keys
Find your project_id and secret_key in the
API Keys tab of
your dashboard. If you don’t have credentials yet, reach out to
us at team@pocketflows.com.If the credentials are missing or wrong, the API returns 401 with an empty body.
Test and live mode
Your account has two projects, one for test mode and one for live mode, each with its own businesses,
customers and templates. The secret key decides which one a request uses: keys that start with
sk_test use test mode, and keys that start with sk_live use live mode. Your project_id is the
same for both.To see test-mode data in the dashboard, turn on the “Test Mode” toggle at the top right corner.
Test mode keeps your data separate, but it still delivers real email and SMS messages. Use your
own addresses and phone numbers when you test.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Pocketflows","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/pocketflows/Ul9XP6G-pvDyIu8e/logo/favicon.svg?fit=max\u0026auto=format\u0026n=Ul9XP6G-pvDyIu8e\u0026q=85\u0026s=e73e9a41d4997df3475fa20b812ff79c","dark":"https://mintcdn.com/pocketflows/Ul9XP6G-pvDyIu8e/logo/favicon.svg?fit=max\u0026auto=format\u0026n=Ul9XP6G-pvDyIu8e\u0026q=85\u0026s=e73e9a41d4997df3475fa20b812ff79c"},"favicon":"https://mintcdn.com/pocketflows/Ul9XP6G-pvDyIu8e/logo/favicon.svg?fit=max\u0026auto=format\u0026n=Ul9XP6G-pvDyIu8e\u0026q=85\u0026s=e73e9a41d4997df3475fa20b812ff79c","api":{"openapi":["openapi.json"],"mdx":{"auth":{"method":"basic"},"server":"https://api.pocketflows.com"}},"navbar":{"links":[{"href":"mailto:team@pocketflows.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.pocketflows.com"}},"integrations":{"posthog":{"apiKey":"phc_pFCaPyUWmiMuQFhoxqQTTHM7rTf3DPpCA1haOY2QQyB"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pocketflows","hasAudioNarration":false,"actualSubdomain":"pocketflows","customDomains":["docs.pocketflows.com"],"gitSource":{"type":"github","owner":"pocketflows","repo":"pocketflows","deployBranch":"main","contentDirectory":"public-docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10a4c49ffae5051c3f9d3a"},"entitlements":{},"buildId":"6b146c34b4ec4d73377b2316","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"API Reference","count":236},{"language":"default","tag":"Endpoints","count":236},{"language":"default","tag":"Documentation","count":32},{"language":"default","tag":"Campaigns","count":16},{"language":"default","tag":"Segments","count":13},{"language":"default","tag":"Triggers","count":13},{"language":"default","tag":"How-to guides","count":12},{"language":"default","tag":"Customers","count":12},{"language":"default","tag":"Reference","count":10},{"language":"default","tag":"Email blasts","count":10}]},"assistantConfig":{},"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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"reference/authentication","slug":"/reference/authentication","pageMetadata":{"title":"Authentication","description":"How to authenticate requests to the Pocketflows API","href":"/reference/authentication"},"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: \"How to authenticate requests to the Pocketflows API\"\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={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`All API endpoints are authenticated using Basic HTTP authentication. Pass your `,_jsx(_components.code,{children:`project_id`}),` as the\nusername and `,_jsx(_components.code,{children:`secret_key`}),` as the password, and send JSON:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authorization: Basic base64(project_id:secret_key)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Content-Type: application/json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`The API is served from `,_jsx(_components.code,{children:`https://api.pocketflows.com`}),`. Paths in these docs, such as\n`,_jsx(_components.code,{children:`POST /sync/businesses`}),`, are relative to that URL.`]}),`\n`,_jsxs(_components.p,{children:[`Keep your secret key on your servers. Never send it to a browser or a mobile app: to show\nPocketflows to a business, `,_jsx(_components.a,{href:`/how-to/render-an-embed`,children:`render an embed`}),` instead.`]}),`\n`,_jsx(Heading,{level:`2`,id:`api-keys`,children:`API keys`}),`\n`,_jsxs(_components.p,{children:[`Find your `,_jsx(_components.code,{children:`project_id`}),` and `,_jsx(_components.code,{children:`secret_key`}),` in the\n`,_jsx(_components.a,{href:`https://dashboard.pocketflows.com/api_keys`,children:`API Keys tab`}),` of\n`,_jsx(_components.a,{href:`https://dashboard.pocketflows.com`,children:`your dashboard`}),`. If you don’t have credentials yet, reach out to\nus at `,_jsx(_components.a,{href:`mailto:team@pocketflows.com`,children:`team@pocketflows.com`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`If the credentials are missing or wrong, the API returns `,_jsx(_components.code,{children:`401`}),` with an empty body.`]}),`\n`,_jsx(Heading,{level:`2`,id:`test-and-live-mode`,children:`Test and live mode`}),`\n`,_jsxs(_components.p,{children:[`Your account has two projects, one for test mode and one for live mode, each with its own businesses,\ncustomers and templates. The secret key decides which one a request uses: keys that start with\n`,_jsx(_components.code,{children:`sk_test`}),` use test mode, and keys that start with `,_jsx(_components.code,{children:`sk_live`}),` use live mode. Your `,_jsx(_components.code,{children:`project_id`}),` is the\nsame for both.`]}),`\n`,_jsx(_components.p,{children:`To see test-mode data in the dashboard, turn on the “Test Mode” toggle at the top right corner.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Test mode keeps your data separate, but it still delivers real email and SMS messages. Use your\nown addresses and phone numbers when you test.`})})]})}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":"Authentication","description":"How to authenticate requests to the Pocketflows API","href":"/reference/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"API keys","slug":"api-keys","depth":2,"children":[]},{"title":"Test and live mode","slug":"test-and-live-mode","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"pocketflows","siteName":"Pocketflows","title":"Authentication - Pocketflows","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-05T19:55:46.936Z","originalFileLocation":"reference/authentication.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=\"How to authenticate requests to the Pocketflows API\">\u003cmeta data-mint-head name=\"application-name\" content=\"Pocketflows\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pocketflows/oyoIMHaEG6V1ihTa/_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/pocketflows/oyoIMHaEG6V1ihTa/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pocketflows/oyoIMHaEG6V1ihTa/_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/pocketflows/oyoIMHaEG6V1ihTa/_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/pocketflows/oyoIMHaEG6V1ihTa/_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/pocketflows/oyoIMHaEG6V1ihTa/_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/pocketflows/oyoIMHaEG6V1ihTa/_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/pocketflows/oyoIMHaEG6V1ihTa/_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/pocketflows/oyoIMHaEG6V1ihTa/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - Pocketflows\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to authenticate requests to the Pocketflows API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Pocketflows\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.pocketflows.com/reference/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pocketflows.mintlify.site/_mintlify/api/og/v2?division=Reference\u0026amp;title=Authentication\u0026amp;description=How+to+authenticate+requests+to+the+Pocketflows+API\u0026amp;theme=d2db49bcfebe99e35b819216\u0026amp;signature=ebd186db6cde38948cc33c7e2bbd26882dfc6cad660239faf64c3bb04f2854f7\">\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=\"Authentication - Pocketflows\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to authenticate requests to the Pocketflows API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pocketflows.mintlify.site/_mintlify/api/og/v2?division=Reference\u0026amp;title=Authentication\u0026amp;description=How+to+authenticate+requests+to+the+Pocketflows+API\u0026amp;theme=d2db49bcfebe99e35b819216\u0026amp;signature=ebd186db6cde38948cc33c7e2bbd26882dfc6cad660239faf64c3bb04f2854f7\">\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/pocketflows/oyoIMHaEG6V1ihTa/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Pocketflows\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.pocketflows.com/reference/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.pocketflows.com/#organization\",\"name\":\"Pocketflows\",\"url\":\"https://docs.pocketflows.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pocketflows/Ul9XP6G-pvDyIu8e/logo/favicon.svg?fit=max\u0026auto=format\u0026n=Ul9XP6G-pvDyIu8e\u0026q=85\u0026s=e73e9a41d4997df3475fa20b812ff79c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.pocketflows.com#website\",\"name\":\"Pocketflows\",\"url\":\"https://docs.pocketflows.com\",\"publisher\":{\"@id\":\"https://docs.pocketflows.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.pocketflows.com/reference/authentication#webpage\",\"url\":\"https://docs.pocketflows.com/reference/authentication\",\"name\":\"Authentication\",\"description\":\"How to authenticate requests to the Pocketflows API\",\"dateModified\":\"2026-12-05T19:55:46.936Z\",\"isPartOf\":{\"@id\":\"https://docs.pocketflows.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.pocketflows.com/reference/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.pocketflows.com/reference/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Pocketflows\",\"item\":\"https://docs.pocketflows.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://docs.pocketflows.com/reference/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.pocketflows.com/reference/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"How to authenticate requests to the Pocketflows API\",\"url\":\"https://docs.pocketflows.com/reference/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://docs.pocketflows.com/reference/authentication#webpage\"},\"dateModified\":\"2026-12-05T19:55:46.936Z\",\"publisher\":{\"@id\":\"https://docs.pocketflows.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.pocketflows.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Pocketflows\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Pocketflows\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/reference/authentication.md","siteName":"Pocketflows","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get started","pages":[{"title":"Introduction","href":"/introduction"}]},{"group":"Tutorials","icon":"graduation-cap","pages":[{"title":"Quickstart","href":"/tutorials/quickstart"}]},{"group":"How-to guides","icon":"wrench","pages":[{"title":"Sync businesses and customers","sidebarTitle":"Sync your data","href":"/how-to/sync-businesses-and-customers"},{"title":"Respect customer consent","sidebarTitle":"Manage consent","href":"/how-to/manage-customer-consent"},{"title":"Migrate to the sync endpoints","sidebarTitle":"Migrate to sync","href":"/how-to/migrate-to-sync-endpoints"},{"title":"Render an embed in your application","sidebarTitle":"Render an embed","href":"/how-to/render-an-embed"},{"title":"Send a single email","sidebarTitle":"Send a single email","href":"/how-to/send-a-single-email"},{"title":"Let businesses build segments from your data","sidebarTitle":"Set up segment filters","href":"/how-to/set-up-segment-filters"},{"title":"Build segments and triggers with the API","sidebarTitle":"Build segments and triggers","href":"/how-to/build-segments-and-triggers-with-the-api"},{"title":"Send messages when something happens in your product","sidebarTitle":"Trigger messages from events","href":"/how-to/trigger-messages-from-events"},{"title":"Give businesses pre-built campaigns, triggers and emails","sidebarTitle":"Offer pre-built templates","href":"/how-to/offer-prebuilt-templates"},{"title":"Set up custom domains","sidebarTitle":"Custom domains","href":"/how-to/set-up-custom-domains"},{"title":"Automate customer birthday campaigns","sidebarTitle":"Birthday campaigns","href":"/how-to/automate-birthday-campaigns"},{"title":"Track ad conversions","href":"/how-to/track-ad-conversions"}]},{"group":"Concepts","icon":"lightbulb","pages":[{"title":"Businesses, customers, and embeds","sidebarTitle":"Data model","href":"/concepts/data-model"},{"title":"How embeds are secured","sidebarTitle":"Embed security","href":"/concepts/embeds"},{"title":"How syncing works","sidebarTitle":"Syncing","href":"/concepts/sync"},{"title":"How segments and filter definitions work","sidebarTitle":"Segments and filters","href":"/concepts/segments-and-filters"},{"title":"How events and triggers work","sidebarTitle":"Events and triggers","href":"/concepts/events-and-triggers"},{"title":"How pre-built templates work","sidebarTitle":"Pre-built templates","href":"/concepts/templates"},{"title":"How personalization variables work","sidebarTitle":"Personalization variables","href":"/concepts/personalization-variables"},{"title":"How ad attribution works","sidebarTitle":"Ad attribution","description":"What Pocketflows does from the first ad click through to the attributed conversion","href":"/concepts/ad-attribution"}]},{"group":"Reference","icon":"book","pages":[{"title":"Authentication","href":"/reference/authentication"},{"title":"Errors","description":"Status codes, error bodies, limits, and which errors to retry","href":"/reference/errors"},{"title":"Idempotency keys","href":"/reference/idempotency-keys"},{"title":"Webhooks","href":"/reference/webhooks"},{"title":"Filter definitions","href":"/reference/filter-definitions"},{"title":"Filter syntax","href":"/reference/filter-syntax"},{"title":"Variables","href":"/reference/variables"},{"title":"Tracking event payload examples","sidebarTitle":"Tracking event payloads","href":"/reference/tracking-event-payloads"},{"title":"Sending semantics","href":"/reference/sending-semantics"},{"title":"UTM parameters","href":"/reference/utm-parameters"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/analytics-embeds/list-all-analytics-embeds-for-a-business"}]}]},"basePath":"","title":"Authentication - Pocketflows","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":[],"chunks":[]}