Create and manage personal or workspace API keys for automation and integrations.
Overview
API keys provide programmatic access for CI pipelines, integrations, and tooling. Cysmiq supports two types of keys:
Personal API keys: Scoped to your user account. Can be restricted to specific workspaces.
Workspace API keys: Scoped to a workspace (tenant). Managed by users with the Owner role for shared integrations.
Create an API key
1
Open settings
Personal key
Workspace key
Open the Workspaces page, select Security, then scroll to API keys.
Use https://app.cysmiq.com/workspaces for Cysmiq Cloud. For self-hosted, use your Cysmiq app URL.
Personal API keys are managed in your account security settings.
The Owner role in the workspace is required.
From the workspace sidebar, select Settings, then Security under Administration.
Workspace API keys are managed in workspace security settings.
2
Configure the key
Enter a descriptive Token name to identify the key’s purpose, such as “CI read-only” or “GitHub Actions”.Select the Scopes for the key. For a CI read-only key, keep read scopes enabled and leave write scopes disabled. Available read scopes include:
Read vulnerabilities (vulnerabilities:read): Access vulnerability lists and summary data
Read policy violations (policy-violations:read): Access policy violation lists and details
Read scans (scans:read): Access scan lists and status
Read organizations (organizations:read): Access organization lists and details
Read repositories (repositories:read): Access repository lists and details
Choose an Expires value. Shorter expirations are more secure but require more frequent rotation.
Personal key
Workspace key
Optionally restrict the key to specific workspaces using Restrict to workspaces. If no workspaces are selected, the key works across all workspaces you have access to.
Fill in the token name and choose expiration. Workspace restrictions are optional.
Workspace keys are automatically scoped to the current workspace.
3
Create and copy the key
Select Create API key. The key value is displayed once and cannot be retrieved later.
Copy the key immediately. It will not be shown again.
Select Copy to copy the key to your clipboard, then store it securely in a secrets manager or environment variable.
Verify an API key
Use the whoami endpoint to confirm your key and tenant context.
1
Find your tenant slug
Open the Workspaces page. The tenant slug is the short identifier used in API URLs. It appears under each workspace name, such as e55cdd66.
The tenant slug appears under the workspace name.
2
Send a whoami request
Replace <tenant-slug> with the value from the previous step.
For self-hosted deployments, replace https://app.cysmiq.com with your Cysmiq app URL.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cysmiq","colors":{"primary":"#FF4609","light":"#FF4609","dark":"#E13E08"},"logo":{"light":"https://mintcdn.com/cysmiq/1eDhig_aHgoSVIaN/images/Cysmiqlogocolor.svg?fit=max\u0026auto=format\u0026n=1eDhig_aHgoSVIaN\u0026q=85\u0026s=0cda85c078d98b9846d84bdee8f73b5b","dark":"https://mintcdn.com/cysmiq/1eDhig_aHgoSVIaN/images/Cysmiqlogocolorwhite.svg?fit=max\u0026auto=format\u0026n=1eDhig_aHgoSVIaN\u0026q=85\u0026s=ab291b7a19aeae66bfd08cceee2cf790"},"favicon":{"light":"https://mintcdn.com/cysmiq/Zi-IrGxubln-TlTl/images/favicon.svg?fit=max\u0026auto=format\u0026n=Zi-IrGxubln-TlTl\u0026q=85\u0026s=dd075ce013edbfa653daf909a172584c","dark":"https://mintcdn.com/cysmiq/Zi-IrGxubln-TlTl/images/favicon.svg?fit=max\u0026auto=format\u0026n=Zi-IrGxubln-TlTl\u0026q=85\u0026s=dd075ce013edbfa653daf909a172584c"},"api":{"playground":{"display":"interactive"},"examples":{"defaults":"all","languages":["curl","python","javascript"],"prefill":true}},"navbar":{"links":[{"href":"mailto:support@cysmiq.com","label":"Support"}],"primary":{"type":"button","label":"Get Started","href":"https://app.cysmiq.com"}},"footer":{"socials":{"x":"https://x.com/cysmiqAI","github":"https://github.com/cysmiq","linkedin":"https://linkedin.com/company/cysmiq"},"links":[{"header":"Resources","items":[{"label":"System status","href":"https://status.cysmiq.com/"}]}]},"seo":{"metatags":{"canonical":"https://docs.cysmiq.com"}},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cysmiq","hasAudioNarration":false,"actualSubdomain":"cysmiq","customDomains":["docs.cysmiq.com"],"gitSource":{"type":"github","owner":"cysmiq","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae44fd1d2f3537f5eb9fbe3","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"default","tag":"Documentation","count":54},{"language":"default","tag":"Guides","count":20},{"language":"default","tag":"API reference","count":17},{"language":"default","tag":"Endpoints","count":16},{"language":"default","tag":"Workflows","count":12},{"language":"default","tag":"Core concepts","count":9},{"language":"default","tag":"Reference","count":8},{"language":"default","tag":"Vulnerability management","count":8},{"language":"default","tag":"Assets","count":5},{"language":"default","tag":"Scanning","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@cysmiq.com","showHelpButton":false}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"status-badge.css","content":"#cysmiq-status-badge{display:inline-flex;align-items:center;min-height:28px}#cysmiq-status-badge img{display:block;width:195px;height:28px}"}]}
{"page":{"pagePath":"guides/api-keys","slug":"/guides/api-keys","pageMetadata":{"title":"Manage API keys","description":"Create and manage personal or workspace API keys for automation and integrations.","href":"/guides/api-keys"},"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 and manage personal or workspace API keys for automation and integrations.\"\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`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Frame,Heading,Info,Note,OptimizedImage,Step,Steps,Tab,Tabs}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`API keys provide programmatic access for CI pipelines, integrations, and tooling. Cysmiq supports two types of keys:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Personal API keys`}),`: Scoped to your user account. Can be restricted to specific workspaces.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Workspace API keys`}),`: Scoped to a workspace (tenant). Managed by users with the `,_jsx(_components.strong,{children:`Owner`}),` role for shared integrations.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`create-an-api-key`,children:`Create an API key`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open settings`,children:_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Personal key`,id:`personal-key`,children:[_jsxs(_components.p,{children:[`Open the `,_jsx(_components.strong,{children:`Workspaces`}),` page, select `,_jsx(_components.strong,{children:`Security`}),`, then scroll to `,_jsx(_components.strong,{children:`API keys`}),`.`]}),_jsx(Info,{children:_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`https://app.cysmiq.com/workspaces`}),` for Cysmiq Cloud. For self-hosted, use your Cysmiq app URL.`]})}),_jsx(Frame,{caption:`Personal API keys are managed in your account security settings.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-01-form.webp?fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=621a357bdb643802c3124e42072ac9dc`,alt:`API keys section showing the form to create a personal API key.`,\"data-og-width\":`1660`,width:`1660`,\"data-og-height\":`1848`,height:`1848`,\"data-path\":`images/guides/api-keys/api-keys-01-form.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-01-form.webp?w=280\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=23510cc47209b74c69f12e2c6937599b 280w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-01-form.webp?w=560\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=1fb62891bb41a6c2c579008e7e8c04a9 560w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-01-form.webp?w=840\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=1e9a3e2dcecee3ff95a747113b680aec 840w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-01-form.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=9658245420257c05ae7e552c2b4c6ff6 1100w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-01-form.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=0b052bed8af84a337837cf08ad218f29 1650w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-01-form.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=63d9ed26beb1b8519cf21d4e6b20bc2b 2500w`})})]}),_jsxs(Tab,{title:`Workspace key`,id:`workspace-key`,children:[_jsxs(Note,{children:[`The `,_jsx(_components.strong,{children:`Owner`}),` role in the workspace is required.`]}),_jsxs(_components.p,{children:[`From the workspace sidebar, select `,_jsx(_components.strong,{children:`Settings`}),`, then `,_jsx(_components.strong,{children:`Security`}),` under Administration.`]}),_jsx(Frame,{caption:`Workspace API keys are managed in workspace security settings.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-05-workspace-form.webp?fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=361ab75a66512ec713cabbe59434bbfa`,alt:`Workspace security settings showing the API keys section.`,\"data-og-width\":`1400`,width:`1400`,\"data-og-height\":`1830`,height:`1830`,\"data-path\":`images/guides/api-keys/api-keys-05-workspace-form.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-05-workspace-form.webp?w=280\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=888dbaff6a714615701fd9452d865206 280w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-05-workspace-form.webp?w=560\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=7cddb15be8643061b0aa7718c117755c 560w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-05-workspace-form.webp?w=840\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=37c1ef64da797c46853ccb4fdbc855f3 840w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-05-workspace-form.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=d107b2e9f69e92b8ce5b8629fb4bf6df 1100w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-05-workspace-form.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=3da985ac694117f09cc8e30ab3e127b9 1650w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-05-workspace-form.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=1fb3f314b4007d730bc751e360a592f2 2500w`})})]})]})}),_jsxs(Step,{title:`Configure the key`,children:[_jsxs(_components.p,{children:[`Enter a descriptive `,_jsx(_components.strong,{children:`Token name`}),` to identify the key’s purpose, such as “CI read-only” or “GitHub Actions”.`]}),_jsxs(_components.p,{children:[`Select the `,_jsx(_components.strong,{children:`Scopes`}),` for the key. For a CI read-only key, keep read scopes enabled and leave write scopes disabled. Available read scopes include:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Read vulnerabilities`}),` (`,_jsx(_components.code,{children:`vulnerabilities:read`}),`): Access vulnerability lists and summary data`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Read policy violations`}),` (`,_jsx(_components.code,{children:`policy-violations:read`}),`): Access policy violation lists and details`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Read scans`}),` (`,_jsx(_components.code,{children:`scans:read`}),`): Access scan lists and status`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Read organizations`}),` (`,_jsx(_components.code,{children:`organizations:read`}),`): Access organization lists and details`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Read repositories`}),` (`,_jsx(_components.code,{children:`repositories:read`}),`): Access repository lists and details`]}),`\n`]}),_jsxs(_components.p,{children:[`Choose an `,_jsx(_components.strong,{children:`Expires`}),` value. Shorter expirations are more secure but require more frequent rotation.`]}),_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Personal key`,id:`personal-key-2`,children:[_jsxs(_components.p,{children:[`Optionally restrict the key to specific workspaces using `,_jsx(_components.strong,{children:`Restrict to workspaces`}),`. If no workspaces are selected, the key works across all workspaces you have access to.`]}),_jsx(Frame,{caption:`Fill in the token name and choose expiration. Workspace restrictions are optional.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-02-form-filled.webp?fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=aa73bc91cadd9fcba7e7fdb127caa106`,alt:`API key form filled with token name CI read-only and 30 day expiration.`,\"data-og-width\":`1660`,width:`1660`,\"data-og-height\":`1848`,height:`1848`,\"data-path\":`images/guides/api-keys/api-keys-02-form-filled.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-02-form-filled.webp?w=280\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=e80683b5bd89a074cad3e696f4a27d60 280w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-02-form-filled.webp?w=560\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=c99afa40850c0a5510e262d23b7eef81 560w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-02-form-filled.webp?w=840\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=eded1455b65e8d770516c983e581e36c 840w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-02-form-filled.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=448eb6d6098839762aecafd87b046c27 1100w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-02-form-filled.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=3040ff65cca61ddd78f78906860820ec 1650w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-02-form-filled.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=702e9c6d2a30a5cf1dea3500a5f422ca 2500w`})})]}),_jsx(Tab,{title:`Workspace key`,id:`workspace-key-2`,children:_jsx(_components.p,{children:`Workspace keys are automatically scoped to the current workspace.`})})]})]}),_jsxs(Step,{title:`Create and copy the key`,children:[_jsxs(_components.p,{children:[`Select `,_jsx(_components.strong,{children:`Create API key`}),`. The key value is displayed once and cannot be retrieved later.`]}),_jsx(Frame,{caption:`Copy the key immediately. It will not be shown again.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-03-key-created.webp?fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=2434a51d7539498585e46778d04f7a74`,alt:`New API key created dialog showing the key value with a copy button and warning to store it securely.`,\"data-og-width\":`1660`,width:`1660`,\"data-og-height\":`2418`,height:`2418`,\"data-path\":`images/guides/api-keys/api-keys-03-key-created.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-03-key-created.webp?w=280\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=2e61720669d49d3c70c0e78f4e77aee4 280w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-03-key-created.webp?w=560\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=f6cb7604ccb2845cb0d7286b2956be91 560w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-03-key-created.webp?w=840\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=abed91e8651b50606ba2f4de15720d94 840w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-03-key-created.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=6e1c063c4371e57ff52b72b8b9c7f5d7 1100w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-03-key-created.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=d11817dbfbc72469ba709c85eb57ccc7 1650w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-03-key-created.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=8f100ebf547688bab2138c827706831a 2500w`})}),_jsxs(_components.p,{children:[`Select `,_jsx(_components.strong,{children:`Copy`}),` to copy the key to your clipboard, then store it securely in a secrets manager or environment variable.`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`verify-an-api-key`,children:`Verify an API key`}),`\n`,_jsxs(_components.p,{children:[`Use the `,_jsx(_components.code,{children:`whoami`}),` endpoint to confirm your key and tenant context.`]}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Find your tenant slug`,children:[_jsxs(_components.p,{children:[`Open the `,_jsx(_components.strong,{children:`Workspaces`}),` page. The tenant slug is the short identifier used in API URLs. It appears under each workspace name, such as `,_jsx(_components.code,{children:`e55cdd66`}),`.`]}),_jsx(Frame,{caption:`The tenant slug appears under the workspace name.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-workspaces-slug.webp?fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=3dd415791cb3a930e3286950f09648f0`,alt:`Workspaces list showing the tenant slug under a workspace name.`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`2160`,height:`2160`,\"data-path\":`images/guides/api-keys/api-keys-workspaces-slug.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-workspaces-slug.webp?w=280\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=4a7038efea5a8e9a182a7490a72aba62 280w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-workspaces-slug.webp?w=560\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=67c7460c92efcae8e4c04caa6e382703 560w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-workspaces-slug.webp?w=840\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=824799a6c9b9f54051b9a29f15a3cc33 840w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-workspaces-slug.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=911309636bd7f6b92fbc060215df8ae9 1100w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-workspaces-slug.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=52d1c2326e6e32ebd312f4fd77cc09e6 1650w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-workspaces-slug.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=3179d526c61d86249ae3b9b4fa236951 2500w`})})]}),_jsxs(Step,{title:`Send a whoami request`,children:[_jsxs(_components.p,{children:[`Replace `,_jsx(_components.code,{children:`\u003ctenant-slug>`}),` with the value from the previous step.`]}),_jsx(Info,{children:_jsxs(_components.p,{children:[`For self-hosted deployments, replace `,_jsx(_components.code,{children:`https://app.cysmiq.com`}),` with your Cysmiq app URL.`]})}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Example request`,numberOfLines:`3`,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:`3`,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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Accept: 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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer cys_tt_example1234567890\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://app.cysmiq.com/api/v1/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`tenant-slu`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`g`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/whoami`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Success response`,numberOfLines:`19`,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:`19`,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:` \"actor\"`}),_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"usr_01hxyzexample\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Maya Chen\"`}),_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:`\"maya.chen@northstarretail.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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tenant\"`}),_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"t_01hxyztnt\"`}),_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:` \"slug\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"e55cdd66\"`}),_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:` \"workspace\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Northstar Retail\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token\"`}),_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12345\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CI read-only\"`}),_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:` \"scopes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"vulnerabilities:read\"`}),_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:` \"expires_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\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`]})})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`view-and-revoke-keys`,children:`View and revoke keys`}),`\n`,_jsx(_components.p,{children:`Created keys appear in a list below the creation form. Each key shows:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Name`}),` and `,_jsx(_components.strong,{children:`Status`}),` (Active, Expired, or Disabled)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Created`}),` date and `,_jsx(_components.strong,{children:`Last used`}),` timestamp`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Expires`}),` date`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Scopes`}),` assigned to the key`]}),`\n`]}),`\n`,_jsx(Frame,{caption:`Keys are listed with status, usage details, and a revoke option.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-04-key-list.webp?fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=ae38e3100a4bc095582cc0bea2696431`,alt:`API key list showing a CI read-only key with Active status and details.`,\"data-og-width\":`1660`,width:`1660`,\"data-og-height\":`2104`,height:`2104`,\"data-path\":`images/guides/api-keys/api-keys-04-key-list.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-04-key-list.webp?w=280\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=0735a88b0a47f99376d77c4218cdce3c 280w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-04-key-list.webp?w=560\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=f7721c6226f8ff0e7bc722a37e660a7f 560w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-04-key-list.webp?w=840\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=b897d5c8b6c013ccef6440e535f5d912 840w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-04-key-list.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=b176f44b887c046da37e0e5555538083 1100w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-04-key-list.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=8ef578f481dcdd43f3401e65b63ddca6 1650w, https://mintcdn.com/cysmiq/8CzxqQUdE9pJM3up/images/guides/api-keys/api-keys-04-key-list.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=8CzxqQUdE9pJM3up\u0026q=85\u0026s=f9b7b8e53d6945a1e1175a2ff44873a6 2500w`})}),`\n`,_jsxs(_components.p,{children:[`To revoke a key, select `,_jsx(_components.strong,{children:`Revoke`}),` and confirm. Revoked keys are permanently disabled and cannot be restored.`]}),`\n`,_jsx(Heading,{level:`2`,id:`related-docs`,children:`Related docs`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/security-access/api-keys`,children:`API keys`}),`: Key types, scopes, and lifecycle details`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference`,children:`API reference`}),`: Using API keys for authentication`]}),`\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":"Manage API keys","description":"Create and manage personal or workspace API keys for automation and integrations.","href":"/guides/api-keys"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Create an API key","slug":"create-an-api-key","depth":2,"children":[]},{"title":"Verify an API key","slug":"verify-an-api-key","depth":2,"children":[]},{"title":"View and revoke keys","slug":"view-and-revoke-keys","depth":2,"children":[]},{"title":"Related docs","slug":"related-docs","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/cysmiq/c9d35ccee652673c/status-badge.js"],"subdomain":"cysmiq","siteName":"Cysmiq","title":"Manage API keys - Cysmiq","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-30T08:05:43.847Z","originalFileLocation":"guides/api-keys.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 and manage personal or workspace API keys for automation and integrations.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cysmiq\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cysmiq/BSsmQHWHOvGYxp_C/_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/cysmiq/BSsmQHWHOvGYxp_C/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cysmiq/BSsmQHWHOvGYxp_C/_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/cysmiq/BSsmQHWHOvGYxp_C/_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/cysmiq/BSsmQHWHOvGYxp_C/_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/cysmiq/BSsmQHWHOvGYxp_C/_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/cysmiq/BSsmQHWHOvGYxp_C/_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/cysmiq/BSsmQHWHOvGYxp_C/_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/cysmiq/BSsmQHWHOvGYxp_C/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Manage API keys - Cysmiq\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create and manage personal or workspace API keys for automation and integrations.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cysmiq\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cysmiq.com/guides/api-keys\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cysmiq.mintlify.site/_mintlify/api/og/v2?division=Administration\u0026amp;title=Manage+API+keys\u0026amp;description=Create+and+manage+personal+or+workspace+API+keys+for+automation+and+integrations.\u0026amp;theme=c09ba826b829aabd7b18fabb\u0026amp;signature=035cee1ba5962977f1b3858a9bddb86f6ba452282696888b94f3845983e7b206\">\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=\"Manage API keys - Cysmiq\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create and manage personal or workspace API keys for automation and integrations.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cysmiq.mintlify.site/_mintlify/api/og/v2?division=Administration\u0026amp;title=Manage+API+keys\u0026amp;description=Create+and+manage+personal+or+workspace+API+keys+for+automation+and+integrations.\u0026amp;theme=c09ba826b829aabd7b18fabb\u0026amp;signature=035cee1ba5962977f1b3858a9bddb86f6ba452282696888b94f3845983e7b206\">\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/cysmiq/BSsmQHWHOvGYxp_C/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cysmiq\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF4609\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cysmiq.com/guides/api-keys\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/api-keys.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cysmiq.com/#organization\",\"name\":\"Cysmiq\",\"url\":\"https://docs.cysmiq.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cysmiq/1eDhig_aHgoSVIaN/images/Cysmiqlogocolor.svg?fit=max\u0026auto=format\u0026n=1eDhig_aHgoSVIaN\u0026q=85\u0026s=0cda85c078d98b9846d84bdee8f73b5b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cysmiq.com#website\",\"name\":\"Cysmiq\",\"url\":\"https://docs.cysmiq.com\",\"publisher\":{\"@id\":\"https://docs.cysmiq.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cysmiq.com/guides/api-keys#webpage\",\"url\":\"https://docs.cysmiq.com/guides/api-keys\",\"name\":\"Manage API keys\",\"description\":\"Create and manage personal or workspace API keys for automation and integrations.\",\"dateModified\":\"2026-10-30T08:05:43.847Z\",\"isPartOf\":{\"@id\":\"https://docs.cysmiq.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cysmiq.com/guides/api-keys#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cysmiq.com/guides/api-keys#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Administration\",\"item\":\"https://docs.cysmiq.com/guides/members\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Manage API keys\",\"item\":\"https://docs.cysmiq.com/guides/api-keys\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cysmiq.com/guides/api-keys#article\",\"headline\":\"Manage API keys\",\"name\":\"Manage API keys\",\"description\":\"Create and manage personal or workspace API keys for automation and integrations.\",\"url\":\"https://docs.cysmiq.com/guides/api-keys\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cysmiq.com/guides/api-keys#webpage\"},\"dateModified\":\"2026-10-30T08:05:43.847Z\",\"publisher\":{\"@id\":\"https://docs.cysmiq.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cysmiq.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cysmiq\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cysmiq\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/api-keys.md","siteName":"Cysmiq","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Guides","groups":[{"group":"Onboarding \u0026 setup","icon":"rocket","pages":[{"title":"Quickstart","href":"/guides/quickstart"},{"title":"Fix your first vulnerability","href":"/guides/first-value"},{"title":"Connect a VCS","href":"/guides/connect-vcs"},{"title":"Invite your team","href":"/guides/invite-team"}]},{"group":"Integrations","icon":"plug","pages":[{"title":"Connect ticketing","href":"/guides/connect-ticketing"}]},{"group":"Workflows","icon":"list-check","pages":[{"title":"Manage applications","href":"/guides/manage-applications"},{"title":"Understand assets","href":"/guides/understand-assets"},{"title":"Configure repository scanning","href":"/guides/configure-repository-scanning"},{"title":"Use saved filters","href":"/guides/saved-filters"},{"title":"Triage vulnerabilities","href":"/guides/triage-vulnerabilities"},{"title":"Review PR results","href":"/guides/pull-request-results"},{"title":"Manage snooze requests","href":"/guides/manage-snooze-requests"},{"title":"Ask Shift","href":"/guides/shift"},{"title":"Create and enforce a policy","href":"/guides/create-policy"},{"title":"Create tickets","href":"/guides/create-tickets"},{"title":"Use the CLI with coding agents","href":"/guides/cli-coding-agents"},{"title":"Use the CLI in CI/CD","href":"/guides/cli-ci-cd"}]},{"group":"Administration","icon":"settings","pages":[{"title":"Manage members","description":"Assign roles, suspend members, and remove workspace access.","href":"/guides/members"},{"title":"Manage API keys","href":"/guides/api-keys"}]},{"group":"Self-hosting","icon":"server","pages":[{"title":"Install in your environment","description":"Deploy the Cysmiq self-hosted platform on Kubernetes using Replicated.","href":"/guides/installation"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/cloud"}]}]},"basePath":"","title":"Manage API keys - Cysmiq","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-D6LgX1ys.js","DynamicMarkdown-CZT_WAnN.js","zoom-image-lightbox-CIIGaZaE.js","lightbox-handle-r17bVUz3.js"]}