{ "valid": false, "error": "Token was not issued for this project"}
Check that a session token sent to your backend was issued by Gately to a member of your project. Gately checks the token’s signature and expiry, and that it belongs to the project that owns the API key.Use this from your server only. In Node.js, verifyToken calls this endpoint and caches the result for you.
Requires a secret API key (gately_sk_...) in the Authorization header. Public keys and project IDs are rejected with 401.
Request Body
string
required
The member’s session token (access_token)
Response
boolean
true when the token is valid for your project
object
Token claims, present when valid is true
Show properties
string
Member ID
string
Member email
string
Project the member belongs to
string
Member role
string
Always project_member
number
Issued at (unix seconds)
number
Expires at (unix seconds)
string
Why verification failed, present when valid is false: Token expired, Invalid token, Token was not issued for this project, or an API key error
{ "valid": false, "error": "Token was not issued for this project"}
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Gately Documentation","colors":{"primary":"#FE551B","light":"#FF7A47","dark":"#D94010"},"logo":{"light":"https://mintcdn.com/framonial/TAfoHSGNcfmFUtdf/logo/gately-app-icon-ink.svg?fit=max\u0026auto=format\u0026n=TAfoHSGNcfmFUtdf\u0026q=85\u0026s=0f4f5a1b3a104d8b75b0f89d4e07305c","dark":"https://mintcdn.com/framonial/TAfoHSGNcfmFUtdf/logo/gately-app-icon-ink.svg?fit=max\u0026auto=format\u0026n=TAfoHSGNcfmFUtdf\u0026q=85\u0026s=0f4f5a1b3a104d8b75b0f89d4e07305c","href":"https://usegately.com/"},"favicon":"https://mintcdn.com/framonial/TAfoHSGNcfmFUtdf/favicon.svg?fit=max\u0026auto=format\u0026n=TAfoHSGNcfmFUtdf\u0026q=85\u0026s=f4718d689f4fd5f2141892b5d3cf688f","api":{"openapi":"openapi.json","playground":{},"mdx":{"auth":{"method":"bearer"},"server":"https://api.usegately.com"}},"appearance":{"default":"system"},"navbar":{"links":[{"href":"mailto:support@usegately.com","label":"Support"},{"href":"https://framer.link/f0P1u3t","label":"Install Plugin"}],"primary":{"type":"button","label":"Dashboard","href":"https://usegately.com/dashboard"}},"footer":{"socials":{"x":"https://twitter.com/usegately","slack":"https://join.slack.com/t/usegately/shared_invite/zt-3llscjz41-PuVEY5Xu0M2DCi8WEojN0Q","youtube":"https://youtube.com/usegately"}},"fonts":{"heading":{"family":"Onest","weight":600},"body":{"family":"Onest","weight":400}},"styling":{"eyebrows":"section","latex":true},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"slack","href":"https://join.slack.com/t/usegately/shared_invite/zt-3llscjz41-PuVEY5Xu0M2DCi8WEojN0Q"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"framonial","hasAudioNarration":false,"actualSubdomain":"framonial","customDomains":["usegately.com"],"gitSource":{"type":"github","owner":"kayodedcreative","repo":"gately_infra","deployBranch":"main","contentDirectory":"doc-app","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"issues":false},"entitlements":{},"buildId":"6ac461970466c68a0c2965d5","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"API Reference","count":50},{"language":"default","tag":"Documentation","count":36},{"language":"default","tag":"Authentication","count":12},{"language":"default","tag":"Email Campaigns","count":9},{"language":"default","tag":"Contacts","count":9},{"language":"default","tag":"Transactional Email","count":7},{"language":"default","tag":"Features","count":7},{"language":"default","tag":"SDK","count":6},{"language":"default","tag":"Members","count":5},{"language":"default","tag":"Getting Started","count":5}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"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":"site-roles","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":"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":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","content":"[class*=\"GroupTitle\"],[class*=\"group-title\"],[class*=\"SidebarGroup\"]>span,[class*=\"SidebarGroup\"]>div>span,nav [class*=\"group\"]>[class*=\"label\"],nav [class*=\"group\"]>div>[class*=\"label\"],.sidebar-group-title,[data-group-title],nav li[role=\"group\"]>span,nav li[role=\"group\"]>div>span{font-family:'Geist Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace!important;font-size:10px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:0.1em!important;color:inherit;opacity:0.55}[class*=\"eyebrow\"],[class*=\"Eyebrow\"]{font-family:'Geist Mono', ui-monospace, monospace!important;font-size:10px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:0.1em!important}"}]}
{"page":{"pagePath":"api-reference/auth/verify","slug":"/api-reference/auth/verify","pageMetadata":{"title":"Verify Token","api":"POST https://api.usegately.com/api/v1/auth/verify","description":"Verify a member session token from your backend","href":"/api-reference/auth/verify"},"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: \"Verify a member session token from your backend\"\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`,strong:`strong`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField,Warning}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Check that a session token sent to your backend was issued by Gately to a member of your project. Gately checks the token’s signature and expiry, and that it belongs to the project that owns the API key.`}),`\n`,_jsxs(_components.p,{children:[`Use this from your server only. In Node.js, `,_jsx(_components.a,{href:`/sdk/nodejs`,children:_jsx(_components.code,{children:`verifyToken`})}),` calls this endpoint and caches the result for you.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Requires a `,_jsx(_components.strong,{children:`secret`}),` API key (`,_jsx(_components.code,{children:`gately_sk_...`}),`) in the `,_jsx(_components.code,{children:`Authorization`}),` header. Public keys and project IDs are rejected with `,_jsx(_components.code,{children:`401`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`token`,type:`string`,required:true,id:`param-token`,children:_jsxs(_components.p,{children:[`The member’s session token (`,_jsx(_components.code,{children:`access_token`}),`)`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`valid`,type:`boolean`,id:`param-valid`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when the token is valid for your project`]})}),`\n`,_jsxs(ResponseField,{name:`claims`,type:`object`,id:`param-claims`,children:[_jsxs(_components.p,{children:[`Token claims, present when `,_jsx(_components.code,{children:`valid`}),` is `,_jsx(_components.code,{children:`true`})]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`sub`,type:`string`,id:`param-sub`,children:`Member ID`}),_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email`,children:`Member email`}),_jsx(ResponseField,{name:`project_id`,type:`string`,id:`param-project-id`,children:`Project the member belongs to`}),_jsx(ResponseField,{name:`role`,type:`string`,id:`param-role`,children:`Member role`}),_jsxs(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:[`Always `,_jsx(_components.code,{children:`project_member`})]}),_jsx(ResponseField,{name:`iat`,type:`number`,id:`param-iat`,children:`Issued at (unix seconds)`}),_jsx(ResponseField,{name:`exp`,type:`number`,id:`param-exp`,children:`Expires at (unix seconds)`})]})]}),`\n`,_jsx(ResponseField,{name:`error`,type:`string`,id:`param-error`,children:_jsxs(_components.p,{children:[`Why verification failed, present when `,_jsx(_components.code,{children:`valid`}),` is `,_jsx(_components.code,{children:`false`}),`: `,_jsx(_components.code,{children:`Token expired`}),`, `,_jsx(_components.code,{children:`Invalid token`}),`, `,_jsx(_components.code,{children:`Token was not issued for this project`}),`, or an API key error`]})})]})}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":"Verify Token","api":"POST https://api.usegately.com/api/v1/auth/verify","description":"Verify a member session token from your backend","href":"/api-reference/auth/verify"}}},"mdxSourceWithNoJs":{"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,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Check that a session token sent to your backend was issued by Gately to a member of your project. Gately checks the token’s signature and expiry, and that it belongs to the project that owns the API key.`}),`\n`,_jsxs(_components.p,{children:[`Use this from your server only. In Node.js, `,_jsx(_components.a,{href:`/sdk/nodejs`,children:_jsx(_components.code,{children:`verifyToken`})}),` calls this endpoint and caches the result for you.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Requires a `,_jsx(_components.strong,{children:`secret`}),` API key (`,_jsx(_components.code,{children:`gately_sk_...`}),`) in the `,_jsx(_components.code,{children:`Authorization`}),` header. Public keys and project IDs are rejected with `,_jsx(_components.code,{children:`401`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`token`,type:`string`,required:true,id:`param-token`,children:_jsxs(_components.p,{children:[`The member’s session token (`,_jsx(_components.code,{children:`access_token`}),`)`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`valid`,type:`boolean`,id:`param-valid`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when the token is valid for your project`]})}),`\n`,_jsxs(ResponseField,{name:`claims`,type:`object`,id:`param-claims`,children:[_jsxs(_components.p,{children:[`Token claims, present when `,_jsx(_components.code,{children:`valid`}),` is `,_jsx(_components.code,{children:`true`})]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`sub`,type:`string`,id:`param-sub`,children:`Member ID`}),_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email`,children:`Member email`}),_jsx(ResponseField,{name:`project_id`,type:`string`,id:`param-project-id`,children:`Project the member belongs to`}),_jsx(ResponseField,{name:`role`,type:`string`,id:`param-role`,children:`Member role`}),_jsxs(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:[`Always `,_jsx(_components.code,{children:`project_member`})]}),_jsx(ResponseField,{name:`iat`,type:`number`,id:`param-iat`,children:`Issued at (unix seconds)`}),_jsx(ResponseField,{name:`exp`,type:`number`,id:`param-exp`,children:`Expires at (unix seconds)`})]})]}),`\n`,_jsx(ResponseField,{name:`error`,type:`string`,id:`param-error`,children:_jsxs(_components.p,{children:[`Why verification failed, present when `,_jsx(_components.code,{children:`valid`}),` is `,_jsx(_components.code,{children:`false`}),`: `,_jsx(_components.code,{children:`Token expired`}),`, `,_jsx(_components.code,{children:`Invalid token`}),`, `,_jsx(_components.code,{children:`Token was not issued for this project`}),`, or an API key error`]})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`4`,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:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.usegately.com/api/v1/auth/verify\"`}),_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 gately_sk_live_YOUR_SECRET_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_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:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"token\": \"MEMBER_ACCESS_TOKEN\" }'`})]}),`\n`]})})})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200`,numberOfLines:`12`,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:`12`,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:` \"valid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"claims\"`}),_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:` \"sub\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6f1c2a9e-1b2d-4c7a-9a51-2f0f1e3d4c5b\"`}),_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:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user@example.com\"`}),_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:` \"project_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a3b9c1d2-5e6f-4a7b-8c9d-0e1f2a3b4c5d\"`}),_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:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"member\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"project_member\"`}),_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:` \"iat\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1767139200`}),_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:` \"exp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1767744000`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`401`,numberOfLines:`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:` \"valid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Token was not issued for this project\"`})]}),`\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":"Verify Token","api":"POST https://api.usegately.com/api/v1/auth/verify","description":"Verify a member session token from your backend","href":"/api-reference/auth/verify"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Request Body","slug":"request-body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://api.usegately.com/api/v1/auth/verify\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer gately_sk_live_YOUR_SECRET_KEY\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{ \"token\": \"MEMBER_ACCESS_TOKEN\" }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"valid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"claims\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sub\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6f1c2a9e-1b2d-4c7a-9a51-2f0f1e3d4c5b\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"user@example.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"project_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"a3b9c1d2-5e6f-4a7b-8c9d-0e1f2a3b4c5d\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"role\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"member\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"project_member\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"iat\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1767139200\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"exp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1767744000\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"401","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"valid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Token was not issued for this project\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Verify Token","path":"/api/v1/auth/verify","servers":[{"url":"https://api.usegately.com"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"token":[{"type":"string","description":"The member’s session token ( `access_token` )","required":true}]}}],"examples":{"example":{"value":{"token":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"valid":[{"type":"boolean","description":"`true` when the token is valid for your project"}],"claims":[{"type":"object","properties":{"sub":[{"type":"string","description":"Member ID"}],"email":[{"type":"string","description":"Member email"}],"project_id":[{"type":"string","description":"Project the member belongs to"}],"role":[{"type":"string","description":"Member role"}],"type":[{"type":"string","description":"Always `project_member`"}],"iat":[{"type":"number","description":"Issued at (unix seconds)"}],"exp":[{"type":"number","description":"Expires at (unix seconds)"}]},"description":"Token claims, present when `valid` is `true`"}],"error":[{"type":"string","description":"Why verification failed, present when `valid` is `false` : `Token expired` , `Invalid token` , `Token was not issued for this project` , or an API key error"}]}}],"examples":{"example":{"value":{"valid":true,"claims":{"sub":"\u003cstring>","email":"\u003cstring>","project_id":"\u003cstring>","role":"\u003cstring>","type":"\u003cstring>","iat":123,"exp":123},"error":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"framonial","siteName":"Gately Documentation","title":"Verify Token - Gately Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-06T02:31:08.496Z","originalFileLocation":"api-reference/auth/verify.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=\"Verify a member session token from your backend\">\u003cmeta data-mint-head name=\"application-name\" content=\"Gately Documentation\">\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/framonial/dD7AaZdw9JfOAruu/_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/framonial/dD7AaZdw9JfOAruu/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/framonial/dD7AaZdw9JfOAruu/_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/framonial/dD7AaZdw9JfOAruu/_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/framonial/dD7AaZdw9JfOAruu/_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/framonial/dD7AaZdw9JfOAruu/_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/framonial/dD7AaZdw9JfOAruu/_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/framonial/dD7AaZdw9JfOAruu/_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/framonial/dD7AaZdw9JfOAruu/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Verify Token - Gately Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Verify a member session token from your backend\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Gately Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://usegately.com/docs/api-reference/auth/verify\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://framonial.mintlify.site/docs/_mintlify/api/og/v2?division=Authentication\u0026amp;title=Verify+Token\u0026amp;description=Verify+a+member+session+token+from+your+backend\u0026amp;theme=6da17ab1fed5dbf86f6610a6\u0026amp;signature=e370f55514e7e17c7fba5f6cfa265e2e766117fa4162f95adc7d6822c1315787\">\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=\"Verify Token - Gately Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Verify a member session token from your backend\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://framonial.mintlify.site/docs/_mintlify/api/og/v2?division=Authentication\u0026amp;title=Verify+Token\u0026amp;description=Verify+a+member+session+token+from+your+backend\u0026amp;theme=6da17ab1fed5dbf86f6610a6\u0026amp;signature=e370f55514e7e17c7fba5f6cfa265e2e766117fa4162f95adc7d6822c1315787\">\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/framonial/dD7AaZdw9JfOAruu/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Gately Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FE551B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://usegately.com/docs/api-reference/auth/verify\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/auth/verify.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://usegately.com/#organization\",\"name\":\"Gately Documentation\",\"url\":\"https://usegately.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/framonial/TAfoHSGNcfmFUtdf/logo/gately-app-icon-ink.svg?fit=max\u0026auto=format\u0026n=TAfoHSGNcfmFUtdf\u0026q=85\u0026s=0f4f5a1b3a104d8b75b0f89d4e07305c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://usegately.com/docs#website\",\"name\":\"Gately Documentation\",\"url\":\"https://usegately.com/docs\",\"publisher\":{\"@id\":\"https://usegately.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://usegately.com/docs/api-reference/auth/verify#webpage\",\"url\":\"https://usegately.com/docs/api-reference/auth/verify\",\"name\":\"Verify Token\",\"description\":\"Verify a member session token from your backend\",\"dateModified\":\"2026-10-06T02:31:08.496Z\",\"isPartOf\":{\"@id\":\"https://usegately.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://usegately.com/docs/api-reference/auth/verify#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://usegately.com/docs/api-reference/auth/verify#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Authentication\",\"item\":\"https://usegately.com/docs/api-reference/auth/login\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Verify Token\",\"item\":\"https://usegately.com/docs/api-reference/auth/verify\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://usegately.com/docs/api-reference/auth/verify#apireference\",\"headline\":\"Verify Token\",\"name\":\"Verify Token\",\"description\":\"Verify a member session token from your backend\",\"url\":\"https://usegately.com/docs/api-reference/auth/verify\",\"mainEntityOfPage\":{\"@id\":\"https://usegately.com/docs/api-reference/auth/verify#webpage\"},\"dateModified\":\"2026-10-06T02:31:08.496Z\",\"publisher\":{\"@id\":\"https://usegately.com/#organization\"},\"isPartOf\":{\"@id\":\"https://usegately.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Gately Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Gately Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/auth/verify.md","siteName":"Gately Documentation","nav":{"global":{"anchors":[{"anchor":"Community","icon":"slack","href":"https://join.slack.com/t/usegately/shared_invite/zt-3llscjz41-PuVEY5Xu0M2DCi8WEojN0Q"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Reference","href":"/api-reference/overview"},{"title":"API Authentication","href":"/api-reference/authentication"},{"title":"API Keys","href":"/api-reference/api-keys"},{"title":"API Versioning","href":"/api-reference/versioning"}]},{"group":"Authentication","pages":[{"title":"Login","api":"POST https://api.usegately.com/api/v1/auth/login","href":"/api-reference/auth/login"},{"title":"Sign Up","api":"POST https://api.usegately.com/api/v1/auth/signup","href":"/api-reference/auth/signup"},{"title":"Logout","api":"POST https://api.usegately.com/api/v1/auth/logout","href":"/api-reference/auth/logout"},{"title":"Refresh Token","api":"POST https://api.usegately.com/api/v1/auth/refresh","href":"/api-reference/auth/refresh"},{"title":"Password Reset","api":"POST https://api.usegately.com/api/v1/auth/password-reset","description":"Request a password reset email","href":"/api-reference/auth/password-reset"},{"title":"Verify Token","api":"POST https://api.usegately.com/api/v1/auth/verify","href":"/api-reference/auth/verify"}]},{"group":"Members","pages":[{"title":"List Members","api":"GET https://api.usegately.com/api/v1/members","description":"Retrieve a paginated list of members in your project","href":"/api-reference/members/list"},{"title":"Get Member","api":"GET https://api.usegately.com/api/v1/members/{id}","href":"/api-reference/members/get"},{"title":"Create Member","api":"POST https://api.usegately.com/api/v1/members","href":"/api-reference/members/create"},{"title":"Update Member","api":"PATCH https://api.usegately.com/api/v1/members/{id}","href":"/api-reference/members/update"},{"title":"Delete Member","api":"DELETE https://api.usegately.com/api/v1/members/{id}","href":"/api-reference/members/delete"}]},{"group":"Project Settings","pages":[{"title":"Get Settings","api":"GET https://api.usegately.com/api/v1/settings","href":"/api-reference/settings/get"},{"title":"Update Settings","api":"PUT https://api.usegately.com/api/v1/settings","href":"/api-reference/settings/update"},{"title":"Email Sender Settings","api":"PUT https://api.usegately.com/api/v1/settings/email","href":"/api-reference/settings/email"}]},{"group":"Email Campaigns","pages":[{"title":"List Campaigns","api":"GET https://api.usegately.com/api/v1/campaigns","href":"/api-reference/campaigns/list"},{"title":"Get Campaign","api":"GET https://api.usegately.com/api/v1/campaigns/{campaignId}","href":"/api-reference/campaigns/get"},{"title":"Send Campaign","api":"POST https://api.usegately.com/api/v1/campaigns/send","href":"/api-reference/campaigns/send"},{"title":"Send Bulk Campaign","api":"POST https://api.usegately.com/api/v1/campaigns/send-bulk","href":"/api-reference/campaigns/send-bulk"},{"title":"Get Campaign Stats","api":"GET https://api.usegately.com/api/v1/campaigns/{campaignId}/stats","href":"/api-reference/campaigns/stats"},{"title":"Update Campaign","api":"PUT https://api.usegately.com/api/v1/campaigns/{campaignId}","href":"/api-reference/campaigns/update"},{"title":"Delete Campaign","api":"DELETE https://api.usegately.com/api/v1/campaigns/{campaignId}","href":"/api-reference/campaigns/delete"},{"title":"AI Generate Content","api":"POST https://api.usegately.com/api/v1/campaigns/ai-generate","href":"/api-reference/campaigns/ai-generate"},{"title":"Upload Attachment","api":"POST https://api.usegately.com/api/v1/campaigns/upload-attachment","href":"/api-reference/campaigns/upload-attachment"}]},{"group":"Plans","pages":[{"title":"List Plans","api":"GET https://api.usegately.com/api/v1/plans","href":"/api-reference/plans/list"},{"title":"Subscribe to Plan","api":"POST https://api.usegately.com/api/v1/plans/{id}/subscribe","href":"/api-reference/plans/subscribe"},{"title":"Get Current Subscription","api":"GET https://api.usegately.com/api/v1/user-plans/current","href":"/api-reference/plans/current"}]},{"group":"Contacts","pages":[{"title":"List Contacts","api":"GET https://api.usegately.com/api/v1/contacts","href":"/api-reference/contacts/list"},{"title":"Get Contact","api":"GET https://api.usegately.com/api/v1/contacts/{contactId}","href":"/api-reference/contacts/get"},{"title":"Create Contact","api":"POST https://api.usegately.com/api/v1/contacts","href":"/api-reference/contacts/create"},{"title":"Update Contact","api":"PATCH https://api.usegately.com/api/v1/contacts/{contactId}","href":"/api-reference/contacts/update"},{"title":"Delete Contact","api":"DELETE https://api.usegately.com/api/v1/contacts/{contactId}","href":"/api-reference/contacts/delete"},{"title":"Bulk Import Contacts","api":"POST https://api.usegately.com/api/v1/contacts/bulk-import","href":"/api-reference/contacts/bulk-import"},{"title":"Contact Lists","href":"/api-reference/contacts/lists"},{"title":"Unsubscribe / Resubscribe","href":"/api-reference/contacts/unsubscribe"}]},{"group":"Discussions","pages":[{"title":"List Discussions","api":"GET https://api.usegately.com/api/v1/discussions","href":"/api-reference/discussions/list"},{"title":"Create Discussion","api":"POST https://api.usegately.com/api/v1/discussions","href":"/api-reference/discussions/create"},{"title":"Discussion Comments","api":"POST https://api.usegately.com/api/v1/discussions/{id}/comments","href":"/api-reference/discussions/comments"}]},{"group":"Transactional Email","pages":[{"title":"Send Email","api":"POST https://api.usegately.com/api/v1/email/send","href":"/api-reference/email/send"},{"title":"Email Logs","api":"GET https://api.usegately.com/api/v1/email/logs","href":"/api-reference/email/logs"},{"title":"Create Template","api":"POST https://api.usegately.com/api/v1/email/templates","href":"/api-reference/email/templates-create"},{"title":"List Templates","api":"GET https://api.usegately.com/api/v1/email/templates","href":"/api-reference/email/templates-list"},{"title":"Get Template","api":"GET https://api.usegately.com/api/v1/email/templates/{id}","href":"/api-reference/email/templates-get"},{"title":"Update Template","api":"PUT https://api.usegately.com/api/v1/email/templates/{id}","href":"/api-reference/email/templates-update"},{"title":"Delete Template","api":"DELETE https://api.usegately.com/api/v1/email/templates/{id}","href":"/api-reference/email/templates-delete"}]},{"group":"Webhooks","pages":[{"title":"Webhooks Overview","href":"/api-reference/webhooks/overview"},{"title":"Webhook Events","href":"/api-reference/webhooks/events"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/overview"}]}]},"basePath":"","title":"Verify Token - Gately Documentation","deploymentId":"dpl_9NURmhhAnEA2MBJSAbn1GXd2czCa","buildId":"dpl_9NURmhhAnEA2MBJSAbn1GXd2czCa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CUPdegXL.js","snippetPresets-BQq89bX3.js","utils-CJtUu38r.js","style-to-object-BY3JEAdk.js","utils-Dl_iEV_c.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-I0bFVJaI.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Dcvlblmg.js","_Uint8Array-VGUeTT0n.js","isObject-FP1Yky1u.js","ApiExamples-D1A0XuKj.js","usePlaygroundInputsStore-Hc_6kXYj.js","shallow-BhhizytD.js","isEqual-D265BYHf.js","CodeSnippets-DSWAIz-b.js","CodeSnippet-BdmAY1za.js","getApiPlaygroundDisplay-BIdLkZxH.js","Page-Bvrdu_OS.js","api-description-markdown-3NHhqwNl.js","DynamicMarkdown-BGCZRsks.js","SectionHeading-DuqsJYtR.js","MethodPill-DNag51EN.js","getPastedJson-CedzOGYS.js","Check2Icon-0NvNj7H_.js","axios-CsQoIw0U.js"]}