Put the key in the Authorization header as a Bearer token:
Authorization: Bearer tapace_live_xxxxxxxxxxxx
The key also decides the environment. Keys starting with tapace_test_ work in test mode and keys starting with tapace_live_ work in live mode. See Test and live.
Keep API keys on your server. Never put them in a website, mobile app or anything else a customer can download.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"TapAce","colors":{"primary":"#2858e7","light":"#87a5ff","dark":"#2858e7"},"logo":{"light":"https://mintcdn.com/tap-ace/6_A2vjXYLGQSpqT8/logo/light.svg?fit=max\u0026auto=format\u0026n=6_A2vjXYLGQSpqT8\u0026q=85\u0026s=7c93bbfa62a3530504de21d5661ea11b","dark":"https://mintcdn.com/tap-ace/6_A2vjXYLGQSpqT8/logo/dark.svg?fit=max\u0026auto=format\u0026n=6_A2vjXYLGQSpqT8\u0026q=85\u0026s=e261b3f608b70521bf732ecbdeadc08c"},"favicon":"https://mintcdn.com/tap-ace/e-hzMCe_KL16V20w/favicon.svg?fit=max\u0026auto=format\u0026n=e-hzMCe_KL16V20w\u0026q=85\u0026s=98ed28457b44a824c930203115995270","api":{"playground":{"display":"simple"},"mdx":{"auth":{"method":"bearer"},"server":"https://api.tapace.lk"}},"appearance":{"default":"system","strict":false},"background":{"color":{"light":"#fafaf9","dark":"#0a0b0d"}},"navbar":{"links":[{"href":"https://tapace.lk","label":"Home"},{"href":"https://tapace.lk/blog","label":"Blog"}],"primary":{"type":"button","label":"Get started","href":"https://app.tapace.lk/sign-up"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/owask","instagram":"https://www.instagram.com/owaskco"}},"seo":{"metatags":{"google-site-verification":"9PvQSsL1SFFDpyjcS3PuW4srW0aQnFHtB4lih22PV-I"}},"fonts":{"family":"Inter"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tap-ace","hasAudioNarration":false,"actualSubdomain":"tap-ace","customDomains":["tapace.lk"],"gitSource":{"type":"github","owner":"mintlify-community","repo":"docs-tap-ace-dd992ba6","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6aec7edd25c041b7860854aa","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Passes","count":10},{"language":"default","tag":"Templates","count":8},{"language":"default","tag":"Notifications","count":7},{"language":"default","tag":"Node.js SDK","count":7},{"language":"default","tag":"Basics","count":5},{"language":"default","tag":"Guides","count":5},{"language":"default","tag":"Deployments","count":4},{"language":"default","tag":"Assets","count":3},{"language":"default","tag":"Wallet signing","count":3},{"language":"default","tag":"Loyalty cards","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","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":"authentication","slug":"/authentication","pageMetadata":{"title":"Authentication","description":"Send an API key with every request.","href":"/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: \"Send an API key with every request.\"\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`,strong:`strong`,..._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:[`TapAce authenticates requests with API keys. Create and revoke them in the dashboard under `,_jsx(_components.strong,{children:`Developers → API keys`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`send-your-key`,children:`Send your key`}),`\n`,_jsxs(_components.p,{children:[`Put the key in the `,_jsx(_components.code,{children:`Authorization`}),` header as a Bearer token:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tapace_live_xxxxxxxxxxxx`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The key also decides the environment. Keys starting with `,_jsx(_components.code,{children:`tapace_test_`}),` work in test mode and keys starting with `,_jsx(_components.code,{children:`tapace_live_`}),` work in live mode. See `,_jsx(_components.a,{href:`/environments`,children:`Test and live`}),`.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Keep API keys on your server. Never put them in a website, mobile app or anything else a customer can download.`})}),`\n`,_jsx(Heading,{level:`2`,id:`check-a-key`,children:`Check a key`}),`\n`,_jsxs(_components.p,{children:[`Call `,_jsx(_components.a,{href:`/api-reference/me`,children:_jsx(_components.code,{children:`GET /v1/me`})}),` to see which organization and environment a key belongs to:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,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:`2`,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://api.tapace.lk/v1/me`}),_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:` \"Authorization: Bearer tapace_test_xxxxxxxxxxxx\"`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` \"organizationId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"org_2tQpA8kLmN3vX\"`}),_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:` \"environment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"test\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`failed-authentication`,children:`Failed authentication`}),`\n`,_jsxs(_components.p,{children:[`A missing, malformed, unknown or revoked key gets the same `,_jsx(_components.code,{children:`401`}),` response, so a key’s status can’t be probed:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,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:`7`,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:` \"error\"`}),_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:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"invalid_api_key\"`}),_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:`\"Invalid API key.\"`})]}),`\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:` \"requestId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"req_8f3a2c1d9e7b6a54\"`})]}),`\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":"Authentication","description":"Send an API key with every request.","href":"/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Send your key","slug":"send-your-key","depth":2,"children":[]},{"title":"Check a key","slug":"check-a-key","depth":2,"children":[]},{"title":"Failed authentication","slug":"failed-authentication","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"tap-ace","siteName":"TapAce","title":"Authentication - TapAce","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-12T19:57:24.667Z","originalFileLocation":"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=\"Send an API key with every request.\">\u003cmeta data-mint-head name=\"application-name\" content=\"TapAce\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/tap-ace/qW4baUbucvM3e31y/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/tap-ace/qW4baUbucvM3e31y/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/tap-ace/qW4baUbucvM3e31y/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/tap-ace/qW4baUbucvM3e31y/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/tap-ace/qW4baUbucvM3e31y/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/tap-ace/qW4baUbucvM3e31y/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/tap-ace/qW4baUbucvM3e31y/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/tap-ace/qW4baUbucvM3e31y/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/tap-ace/qW4baUbucvM3e31y/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - TapAce\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send an API key with every request.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"TapAce\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://tapace.lk/docs/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tap-ace.mintlify.site/docs/_mintlify/api/og/v2?division=Basics\u0026amp;title=Authentication\u0026amp;description=Send+an+API+key+with+every+request.\u0026amp;theme=b840527647f99c84bfb7cb00\u0026amp;signature=087277dfe1505f6f6b9a5ea8b7c4831f22bbc010ed4fd81993bc99a3c4b4382c\">\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 - TapAce\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send an API key with every request.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tap-ace.mintlify.site/docs/_mintlify/api/og/v2?division=Basics\u0026amp;title=Authentication\u0026amp;description=Send+an+API+key+with+every+request.\u0026amp;theme=b840527647f99c84bfb7cb00\u0026amp;signature=087277dfe1505f6f6b9a5ea8b7c4831f22bbc010ed4fd81993bc99a3c4b4382c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/tap-ace/qW4baUbucvM3e31y/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"TapAce\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2858e7\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"9PvQSsL1SFFDpyjcS3PuW4srW0aQnFHtB4lih22PV-I\">\u003clink data-mint-head rel=\"canonical\" href=\"https://tapace.lk/docs/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://tapace.lk/#organization\",\"name\":\"TapAce\",\"url\":\"https://tapace.lk\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tap-ace/6_A2vjXYLGQSpqT8/logo/light.svg?fit=max\u0026auto=format\u0026n=6_A2vjXYLGQSpqT8\u0026q=85\u0026s=7c93bbfa62a3530504de21d5661ea11b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://tapace.lk/docs#website\",\"name\":\"TapAce\",\"url\":\"https://tapace.lk/docs\",\"publisher\":{\"@id\":\"https://tapace.lk/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://tapace.lk/docs/authentication#webpage\",\"url\":\"https://tapace.lk/docs/authentication\",\"name\":\"Authentication\",\"description\":\"Send an API key with every request.\",\"dateModified\":\"2026-10-12T19:57:24.667Z\",\"isPartOf\":{\"@id\":\"https://tapace.lk/docs#website\"},\"breadcrumb\":{\"@id\":\"https://tapace.lk/docs/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://tapace.lk/docs/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"TapAce\",\"item\":\"https://tapace.lk/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://tapace.lk/docs/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://tapace.lk/docs/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"Send an API key with every request.\",\"url\":\"https://tapace.lk/docs/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://tapace.lk/docs/authentication#webpage\"},\"dateModified\":\"2026-10-12T19:57:24.667Z\",\"publisher\":{\"@id\":\"https://tapace.lk/#organization\"},\"isPartOf\":{\"@id\":\"https://tapace.lk/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"TapAce\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"TapAce","nav":{"global":null,"pages":[{"group":"Getting started","pages":[{"title":"Introduction","href":"/index"},{"title":"Quickstart","description":"Issue a test pass, send it to a phone, and update it.","href":"/quickstart"}]},{"group":"Basics","pages":[{"title":"Authentication","href":"/authentication"},{"title":"Test and live","description":"Build in test mode, then switch to live keys.","href":"/environments"},{"title":"Idempotency","href":"/idempotency"},{"title":"Pagination","href":"/pagination"},{"title":"Errors","href":"/errors"}]},{"group":"Guides","pages":[{"title":"Deliver passes","href":"/guides/deliver-passes"},{"title":"Update passes","href":"/guides/update-passes"},{"title":"Stamp cards","href":"/guides/stamp-cards"},{"title":"Points cards","href":"/guides/points-cards"},{"title":"Webhooks","href":"/guides/webhooks"}]},{"group":"Node.js SDK","pages":[{"title":"SDK installation","sidebarTitle":"Installation","href":"/sdk/node/overview"},{"title":"Node.js quickstart","sidebarTitle":"Quickstart","href":"/sdk/node/quickstart"},{"title":"SDK configuration","sidebarTitle":"Configuration","href":"/sdk/node/configuration"},{"title":"Resource methods","sidebarTitle":"Resource methods","href":"/sdk/node/resources"},{"title":"Errors and retries","sidebarTitle":"Errors and retries","href":"/sdk/node/reliability"},{"title":"Webhook verification","sidebarTitle":"Webhook verification","href":"/sdk/node/webhooks"},{"title":"Troubleshooting","sidebarTitle":"Troubleshooting","href":"/sdk/node/troubleshooting"}]},{"group":"API keys","pages":[{"title":"Check an API key","api":"GET /v1/me","href":"/api-reference/me"}]},{"group":"Passes","pages":[{"title":"Issue a pass","api":"POST /v1/passes","href":"/api-reference/passes/issue"},{"title":"List passes","api":"GET /v1/passes","href":"/api-reference/passes/list"},{"title":"Get a pass","api":"GET /v1/passes/{id}","href":"/api-reference/passes/get"},{"title":"Update a pass","api":"PATCH /v1/passes/{id}","href":"/api-reference/passes/update"},{"title":"List pass updates","api":"GET /v1/passes/{id}/updates","href":"/api-reference/passes/list-updates"},{"title":"Get a pass update","api":"GET /v1/passes/{id}/updates/{updateId}","href":"/api-reference/passes/get-update"},{"title":"Void a pass","api":"POST /v1/passes/{id}/void","href":"/api-reference/passes/void"},{"title":"Delete a pass","api":"DELETE /v1/passes/{id}","href":"/api-reference/passes/delete"},{"title":"Create a download link","api":"POST /v1/passes/{id}/download-links","href":"/api-reference/passes/create-download-link"},{"title":"Revoke a download link","api":"DELETE /v1/download-links/{id}","href":"/api-reference/passes/revoke-download-link"}]},{"group":"Loyalty cards","pages":[{"title":"Add stamps","api":"POST /v1/passes/{id}/stamps","href":"/api-reference/passes/add-stamps"},{"title":"Add points","api":"POST /v1/passes/{id}/points","href":"/api-reference/passes/add-points"}]},{"group":"Notifications","pages":[{"title":"Send to a pass","api":"POST /v1/passes/{id}/notifications","href":"/api-reference/notifications/send-to-pass"},{"title":"Send to a template","api":"POST /v1/templates/{id}/notifications","href":"/api-reference/notifications/send-to-template"},{"title":"Get a notification","api":"GET /v1/notifications/{id}","href":"/api-reference/notifications/get"},{"title":"List a pass's notifications","api":"GET /v1/passes/{id}/notifications","href":"/api-reference/notifications/list-for-pass"},{"title":"List a template's notifications","api":"GET /v1/templates/{id}/notifications","href":"/api-reference/notifications/list-for-template"},{"title":"Update a scheduled notification","api":"PATCH /v1/notifications/{id}","href":"/api-reference/notifications/update"},{"title":"Cancel a scheduled notification","api":"POST /v1/notifications/{id}/cancel","href":"/api-reference/notifications/cancel"}]},{"group":"Templates","pages":[{"title":"List templates","api":"GET /v1/templates","href":"/api-reference/templates/list"},{"title":"Get a template","api":"GET /v1/templates/{id}","href":"/api-reference/templates/get"},{"title":"Update a template","api":"PATCH /v1/templates/{id}","href":"/api-reference/templates/update"},{"title":"Duplicate a template","api":"POST /v1/templates/{id}/duplicate","href":"/api-reference/templates/duplicate"},{"title":"Archive a template","api":"POST /v1/templates/{id}/archive","href":"/api-reference/templates/archive"},{"title":"Delete a template","api":"DELETE /v1/templates/{id}","href":"/api-reference/templates/delete"},{"title":"Get event details","api":"GET /v1/templates/{templateId}/event","href":"/api-reference/templates/get-event"},{"title":"Save event details","api":"PUT /v1/templates/{templateId}/event","href":"/api-reference/templates/save-event"}]},{"group":"Wallet signing","pages":[{"title":"List wallet signers","api":"GET /v1/wallet-signers","href":"/api-reference/wallet-signers/list"},{"title":"Get template signing","api":"GET /v1/templates/{id}/signing","href":"/api-reference/templates/get-signing"},{"title":"Update template signing","api":"PUT /v1/templates/{id}/signing","href":"/api-reference/templates/update-signing"}]},{"group":"Deployments","pages":[{"title":"Deploy a template","api":"POST /v1/templates/{id}/deployments","href":"/api-reference/deployments/create"},{"title":"Get a deployment","api":"GET /v1/deployments/{id}","href":"/api-reference/deployments/get"},{"title":"List deployments","api":"GET /v1/templates/{id}/deployments","href":"/api-reference/deployments/list"},{"title":"List deployment results","api":"GET /v1/deployments/{id}/results","href":"/api-reference/deployments/results"}]},{"group":"Assets","pages":[{"title":"Upload an asset","api":"POST /v1/assets","href":"/api-reference/assets/upload"},{"title":"Get an asset","api":"GET /v1/assets/{id}","href":"/api-reference/assets/get"},{"title":"Get asset content","api":"GET /v1/assets/{id}/content","href":"/api-reference/assets/content"}]}]},"basePath":"","title":"Authentication - TapAce","buildId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","deploymentId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","dynamics":[],"chunks":[]}