Create a GreenTick API key and send it as a Bearer token.
Every route except GET /health and GET /openapi.json needs an API key for one WhatsApp Business account. The key starts with gt_live_.
Create a key
Open Developer in the dashboard, choose the WhatsApp Business account, enter a Key name, and click Create API key. The secret is shown once. Store it in a secret manager. The dashboard keeps only a prefix after that.If Developer says the section is in progress, key creation is turned off in that environment. Email hello@greentick.ai if you need it enabled.
A valid key returns success: true, the key name, and the account timezone. Use that timezone when you schedule a template without an offset in scheduledAt. The same check is Check the API key.The Bearer scheme is required. A bare gt_live_… value, or a Firebase login token, is rejected with 401 and code UNAUTHORIZED.
Which number the key uses
A key is scoped to the WhatsApp Business account you selected when you created it. When that account has more than one phone number, pass phoneNumberRef from List WhatsApp phone numbers on send and list calls. If the account has a single number, GreenTick can use that number when the field is omitted.
Replace a key
Revoke a key from Developer when it leaks or when someone with Manage developer app leaves the team. Revoked keys fail immediately. Create a new key to replace one. GreenTick cannot show the old secret again.
Do not put the API key in a frontend app, a public spreadsheet cell, or a client-side WhatsApp widget. Keep it on a server. Google Sheets stores the key in that spreadsheet’s document properties for the add-on.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"GreenTick","colors":{"primary":"#128C7E","light":"#25D366","dark":"#075E54"},"logo":{"light":"https://mintcdn.com/green-tick/z1w6BzDV16VrPV3V/logo/light.png?fit=max\u0026auto=format\u0026n=z1w6BzDV16VrPV3V\u0026q=85\u0026s=576e67dfdaabe7d160970f5e1b7ff6fb","dark":"https://mintcdn.com/green-tick/z1w6BzDV16VrPV3V/logo/dark.png?fit=max\u0026auto=format\u0026n=z1w6BzDV16VrPV3V\u0026q=85\u0026s=5f084e3da16cfa24ac635295e5fda3a9"},"favicon":"https://mintcdn.com/green-tick/msbWoWS4QM6Kt8Fa/favicon.ico?fit=max\u0026auto=format\u0026n=msbWoWS4QM6Kt8Fa\u0026q=85\u0026s=59d16d1ea1ca9c05c4ab16a366d3f755","navbar":{"links":[{"href":"https://greentick.ai","label":"Website"},{"href":"mailto:hello@greentick.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.greentick.ai"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/showcase/greentick-simplest-whatsapp-marketing-platform-for-business/home","instagram":"https://instagram.com/greentick_ai","youtube":"https://youtube.com/@WAGrowthLab"}},"search":{"prompt":"Search GreenTick docs"},"seo":{"metatags":{"canonical":"https://docs.greentick.ai"},"indexing":"navigable"},"integrations":{"ga4":{"measurementId":"G-CFFRX5DQ6H"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"green-tick","hasAudioNarration":false,"actualSubdomain":"green-tick","customDomains":["docs.greentick.ai"],"gitSource":{"type":"github","owner":"akshayagrawal1997","repo":"greentick-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6adc8b4bde4d65aac0dc4487"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b0e724f0b4edc76b30e2213","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"API","count":101},{"language":"default","tag":"MCP","count":35},{"language":"default","tag":"Help Center","count":30},{"language":"default","tag":"Use cases","count":20},{"language":"default","tag":"Flows","count":13},{"language":"default","tag":"Tools","count":12},{"language":"default","tag":"Workflows","count":12},{"language":"default","tag":"Conversations","count":10},{"language":"default","tag":"AI bots","count":9},{"language":"default","tag":"Broadcasts","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":"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}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"img.nav-logo{height:2.75rem!important;width:auto!important}"}]}
{"page":{"pagePath":"api/authentication","slug":"/api/authentication","pageMetadata":{"title":"Authentication","description":"Create a GreenTick API key and send it as a Bearer token.","keywords":["API key","Bearer","gt_live","authentication"],"href":"/api/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: \"Create a GreenTick API key and send it as a Bearer token.\"\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:[`Every route except `,_jsx(_components.code,{children:`GET /health`}),` and `,_jsx(_components.code,{children:`GET /openapi.json`}),` needs an API key for one WhatsApp Business account. The key starts with `,_jsx(_components.code,{children:`gt_live_`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-key`,children:`Create a key`}),`\n`,_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Developer`}),` in the dashboard, choose the WhatsApp Business account, enter a `,_jsx(_components.strong,{children:`Key name`}),`, and click `,_jsx(_components.strong,{children:`Create API key`}),`. The secret is shown once. Store it in a secret manager. The dashboard keeps only a prefix after that.`]}),`\n`,_jsxs(_components.p,{children:[`If `,_jsx(_components.strong,{children:`Developer`}),` says the section is in progress, key creation is turned off in that environment. Email `,_jsx(_components.a,{href:`mailto:hello@greentick.ai`,children:`hello@greentick.ai`}),` if you need it enabled.`]}),`\n`,_jsx(Heading,{level:`2`,id:`send-the-key`,children:`Send the key`}),`\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.greentick.ai/v1/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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer gt_live_YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`A valid key returns `,_jsx(_components.code,{children:`success: true`}),`, the key name, and the account timezone. Use that timezone when you schedule a template without an offset in `,_jsx(_components.code,{children:`scheduledAt`}),`. The same check is `,_jsx(_components.a,{href:`/api/api-key/check-the-api-key`,children:`Check the API key`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`The Bearer scheme is required. A bare `,_jsx(_components.code,{children:`gt_live_…`}),` value, or a Firebase login token, is rejected with `,_jsx(_components.code,{children:`401`}),` and code `,_jsx(_components.code,{children:`UNAUTHORIZED`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`which-number-the-key-uses`,children:`Which number the key uses`}),`\n`,_jsxs(_components.p,{children:[`A key is scoped to the WhatsApp Business account you selected when you created it. When that account has more than one phone number, pass `,_jsx(_components.code,{children:`phoneNumberRef`}),` from `,_jsx(_components.a,{href:`/api/phone-numbers/list-whatsapp-phone-numbers`,children:`List WhatsApp phone numbers`}),` on send and list calls. If the account has a single number, GreenTick can use that number when the field is omitted.`]}),`\n`,_jsx(Heading,{level:`2`,id:`replace-a-key`,children:`Replace a key`}),`\n`,_jsxs(_components.p,{children:[`Revoke a key from `,_jsx(_components.strong,{children:`Developer`}),` when it leaks or when someone with `,_jsx(_components.strong,{children:`Manage developer app`}),` leaves the team. Revoked keys fail immediately. Create a new key to replace one. GreenTick cannot show the old secret again.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Do not put the API key in a frontend app, a public spreadsheet cell, or a client-side WhatsApp widget. Keep it on a server. Google Sheets stores the key in that spreadsheet’s document properties for the add-on.`})})]})}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":"Create a GreenTick API key and send it as a Bearer token.","keywords":["API key","Bearer","gt_live","authentication"],"href":"/api/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Create a key","slug":"create-a-key","depth":2,"children":[]},{"title":"Send the key","slug":"send-the-key","depth":2,"children":[]},{"title":"Which number the key uses","slug":"which-number-the-key-uses","depth":2,"children":[]},{"title":"Replace a key","slug":"replace-a-key","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"green-tick","siteName":"GreenTick","title":"Authentication - GreenTick","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-01T07:02:19.755Z","originalFileLocation":"api/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=\"Create a GreenTick API key and send it as a Bearer token.\">\u003cmeta data-mint-head name=\"application-name\" content=\"GreenTick\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/green-tick/oeuyAZBZcf1ibUQn/_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/green-tick/oeuyAZBZcf1ibUQn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/green-tick/oeuyAZBZcf1ibUQn/_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/green-tick/oeuyAZBZcf1ibUQn/_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/green-tick/oeuyAZBZcf1ibUQn/_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/green-tick/oeuyAZBZcf1ibUQn/_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/green-tick/oeuyAZBZcf1ibUQn/_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/green-tick/oeuyAZBZcf1ibUQn/_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/green-tick/oeuyAZBZcf1ibUQn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - GreenTick\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a GreenTick API key and send it as a Bearer token.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"GreenTick\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.greentick.ai/api/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://green-tick.mintlify.site/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Authentication\u0026amp;description=Create+a+GreenTick+API+key+and+send+it+as+a+Bearer+token.\u0026amp;theme=f90969dd244fbb4b32c0a121\u0026amp;signature=278acee553d928260343b31ed4cbac0bfc8fe3794853fbedb28b518c4fdd68d6\">\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 - GreenTick\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a GreenTick API key and send it as a Bearer token.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://green-tick.mintlify.site/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Authentication\u0026amp;description=Create+a+GreenTick+API+key+and+send+it+as+a+Bearer+token.\u0026amp;theme=f90969dd244fbb4b32c0a121\u0026amp;signature=278acee553d928260343b31ed4cbac0bfc8fe3794853fbedb28b518c4fdd68d6\">\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/green-tick/oeuyAZBZcf1ibUQn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"GreenTick\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#128C7E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.greentick.ai/api/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.greentick.ai/#organization\",\"name\":\"GreenTick\",\"url\":\"https://docs.greentick.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/green-tick/z1w6BzDV16VrPV3V/logo/light.png?fit=max\u0026auto=format\u0026n=z1w6BzDV16VrPV3V\u0026q=85\u0026s=576e67dfdaabe7d160970f5e1b7ff6fb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.greentick.ai#website\",\"name\":\"GreenTick\",\"url\":\"https://docs.greentick.ai\",\"publisher\":{\"@id\":\"https://docs.greentick.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.greentick.ai/api/authentication#webpage\",\"url\":\"https://docs.greentick.ai/api/authentication\",\"name\":\"Authentication\",\"description\":\"Create a GreenTick API key and send it as a Bearer token.\",\"dateModified\":\"2026-12-01T07:02:19.755Z\",\"isPartOf\":{\"@id\":\"https://docs.greentick.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.greentick.ai/api/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.greentick.ai/api/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get started\",\"item\":\"https://docs.greentick.ai/api\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://docs.greentick.ai/api/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.greentick.ai/api/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"Create a GreenTick API key and send it as a Bearer token.\",\"url\":\"https://docs.greentick.ai/api/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://docs.greentick.ai/api/authentication#webpage\"},\"dateModified\":\"2026-12-01T07:02:19.755Z\",\"keywords\":\"API key, Bearer, gt_live, authentication\",\"publisher\":{\"@id\":\"https://docs.greentick.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.greentick.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"GreenTick\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"GreenTick\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/authentication.md","siteName":"GreenTick","nav":{"global":null,"tabs":[{"tab":"Help Center","icon":"book-open","pages":[{"title":"Help Center","href":""}]},{"tab":"MCP","icon":"robot","pages":[{"title":"MCP","href":"/mcp-server"}]},{"tab":"API","icon":"square-terminal","groups":[{"group":"Get started","icon":"flag","pages":[{"title":"API introduction","sidebarTitle":"Introduction","description":"Call the GreenTick Developer API to send WhatsApp messages, sync contacts, and receive signed webhooks.","href":"/api"},{"title":"Authentication","href":"/api/authentication"},{"title":"Quickstart","description":"Confirm your API key, pick a phone number, and send an approved WhatsApp template.","href":"/api/quickstart"},{"title":"Webhooks","href":"/api/webhooks"},{"title":"Errors","href":"/api/errors"}]},{"group":"System","pages":[{"title":"Check API availability","deprecated":null,"version":null,"openapi":"/openapi.json get /health","href":"/api/system/check-api-availability"},{"title":"Download the OpenAPI document","deprecated":null,"version":null,"openapi":"/openapi.json get /openapi.json","href":"/api/system/download-the-openapi-document"}]},{"group":"Messages","pages":[{"title":"Send a WhatsApp message","deprecated":null,"version":null,"openapi":"/openapi.json post /messages","href":"/api/messages/send-a-whatsapp-message"},{"title":"Cancel a scheduled template message","deprecated":null,"version":null,"openapi":"/openapi.json delete /messages/scheduled/{id}","href":"/api/messages/cancel-a-scheduled-template-message"},{"title":"Mark an inbound message as read","deprecated":null,"version":null,"openapi":"/openapi.json post /messages/read","href":"/api/messages/mark-an-inbound-message-as-read"}]},{"group":"Conversations","pages":[{"title":"List conversations","deprecated":null,"version":null,"openapi":"/openapi.json get /conversations","href":"/api/conversations/list-conversations"},{"title":"List messages in a conversation","deprecated":null,"version":null,"openapi":"/openapi.json get /conversations/{id}/messages","href":"/api/conversations/list-messages-in-a-conversation"},{"title":"Assign a conversation","deprecated":null,"version":null,"openapi":"/openapi.json post /conversations/{id}/assignment","href":"/api/conversations/assign-a-conversation"},{"title":"Suggest a reply","deprecated":null,"version":null,"openapi":"/openapi.json post /conversations/{id}/suggest-reply","href":"/api/conversations/suggest-a-reply"},{"title":"Mark a conversation as read","deprecated":null,"version":null,"openapi":"/openapi.json post /conversations/{id}/read","href":"/api/conversations/mark-a-conversation-as-read"},{"title":"Send a session media message","deprecated":null,"version":null,"openapi":"/openapi.json post /conversations/{id}/media","href":"/api/conversations/send-a-session-media-message"},{"title":"Send the connected catalog in a session","deprecated":null,"version":null,"openapi":"/openapi.json post /conversations/{id}/catalog","href":"/api/conversations/send-the-connected-catalog-in-a-session"},{"title":"Send one catalog product in a session","deprecated":null,"version":null,"openapi":"/openapi.json post /conversations/{id}/products","href":"/api/conversations/send-one-catalog-product-in-a-session"},{"title":"Send a multi-product list in a session","deprecated":null,"version":null,"openapi":"/openapi.json post /conversations/{id}/product-list","href":"/api/conversations/send-a-multi-product-list-in-a-session"},{"title":"Send a product carousel in a session","deprecated":null,"version":null,"openapi":"/openapi.json post /conversations/{id}/product-carousel","href":"/api/conversations/send-a-product-carousel-in-a-session"}]},{"group":"Templates","pages":[{"title":"List message templates","deprecated":null,"version":null,"openapi":"/openapi.json get /templates","href":"/api/templates/list-message-templates"},{"title":"Validate a template without calling Meta","deprecated":null,"version":null,"openapi":"/openapi.json post /templates/validate","href":"/api/templates/validate-a-template-without-calling-meta"},{"title":"Generate a template and header image without submitting it","deprecated":null,"version":null,"openapi":"/openapi.json post /templates/generate","href":"/api/templates/generate-a-template-and-header-image-without-submitting-it"},{"title":"Get one template by Meta id","deprecated":null,"version":null,"openapi":"/openapi.json get /templates/{id}","href":"/api/templates/get-one-template-by-meta-id"},{"title":"Delete a template by name","deprecated":null,"version":null,"openapi":"/openapi.json delete /templates/{id}","href":"/api/templates/delete-a-template-by-name"}]},{"group":"MCP platform","pages":[{"title":"Create a message template and submit it to Meta","deprecated":null,"version":null,"openapi":"/openapi.json post /templates","href":"/api/mcp-platform/create-a-message-template-and-submit-it-to-meta"},{"title":"Dashboard limits every connector must enforce","deprecated":null,"version":null,"openapi":"/openapi.json get /limits","href":"/api/mcp-platform/dashboard-limits-every-connector-must-enforce"},{"title":"Plan usage for this API key","deprecated":null,"version":null,"openapi":"/openapi.json get /usage","href":"/api/mcp-platform/plan-usage-for-this-api-key"}]},{"group":"API key","pages":[{"title":"Check the API key","deprecated":null,"version":null,"openapi":"/openapi.json get /api-key","href":"/api/api-key/check-the-api-key"}]},{"group":"Phone numbers","pages":[{"title":"List WhatsApp phone numbers","deprecated":null,"version":null,"openapi":"/openapi.json get /phone-numbers","href":"/api/phone-numbers/list-whatsapp-phone-numbers"}]},{"group":"Contacts","pages":[{"title":"List contacts","deprecated":null,"version":null,"openapi":"/openapi.json get /contacts","href":"/api/contacts/list-contacts"},{"title":"Create one or more contacts","deprecated":null,"version":null,"openapi":"/openapi.json post /contacts","href":"/api/contacts/create-one-or-more-contacts"},{"title":"Update one or more contacts","deprecated":null,"version":null,"openapi":"/openapi.json patch /contacts","href":"/api/contacts/update-one-or-more-contacts"},{"title":"Retrieve a contact","deprecated":null,"version":null,"openapi":"/openapi.json get /contacts/{id}","href":"/api/contacts/retrieve-a-contact"}]},{"group":"Labels","pages":[{"title":"List contact labels","deprecated":null,"version":null,"openapi":"/openapi.json get /labels","href":"/api/labels/list-contact-labels"},{"title":"Create one or more labels","deprecated":null,"version":null,"openapi":"/openapi.json post /labels","href":"/api/labels/create-one-or-more-labels"},{"title":"Retrieve a label","deprecated":null,"version":null,"openapi":"/openapi.json get /labels/{id}","href":"/api/labels/retrieve-a-label"},{"title":"Delete a label","deprecated":null,"version":null,"openapi":"/openapi.json delete /labels/{id}","href":"/api/labels/delete-a-label"},{"title":"Rename a label","deprecated":null,"version":null,"openapi":"/openapi.json patch /labels/{id}","href":"/api/labels/rename-a-label"}]},{"group":"Attributes","pages":[{"title":"List contact attributes","deprecated":null,"version":null,"openapi":"/openapi.json get /attributes","href":"/api/attributes/list-contact-attributes"},{"title":"Create one or more attributes","deprecated":null,"version":null,"openapi":"/openapi.json post /attributes","href":"/api/attributes/create-one-or-more-attributes"},{"title":"Retrieve an attribute","deprecated":null,"version":null,"openapi":"/openapi.json get /attributes/{id}","href":"/api/attributes/retrieve-an-attribute"},{"title":"Delete an attribute","deprecated":null,"version":null,"openapi":"/openapi.json delete /attributes/{id}","href":"/api/attributes/delete-an-attribute"},{"title":"Rename an attribute","deprecated":null,"version":null,"openapi":"/openapi.json patch /attributes/{id}","href":"/api/attributes/rename-an-attribute"}]},{"group":"Automations","pages":[{"title":"List enrollable automations","deprecated":null,"version":null,"openapi":"/openapi.json get /automations","href":"/api/automations/list-enrollable-automations"},{"title":"Start an automation for one contact","deprecated":null,"version":null,"openapi":"/openapi.json post /automations/{id}/enroll","href":"/api/automations/start-an-automation-for-one-contact"}]},{"group":"Workflow hooks","pages":[{"title":"Trigger a webhook workflow","deprecated":null,"version":null,"openapi":"/openapi.json post /hooks/{secret}","href":"/api/workflow-hooks/trigger-a-webhook-workflow"}]},{"group":"Webhooks","pages":[{"title":"Subscribe to events","deprecated":null,"version":null,"openapi":"/openapi.json post /webhooks","href":"/api/webhooks/subscribe-to-events"},{"title":"Unsubscribe from events","deprecated":null,"version":null,"openapi":"/openapi.json delete /webhooks/{id}","href":"/api/webhooks/unsubscribe-from-events"}]},{"group":"Media","pages":[{"title":"Media rules for customer-supplied files","deprecated":null,"version":null,"openapi":"/openapi.json get /media/guidelines","href":"/api/media/media-rules-for-customer-supplied-files"},{"title":"Host media from a public HTTPS URL or a complete base64 image","deprecated":null,"version":null,"openapi":"/openapi.json post /media","href":"/api/media/host-media-from-a-public-https-url-or-a-complete-base64-image"},{"title":"Host media from a multipart upload","deprecated":null,"version":null,"openapi":"/openapi.json post /media/upload","href":"/api/media/host-media-from-a-multipart-upload"}]},{"group":"Workflows","pages":[{"title":"List workflows","deprecated":null,"version":null,"openapi":"/openapi.json get /workflows","href":"/api/workflows/list-workflows"},{"title":"Create a workflow draft","deprecated":null,"version":null,"openapi":"/openapi.json post /workflows","href":"/api/workflows/create-a-workflow-draft"},{"title":"Workflow starter catalog","deprecated":null,"version":null,"openapi":"/openapi.json get /workflows/catalog","href":"/api/workflows/workflow-starter-catalog"},{"title":"Validate workflow steps without saving","deprecated":null,"version":null,"openapi":"/openapi.json post /workflows/validate","href":"/api/workflows/validate-workflow-steps-without-saving"},{"title":"Create a workflow draft from a starter","deprecated":null,"version":null,"openapi":"/openapi.json post /workflows/from-template","href":"/api/workflows/create-a-workflow-draft-from-a-starter"},{"title":"Export workflows on this WhatsApp account","deprecated":null,"version":null,"openapi":"/openapi.json post /workflows/export","href":"/api/workflows/export-workflows-on-this-whatsapp-account"},{"title":"Get a workflow","deprecated":null,"version":null,"openapi":"/openapi.json get /workflows/{id}","href":"/api/workflows/get-a-workflow"},{"title":"Update a workflow draft","deprecated":null,"version":null,"openapi":"/openapi.json put /workflows/{id}","href":"/api/workflows/update-a-workflow-draft"},{"title":"Delete a workflow","deprecated":null,"version":null,"openapi":"/openapi.json delete /workflows/{id}","href":"/api/workflows/delete-a-workflow"},{"title":"Publish a valid workflow draft","deprecated":null,"version":null,"openapi":"/openapi.json post /workflows/{id}/publish","href":"/api/workflows/publish-a-valid-workflow-draft"},{"title":"Discard a workflow draft","deprecated":null,"version":null,"openapi":"/openapi.json post /workflows/{id}/discard-draft","href":"/api/workflows/discard-a-workflow-draft"},{"title":"Workflow analytics","deprecated":null,"version":null,"openapi":"/openapi.json get /workflows/{id}/analytics","href":"/api/workflows/workflow-analytics"}]},{"group":"Flows","pages":[{"title":"List flows","deprecated":null,"version":null,"openapi":"/openapi.json get /flows","href":"/api/flows/list-flows"},{"title":"Create a static flow draft","deprecated":null,"version":null,"openapi":"/openapi.json post /flows","href":"/api/flows/create-a-static-flow-draft"},{"title":"Validate flow screens without calling Meta","deprecated":null,"version":null,"openapi":"/openapi.json post /flows/validate","href":"/api/flows/validate-flow-screens-without-calling-meta"},{"title":"Phone number encryption key","deprecated":null,"version":null,"openapi":"/openapi.json get /flows/phone-encryption","href":"/api/flows/phone-number-encryption-key"},{"title":"Analytics for every Flow on this WhatsApp account","deprecated":null,"version":null,"openapi":"/openapi.json get /flows/analytics","href":"/api/flows/analytics-for-every-flow-on-this-whatsapp-account"},{"title":"Get a flow","deprecated":null,"version":null,"openapi":"/openapi.json get /flows/{id}","href":"/api/flows/get-a-flow"},{"title":"Update a flow draft","deprecated":null,"version":null,"openapi":"/openapi.json put /flows/{id}","href":"/api/flows/update-a-flow-draft"},{"title":"Delete a draft flow","deprecated":null,"version":null,"openapi":"/openapi.json delete /flows/{id}","href":"/api/flows/delete-a-draft-flow"},{"title":"Publish a flow draft","deprecated":null,"version":null,"openapi":"/openapi.json post /flows/{id}/publish","href":"/api/flows/publish-a-flow-draft"},{"title":"Deprecate a published flow","deprecated":null,"version":null,"openapi":"/openapi.json post /flows/{id}/deprecate","href":"/api/flows/deprecate-a-published-flow"},{"title":"List flow submissions","deprecated":null,"version":null,"openapi":"/openapi.json get /flows/{id}/submissions","href":"/api/flows/list-flow-submissions"},{"title":"Analytics for one Flow","deprecated":null,"version":null,"openapi":"/openapi.json get /flows/{id}/analytics","href":"/api/flows/analytics-for-one-flow"},{"title":"Send a published flow","deprecated":null,"version":null,"openapi":"/openapi.json post /flows/{id}/send","href":"/api/flows/send-a-published-flow"}]},{"group":"AI bots","pages":[{"title":"List AI bots","deprecated":null,"version":null,"openapi":"/openapi.json get /ai-bots","href":"/api/ai-bots/list-ai-bots"},{"title":"Create a disabled AI bot","deprecated":null,"version":null,"openapi":"/openapi.json post /ai-bots","href":"/api/ai-bots/create-a-disabled-ai-bot"},{"title":"Available AI models","deprecated":null,"version":null,"openapi":"/openapi.json get /ai-bots/catalog","href":"/api/ai-bots/available-ai-models"},{"title":"Update an AI bot","deprecated":null,"version":null,"openapi":"/openapi.json put /ai-bots/{id}","href":"/api/ai-bots/update-an-ai-bot"},{"title":"Delete an AI bot","deprecated":null,"version":null,"openapi":"/openapi.json delete /ai-bots/{id}","href":"/api/ai-bots/delete-an-ai-bot"},{"title":"List knowledge sources","deprecated":null,"version":null,"openapi":"/openapi.json get /ai-bots/{id}/knowledge","href":"/api/ai-bots/list-knowledge-sources"},{"title":"Add FAQ, URL, or file knowledge","deprecated":null,"version":null,"openapi":"/openapi.json post /ai-bots/{id}/knowledge","href":"/api/ai-bots/add-faq-url-or-file-knowledge"},{"title":"Test an AI bot","deprecated":null,"version":null,"openapi":"/openapi.json post /ai-bots/{id}/test","href":"/api/ai-bots/test-an-ai-bot"},{"title":"Enable a tested AI bot","deprecated":null,"version":null,"openapi":"/openapi.json post /ai-bots/{id}/enable","href":"/api/ai-bots/enable-a-tested-ai-bot"}]},{"group":"Broadcasts","pages":[{"title":"List broadcasts","deprecated":null,"version":null,"openapi":"/openapi.json get /broadcasts","href":"/api/broadcasts/list-broadcasts"},{"title":"Create a broadcast draft","deprecated":null,"version":null,"openapi":"/openapi.json post /broadcasts","href":"/api/broadcasts/create-a-broadcast-draft"},{"title":"Preview a broadcast recipient count","deprecated":null,"version":null,"openapi":"/openapi.json post /broadcasts/{id}/preview","href":"/api/broadcasts/preview-a-broadcast-recipient-count"},{"title":"List broadcast deliveries","deprecated":null,"version":null,"openapi":"/openapi.json get /broadcasts/{id}/deliveries","href":"/api/broadcasts/list-broadcast-deliveries"},{"title":"Schedule a broadcast","deprecated":null,"version":null,"openapi":"/openapi.json post /broadcasts/{id}/schedule","href":"/api/broadcasts/schedule-a-broadcast"},{"title":"Get a broadcast","deprecated":null,"version":null,"openapi":"/openapi.json get /broadcasts/{id}","href":"/api/broadcasts/get-a-broadcast"},{"title":"Delete a pending or queued broadcast","deprecated":null,"version":null,"openapi":"/openapi.json delete /broadcasts/{id}","href":"/api/broadcasts/delete-a-pending-or-queued-broadcast"}]},{"group":"Catalogs","pages":[{"title":"List commerce catalogs","deprecated":null,"version":null,"openapi":"/openapi.json get /catalogs","href":"/api/catalogs/list-commerce-catalogs"},{"title":"List catalog orders received in chat","deprecated":null,"version":null,"openapi":"/openapi.json get /catalogs/orders","href":"/api/catalogs/list-catalog-orders-received-in-chat"},{"title":"List products","deprecated":null,"version":null,"openapi":"/openapi.json get /catalogs/{id}/products","href":"/api/catalogs/list-products"},{"title":"Create a catalog product","deprecated":null,"version":null,"openapi":"/openapi.json post /catalogs/{id}/products","href":"/api/catalogs/create-a-catalog-product"},{"title":"Update a catalog product","deprecated":null,"version":null,"openapi":"/openapi.json put /catalogs/{id}/products/{productId}","href":"/api/catalogs/update-a-catalog-product"},{"title":"Delete a catalog product","deprecated":null,"version":null,"openapi":"/openapi.json delete /catalogs/{id}/products/{productId}","href":"/api/catalogs/delete-a-catalog-product"}]},{"group":"Ads","pages":[{"title":"List Click-to-WhatsApp ads and analysis","deprecated":null,"version":null,"openapi":"/openapi.json get /ads","href":"/api/ads/list-click-to-whatsapp-ads-and-analysis"},{"title":"Send a Click-to-WhatsApp conversion","deprecated":null,"version":null,"openapi":"/openapi.json post /ads/conversions","href":"/api/ads/send-a-click-to-whatsapp-conversion"}]}]}]},"basePath":"","title":"Authentication - GreenTick","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":[],"chunks":[]}