Confirm a token is active and inspect its scopes.Requires tokens:introspect. Use this in sandbox to verify the token you just issued.
Authorizations
BasicAuthOAuth2
Authorization
string
header
required
Client authentication for confidential OAuth clients.
Scopes
tokens:introspect
Introspect tokens.
Body
application/x-www-form-urlencoded
token
string
required
token_type_hint
enum<string>
Available options:
access_token,
refresh_token
Response
Token introspection result.
active
boolean
required
scope
string
client_id
string
username
string
token_type
string
exp
integer
iat
integer
sub
string
aud
string
iss
string
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Swapnice","colors":{"primary":"#EF3E36","light":"#ff7461","dark":"#EF3E36"},"logo":{"light":"https://mintcdn.com/swapnice/nmF9u4u0noYUQzdF/logo/light.svg?fit=max\u0026auto=format\u0026n=nmF9u4u0noYUQzdF\u0026q=85\u0026s=2c31758780e3cecce18a07ca724b6ad0","dark":"https://mintcdn.com/swapnice/lQq8ZnnZLyVWSgup/logo/dark.svg?fit=max\u0026auto=format\u0026n=lQq8ZnnZLyVWSgup\u0026q=85\u0026s=69754cecc5b10ffe26a54cae0520a4bb"},"favicon":"https://mintcdn.com/swapnice/lQq8ZnnZLyVWSgup/favicon.svg?fit=max\u0026auto=format\u0026n=lQq8ZnnZLyVWSgup\u0026q=85\u0026s=0723e8f00210bfaf5bbeb07ddf9cb98d","api":{"openapi":["openapi.yaml"],"playground":{"display":"interactive"},"examples":{"languages":["curl","javascript","python"]}},"navbar":{"links":[{"icon":"code","href":"/partners/introduction","label":"Partner SDK"},{"icon":"square-terminal","href":"/partners/api-overview","label":"API Reference"},{"href":"mailto:api@swapnice.com","label":"Support"}],"primary":{"type":"button","label":"Get the SDK","href":"/partners/integration"}},"footer":{"socials":{"x":"https://x.com/swapnice","github":"https://github.com/swapnice","linkedin":"https://www.linkedin.com/company/swapped-inc"}},"search":{"prompt":"Search Partner SDK, API, or app guides"},"banner":{"content":"Integrating Swapnice? Start with the [Partner SDK](/partners/introduction) — sample code, data flow, and sandbox access.","dismissible":true},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Partner SDK","icon":"code","href":"/partners/introduction"},{"anchor":"Get the SDK","icon":"download","href":"/partners/integration"},{"anchor":"API Reference","icon":"square-terminal","href":"/partners/api-overview"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"swapnice","hasAudioNarration":false,"actualSubdomain":"swapnice","customDomains":[],"gitSource":{"type":"github","owner":"swapnice","repo":"swapnice-documentation","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6a91bb8a762748b8809410ef","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"Partner SDK \u0026 API","count":59},{"language":"default","tag":"API Reference","count":43},{"language":"default","tag":"Guides","count":16},{"language":"default","tag":"Swapnice App","count":14},{"language":"default","tag":"Swapnice Features","count":11},{"language":"default","tag":"Entries and ontologies","count":7},{"language":"default","tag":"OAuth","count":7},{"language":"default","tag":"Consent","count":5},{"language":"default","tag":"Get started","count":5},{"language":"default","tag":"Integrate","count":5}]},"assistantConfig":{},"basePath":"","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":"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":"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"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}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"main.css","content":""}]}
{"page":{"pagePath":"partners/api-reference/oauth-introspect","slug":"/partners/api-reference/oauth-introspect","pageMetadata":{"title":"Introspect a token","description":"Confirm a token is active and inspect its scopes.","openapi":"openapi.yaml POST /oauth/introspect","href":"/partners/api-reference/oauth-introspect"},"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: \"Confirm a token is active and inspect its scopes.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,..._provideComponents(),...props.components};return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Confirm a token is active and inspect its scopes.`}),`\n`,_jsxs(_components.p,{children:[`Requires `,_jsx(_components.code,{children:`tokens:introspect`}),`. Use this in sandbox to verify the token you just issued.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Introspect a token","description":"Confirm a token is active and inspect its scopes.","openapi":"openapi.yaml POST /oauth/introspect","href":"/partners/api-reference/oauth-introspect"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["OAuth"],"summary":"Introspect a token","operationId":"introspectOAuthToken","description":"Confirm a token is active and inspect its scopes.","security":["e945dea6-786f-4231-b1a3-08d615b2ff2e","5b1a3365-ffb6-43ee-9ae5-88faee6c8dfe"],"requestBody":"e1d04a8c-a097-4499-bcb1-fb051785e661","responses":{"200":"77573c88-9bec-46fc-850b-3ac66d29399d","401":"4770003b-795a-448c-b9e2-5a4ebac53e31"},"method":"post","type":"path","servers":["99d2c55b-f3b5-46da-95d7-cc24acc2568d","ca47aed7-56c6-49e4-9275-ab5aa1e8e0f3"],"path":"/oauth/introspect","baseUrlOptions":["https://swapnice-gateway-dev.ceo-cbc.workers.dev","https://swapnice-gateway-production.ceo-cbc.workers.dev"],"title":"Introspect a token","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["token"],"properties":{"token":{"type":"string","isRequired":true,"uniqueKey":"token","typeLabel":"string"},"token_type_hint":{"type":"string","enum":["access_token","refresh_token"],"uniqueKey":"token_type_hint","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"token":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"77573c88-9bec-46fc-850b-3ac66d29399d":{"description":"Token introspection result.","content":{"application/json":{"schema":{"type":"object","required":["active"],"properties":{"active":{"type":"boolean","isRequired":true,"uniqueKey":"active","typeLabel":"boolean"},"scope":{"type":"string","uniqueKey":"scope","typeLabel":"string"},"client_id":{"type":"string","uniqueKey":"client_id","typeLabel":"string"},"username":{"type":"string","uniqueKey":"username","typeLabel":"string"},"token_type":{"type":"string","uniqueKey":"token_type","typeLabel":"string"},"exp":{"type":"integer","uniqueKey":"exp","typeLabel":"integer"},"iat":{"type":"integer","uniqueKey":"iat","typeLabel":"integer"},"sub":{"type":"string","uniqueKey":"sub","typeLabel":"string"},"aud":{"type":"string","uniqueKey":"aud","typeLabel":"string"},"iss":{"type":"string","uniqueKey":"iss","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"active":true,"scope":"\u003cstring>","client_id":"\u003cstring>","username":"\u003cstring>","token_type":"\u003cstring>","exp":123,"iat":123,"sub":"\u003cstring>","aud":"\u003cstring>","iss":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"4770003b-795a-448c-b9e2-5a4ebac53e31":{"description":"Missing, invalid, expired, or revoked credentials.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","example":"consent_denied","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"},"field":{"type":"string","uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"consent_denied","message":"\u003cstring>","request_id":"\u003cstring>","details":[{"code":"\u003cstring>","message":"\u003cstring>","field":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"e945dea6-786f-4231-b1a3-08d615b2ff2e":{"BasicAuth":{"type":"http","scheme":"basic","description":"Client authentication for confidential OAuth clients.","scopes":[]}},"5b1a3365-ffb6-43ee-9ae5-88faee6c8dfe":{"OAuth2":{"type":"oauth2","description":"OAuth 2.1 authorization code with PKCE. Implicit and password flows are unsupported.","flows":{"authorizationCode":{"authorizationUrl":"https://swapnice-gateway-production.ceo-cbc.workers.dev/oauth/authorize","tokenUrl":"https://swapnice-gateway-production.ceo-cbc.workers.dev/oauth/token","refreshUrl":"https://swapnice-gateway-production.ceo-cbc.workers.dev/oauth/token","scopes":{"offline_access":"Issue rotating refresh tokens when allowed.","apps:read":"Read partner app configuration.","apps:write":"Manage partner app configuration.","connections:read":"Read connection sessions.","connections:write":"Create or cancel connection sessions.","consent:read":"Read consent receipts and effective consent.","consent:write":"Create and revoke consent.","customers:read":"Read partner customers.","customers:write":"Create or update partner customers.","ontologies:read":"Read ontologies and field maps.","ontologies:write":"Rebuild ontology filter metadata.","entries:read":"Read ontology-backed entries.","entries:write":"Create or update ontology-backed entries.","events:read":"Read event status.","events:write":"Ingest events and claims.","profile:read":"Read resolved profile facts.","profiles:read":"Read profile resources.","claims:read":"Read claims.","intents:read":"Read intents.","webhooks:read":"Read webhook endpoints.","webhooks:write":"Manage webhook endpoints.","workflows:read":"Read async workflow status.","tokens:introspect":"Introspect tokens.","tokens:revoke":"Revoke tokens."}}},"scopes":["tokens:introspect"]}}},"servers":{"99d2c55b-f3b5-46da-95d7-cc24acc2568d":{"url":"https://swapnice-gateway-dev.ceo-cbc.workers.dev","description":"Development"},"ca47aed7-56c6-49e4-9275-ab5aa1e8e0f3":{"url":"https://swapnice-gateway-production.ceo-cbc.workers.dev","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"basic","description":"Client authentication for confidential OAuth clients.","scopes":[]},"schema":{"title":"Basic Auth","type":"object","description":"Client authentication for confidential OAuth clients.","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"BasicAuth","name":"Authorization"}],"title":"BasicAuth"},{"schemes":[{"scheme":{"type":"oauth2","description":"OAuth 2.1 authorization code with PKCE. Implicit and password flows are unsupported.","flows":{"authorizationCode":{"authorizationUrl":"https://swapnice-gateway-production.ceo-cbc.workers.dev/oauth/authorize","tokenUrl":"https://swapnice-gateway-production.ceo-cbc.workers.dev/oauth/token","refreshUrl":"https://swapnice-gateway-production.ceo-cbc.workers.dev/oauth/token","scopes":{"offline_access":"Issue rotating refresh tokens when allowed.","apps:read":"Read partner app configuration.","apps:write":"Manage partner app configuration.","connections:read":"Read connection sessions.","connections:write":"Create or cancel connection sessions.","consent:read":"Read consent receipts and effective consent.","consent:write":"Create and revoke consent.","customers:read":"Read partner customers.","customers:write":"Create or update partner customers.","ontologies:read":"Read ontologies and field maps.","ontologies:write":"Rebuild ontology filter metadata.","entries:read":"Read ontology-backed entries.","entries:write":"Create or update ontology-backed entries.","events:read":"Read event status.","events:write":"Ingest events and claims.","profile:read":"Read resolved profile facts.","profiles:read":"Read profile resources.","claims:read":"Read claims.","intents:read":"Read intents.","webhooks:read":"Read webhook endpoints.","webhooks:write":"Manage webhook endpoints.","workflows:read":"Read async workflow status.","tokens:introspect":"Introspect tokens.","tokens:revoke":"Revoke tokens."}}},"scopes":["tokens:introspect"]},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"OAuth 2.1 authorization code with PKCE. Implicit and password flows are unsupported.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"OAuth2","name":"Authorization"}],"title":"OAuth2"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"swapnice","siteName":"Swapnice","title":"Introspect a token - Swapnice","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-26T21:35:09.450Z","originalFileLocation":"partners/api-reference/oauth-introspect.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=\"Confirm a token is active and inspect its scopes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Swapnice\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/swapnice/sU5gd7GPnTjFS3kb/_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/swapnice/sU5gd7GPnTjFS3kb/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/swapnice/sU5gd7GPnTjFS3kb/_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/swapnice/sU5gd7GPnTjFS3kb/_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/swapnice/sU5gd7GPnTjFS3kb/_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/swapnice/sU5gd7GPnTjFS3kb/_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/swapnice/sU5gd7GPnTjFS3kb/_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/swapnice/sU5gd7GPnTjFS3kb/_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/swapnice/sU5gd7GPnTjFS3kb/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Introspect a token - Swapnice\">\u003cmeta data-mint-head property=\"og:description\" content=\"Confirm a token is active and inspect its scopes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Swapnice\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://swapnice.mintlify.app/partners/api-reference/oauth-introspect\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://swapnice.mintlify.site/_mintlify/api/og/v2?division=OAuth\u0026amp;title=Introspect+a+token\u0026amp;description=Confirm+a+token+is+active+and+inspect+its+scopes.\u0026amp;theme=881faf2d303744559c6d5af1\u0026amp;signature=b28395aa2947d1b789e8ebc869c2a4de0461482331b228392e74b6303b63d14f\">\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=\"Introspect a token - Swapnice\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Confirm a token is active and inspect its scopes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://swapnice.mintlify.site/_mintlify/api/og/v2?division=OAuth\u0026amp;title=Introspect+a+token\u0026amp;description=Confirm+a+token+is+active+and+inspect+its+scopes.\u0026amp;theme=881faf2d303744559c6d5af1\u0026amp;signature=b28395aa2947d1b789e8ebc869c2a4de0461482331b228392e74b6303b63d14f\">\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/swapnice/sU5gd7GPnTjFS3kb/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Swapnice\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#EF3E36\">\u003clink data-mint-head rel=\"canonical\" href=\"https://swapnice.mintlify.app/partners/api-reference/oauth-introspect\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/partners/api-reference/oauth-introspect.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://swapnice.mintlify.app/#organization\",\"name\":\"Swapnice\",\"url\":\"https://swapnice.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/swapnice/nmF9u4u0noYUQzdF/logo/light.svg?fit=max\u0026auto=format\u0026n=nmF9u4u0noYUQzdF\u0026q=85\u0026s=2c31758780e3cecce18a07ca724b6ad0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://swapnice.mintlify.app#website\",\"name\":\"Swapnice\",\"url\":\"https://swapnice.mintlify.app\",\"publisher\":{\"@id\":\"https://swapnice.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://swapnice.mintlify.app/partners/api-reference/oauth-introspect#webpage\",\"url\":\"https://swapnice.mintlify.app/partners/api-reference/oauth-introspect\",\"name\":\"Introspect a token\",\"description\":\"Confirm a token is active and inspect its scopes.\",\"dateModified\":\"2026-08-26T21:35:09.450Z\",\"isPartOf\":{\"@id\":\"https://swapnice.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://swapnice.mintlify.app/partners/api-reference/oauth-introspect#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://swapnice.mintlify.app/partners/api-reference/oauth-introspect#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"OAuth\",\"item\":\"https://swapnice.mintlify.app/partners/api/oauth\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Introspect a token\",\"item\":\"https://swapnice.mintlify.app/partners/api-reference/oauth-introspect\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://swapnice.mintlify.app/partners/api-reference/oauth-introspect#apireference\",\"headline\":\"Introspect a token\",\"name\":\"Introspect a token\",\"description\":\"Confirm a token is active and inspect its scopes.\",\"url\":\"https://swapnice.mintlify.app/partners/api-reference/oauth-introspect\",\"mainEntityOfPage\":{\"@id\":\"https://swapnice.mintlify.app/partners/api-reference/oauth-introspect#webpage\"},\"dateModified\":\"2026-08-26T21:35:09.450Z\",\"publisher\":{\"@id\":\"https://swapnice.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://swapnice.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Swapnice\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Swapnice\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/partners/api-reference/oauth-introspect.md","siteName":"Swapnice","nav":{"global":{"anchors":[{"anchor":"Partner SDK","icon":"code","href":"/partners/introduction"},{"anchor":"Get the SDK","icon":"download","href":"/partners/integration"},{"anchor":"API Reference","icon":"square-terminal","href":"/partners/api-overview"}]},"products":[{"product":"Partner SDK \u0026 API","icon":"code","description":"Integrate the SDK: sample code, data collection, outputs, and sandbox.","tabs":[{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":"/partners/introduction"}]},{"tab":"API Reference","icon":"square-terminal","groups":[{"group":"Overview","pages":[{"title":"API overview","href":"/partners/api-overview"}]},{"group":"OAuth","pages":[{"title":"OAuth","href":"/partners/api/oauth"},{"title":"Get authorization server metadata","openapi":"openapi.yaml GET /.well-known/oauth-authorization-server","href":"/partners/api-reference/oauth-metadata"},{"title":"Create an authorization code","openapi":"openapi.yaml POST /oauth/authorize","href":"/partners/api-reference/oauth-authorize"},{"title":"Start browser authorization","openapi":"openapi.yaml GET /oauth/authorize","href":"/partners/api-reference/oauth-authorize-browser"},{"title":"Exchange or refresh a token","description":"Trade an authorization code or refresh token for a Bearer access token.","openapi":"openapi.yaml POST /oauth/token","href":"/partners/api-reference/oauth-token"},{"title":"Introspect a token","openapi":"openapi.yaml POST /oauth/introspect","href":"/partners/api-reference/oauth-introspect"},{"title":"Revoke a token","description":"Invalidate an access or refresh token.","openapi":"openapi.yaml POST /oauth/revoke","href":"/partners/api-reference/oauth-revoke"}]},{"group":"Apps","pages":[{"title":"Apps","href":"/partners/api/apps"},{"title":"Create a partner app","openapi":"openapi.yaml POST /v1/apps","href":"/partners/api-reference/apps-create"},{"title":"Get a partner app","openapi":"openapi.yaml GET /v1/apps/{app_id}","href":"/partners/api-reference/apps-get"},{"title":"Update a partner app","openapi":"openapi.yaml PATCH /v1/apps/{app_id}","href":"/partners/api-reference/apps-update"}]},{"group":"Connection sessions","pages":[{"title":"Connection sessions","href":"/partners/api/connections"},{"title":"Create a connection session","openapi":"openapi.yaml POST /v1/connection-sessions","href":"/partners/api-reference/connections-create"},{"title":"Get a connection session","openapi":"openapi.yaml GET /v1/connection-sessions/{session_id}","href":"/partners/api-reference/connections-get"},{"title":"Cancel a connection session","openapi":"openapi.yaml DELETE /v1/connection-sessions/{session_id}","href":"/partners/api-reference/connections-delete"}]},{"group":"Consent","pages":[{"title":"Consent","href":"/partners/api/consent"},{"title":"Create a consent receipt","openapi":"openapi.yaml POST /v1/consent-receipts","href":"/partners/api-reference/consent-create"},{"title":"List consent receipts","openapi":"openapi.yaml GET /v1/consent-receipts","href":"/partners/api-reference/consent-list"},{"title":"Revoke consent","openapi":"openapi.yaml POST /v1/consent-receipts/{receipt_id}/revoke","href":"/partners/api-reference/consent-revoke"},{"title":"Get effective consent","openapi":"openapi.yaml GET /v1/customers/{customer_id}/effective-consent","href":"/partners/api-reference/consent-effective"}]},{"group":"Customers","pages":[{"title":"Customers","href":"/partners/api/customers"},{"title":"Create or upsert a customer","openapi":"openapi.yaml POST /v1/customers","href":"/partners/api-reference/customers-upsert"},{"title":"Get a customer","openapi":"openapi.yaml GET /v1/customers/{customer_id}","href":"/partners/api-reference/customers-get"}]},{"group":"Events","pages":[{"title":"Events","href":"/partners/api/events"},{"title":"Ingest an event","openapi":"openapi.yaml POST /v1/events","href":"/partners/api-reference/events-ingest"},{"title":"Ingest a batch of events","openapi":"openapi.yaml POST /v1/events/batch","href":"/partners/api-reference/events-batch"},{"title":"Get event status","openapi":"openapi.yaml GET /v1/events/{event_id}","href":"/partners/api-reference/events-get"}]},{"group":"Profiles","pages":[{"title":"Profiles","href":"/partners/api/profiles"},{"title":"Get a resolved profile","openapi":"openapi.yaml GET /v1/profiles/{customer_id}","href":"/partners/api-reference/profiles-get"},{"title":"List claims","openapi":"openapi.yaml GET /v1/profiles/{customer_id}/claims","href":"/partners/api-reference/profiles-claims"},{"title":"List intents","openapi":"openapi.yaml GET /v1/profiles/{customer_id}/intents","href":"/partners/api-reference/profiles-intents"}]},{"group":"Entries and ontologies","pages":[{"title":"Entries and ontologies","href":"/partners/api/catalog"},{"title":"List ontologies","openapi":"openapi.yaml GET /v1/ontologies","href":"/partners/api-reference/ontologies-list"},{"title":"Get an ontology","openapi":"openapi.yaml GET /v1/ontologies/{ontology_id}","href":"/partners/api-reference/ontologies-get"},{"title":"Rebuild ontology fields","openapi":"openapi.yaml POST /v1/ontologies/{ontology_id}/fields/rebuild","href":"/partners/api-reference/ontologies-rebuild"},{"title":"Create or upsert an entry","openapi":"openapi.yaml POST /v1/entries","href":"/partners/api-reference/entries-upsert"},{"title":"Get an entry","openapi":"openapi.yaml GET /v1/entries/{entry_id}","href":"/partners/api-reference/entries-get"},{"title":"Replace an entry","openapi":"openapi.yaml PUT /v1/entries/{entry_id}","href":"/partners/api-reference/entries-update"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","href":"/partners/api/webhooks"},{"title":"Register a webhook endpoint","openapi":"openapi.yaml POST /v1/webhook-endpoints","href":"/partners/api-reference/webhooks-create"},{"title":"List webhook endpoints","openapi":"openapi.yaml GET /v1/webhook-endpoints","href":"/partners/api-reference/webhooks-list"}]},{"group":"Workflows","pages":[{"title":"Get workflow status","openapi":"openapi.yaml GET /v1/workflows/{workflow_id}","href":"/partners/api-reference/workflows-get"}]}]}]},{"product":"Swapnice App","icon":"sparkles","description":"Consumer product guides for personas, badges, inventory, and transactions.","pages":[{"title":"Swapnice App","href":"/introduction"}]}]},"basePath":"","title":"Introspect a token - Swapnice","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-BUsnMns2.js","dist-OmDnwAnM.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-CyAr6xD1.js","snippetPresets-BSqedH3o.js","utils-DXfQSZU_.js","style-to-object-BY3JEAdk.js","utils-DiMyLQC-.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DvPCxzT8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-dx7iM-7h.js","_Uint8Array-DpQIK2Aw.js","isObject-FP1Yky1u.js","ApiExamples-B2sy5qvP.js","usePlaygroundInputsStore-BDc5FJKB.js","shallow-DxZq5uhD.js","isEqual-Bl_IuwU4.js","CodeSnippets-D1UoeS-I.js","CodeSnippet-C87it1Zg.js","use-playground-group-access-DyECiQ2v.js","Page-wigwbDGe.js","api-description-markdown-DHZIfeWZ.js","DynamicMarkdown-D8KwOkxZ.js","SectionHeading-uish4Ed2.js","MethodPill-DR7O5MCP.js","getPastedJson-D2WQib0m.js","Check2Icon-CUuzblYS.js","axios-CsQoIw0U.js","Markdown-K6_WYP3x.js","AssistantPageLink-BrppVW5v.js"]}