Create org-scoped API keys and authenticate requests to the Civic AI product API.
API keys
Civic AI API keys are scoped to your organization, not to an individual user. Any request made with a key acts on your org’s data (pipelines, pursuits) with the identity of the admin who created the key.
Admins can revoke a key from the same API keys tab. Revocation is immediate and permanent — requests with a revoked key return 401.
Errors
Status
Meaning
401
Missing, invalid, or revoked API key
400
Invalid input (message in error)
404
Resource not found or not visible to your org
429
Rate limit exceeded — back off and retry
{ "success": false, "error": "Invalid or revoked API key" }
Rate limits
Requests are limited per key (currently 120 requests/minute). Standard RateLimit-* headers are included on every response. Contact info@civiccontracts.com for higher throughput.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Civic AI","description":"Help and API documentation for Civic AI — AI-powered government procurement intelligence.","colors":{"primary":"#EA580C","light":"#FB923C","dark":"#C2410C"},"logo":{"light":"https://mintcdn.com/civicai/GLbOrCUSBNPw7l6H/logo/light.svg?fit=max\u0026auto=format\u0026n=GLbOrCUSBNPw7l6H\u0026q=85\u0026s=e1f7e73368077306c4195595401bc5ed","dark":"https://mintcdn.com/civicai/GLbOrCUSBNPw7l6H/logo/dark.svg?fit=max\u0026auto=format\u0026n=GLbOrCUSBNPw7l6H\u0026q=85\u0026s=acb62360ae6a3ffb706705a148bc890f"},"favicon":"https://mintcdn.com/civicai/GLbOrCUSBNPw7l6H/favicon.svg?fit=max\u0026auto=format\u0026n=GLbOrCUSBNPw7l6H\u0026q=85\u0026s=508993a992b6d5c974e0f36352b2df07","appearance":{"default":"light"},"navbar":{"links":[{"href":"https://www.civiccontracts.com","label":"App"},{"href":"https://www.civiccontracts.com/blog","label":"Blog"},{"href":"https://www.civiccontracts.com/pricing","label":"Pricing"}],"primary":{"type":"button","label":"Start searching","href":"https://www.civiccontracts.com/search"}},"footer":{"socials":{"x":"https://x.com/civiccontracts","github":"https://github.com/puremetall"}},"seo":{"metatags":{"canonical":"https://docs.civiccontracts.com"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Search the app","icon":"magnifying-glass","href":"https://www.civiccontracts.com/search"},{"anchor":"Blog guides","icon":"newspaper","href":"https://www.civiccontracts.com/blog"},{"anchor":"Open data client","icon":"github","href":"https://github.com/puremetall/civiccontracts-data"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"civicai","hasAudioNarration":false,"actualSubdomain":"civicai","customDomains":["docs.civiccontracts.com"],"gitSource":{"type":"github","owner":"puremetall","repo":"govwin","deployBranch":"main","contentDirectory":"civic-docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae95b788f05918ed285e26e:success","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"Help","count":17},{"language":"default","tag":"API","count":5},{"language":"default","tag":"Getting started","count":5},{"language":"default","tag":"Business development","count":4},{"language":"default","tag":"Find opportunities","count":4},{"language":"default","tag":"Reference","count":4},{"language":"default","tag":"Endpoints","count":3},{"language":"default","tag":"Pursuit management","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"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}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api/authentication","slug":"/api/authentication","pageMetadata":{"title":"Authentication","description":"Create org-scoped API keys and authenticate requests to the Civic AI product API.","href":"/api/authentication"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create org-scoped API keys and authenticate requests to the Civic AI product API.\"\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`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`api-keys`,children:`API keys`}),`\n`,_jsxs(_components.p,{children:[`Civic AI API keys are `,_jsx(_components.strong,{children:`scoped to your organization`}),`, not to an individual user. Any request made with a key acts on your org’s data (pipelines, pursuits) with the identity of the admin who created the key.`]}),`\n`,_jsx(Heading,{level:`3`,id:`creating-a-key`,children:`Creating a key`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Sign in to `,_jsx(_components.a,{href:`https://www.civiccontracts.com`,children:`civiccontracts.com`}),` as an `,_jsx(_components.strong,{children:`org admin`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Go to `,_jsx(_components.a,{href:`https://www.civiccontracts.com/settings/org`,children:`Settings → Organization`}),` and open the `,_jsx(_components.strong,{children:`API keys`}),` tab.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Create API key`}),`, give it a name (e.g. “Zapier integration”), and copy the key.`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The full key (`,_jsx(_components.code,{children:`civic_…`}),`) is shown `,_jsx(_components.strong,{children:`exactly once`}),` at creation. Store it in a secrets manager — only the short prefix is visible afterwards.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`using-a-key`,children:`Using a key`}),`\n`,_jsx(_components.p,{children:`Pass the key on every request, either as a Bearer token:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer civic_YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.civiccontracts.com/v1/contracts/search?q=janitorial+services\"`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`or via the `,_jsx(_components.code,{children:`X-API-Key`}),` header:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: civic_YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.civiccontracts.com/v1/awards/search?q=lockheed\u0026state=TX\"`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`revoking-a-key`,children:`Revoking a key`}),`\n`,_jsxs(_components.p,{children:[`Admins can revoke a key from the same `,_jsx(_components.strong,{children:`API keys`}),` tab. Revocation is immediate and permanent — requests with a revoked key return `,_jsx(_components.code,{children:`401`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`Missing, invalid, or revoked API key`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`Invalid input (message in `,_jsx(_components.code,{children:`error`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`Resource not found or not visible to your org`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:`Rate limit exceeded — back off and retry`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"success\"`}),_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:`, `}),_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:`\"Invalid or revoked API key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`rate-limits`,children:`Rate limits`}),`\n`,_jsxs(_components.p,{children:[`Requests are limited `,_jsx(_components.strong,{children:`per key`}),` (currently 120 requests/minute). Standard `,_jsx(_components.code,{children:`RateLimit-*`}),` headers are included on every response. Contact `,_jsx(_components.strong,{children:_jsx(_components.a,{href:`mailto:info@civiccontracts.com`,children:`info@civiccontracts.com`})}),` for higher throughput.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Authentication","description":"Create org-scoped API keys and authenticate requests to the Civic AI product API.","href":"/api/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"API keys","slug":"api-keys","depth":2,"children":[{"title":"Creating a key","slug":"creating-a-key","depth":3,"children":[]},{"title":"Using a key","slug":"using-a-key","depth":3,"children":[]},{"title":"Revoking a key","slug":"revoking-a-key","depth":3,"children":[]}]},{"title":"Errors","slug":"errors","depth":2,"children":[]},{"title":"Rate limits","slug":"rate-limits","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"civicai","siteName":"Civic AI","title":"Authentication - Civic AI","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-22T06:51:53.549Z","originalFileLocation":"api/authentication.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}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 org-scoped API keys and authenticate requests to the Civic AI product API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Civic AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/civicai/KltTMt2hykBBROEz/_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/civicai/KltTMt2hykBBROEz/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/civicai/KltTMt2hykBBROEz/_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/civicai/KltTMt2hykBBROEz/_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/civicai/KltTMt2hykBBROEz/_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/civicai/KltTMt2hykBBROEz/_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/civicai/KltTMt2hykBBROEz/_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/civicai/KltTMt2hykBBROEz/_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/civicai/KltTMt2hykBBROEz/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - Civic AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create org-scoped API keys and authenticate requests to the Civic AI product API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Civic AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.civiccontracts.com/api/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://civicai.mintlify.site/_mintlify/api/og/v2?division=Getting+started\u0026amp;title=Authentication\u0026amp;description=Create+org-scoped+API+keys+and+authenticate+requests+to+the+Civic+AI+product+API.\u0026amp;theme=ff1d1543fadcab8be3a28d48\u0026amp;signature=feaa00820c116ddf331d92986106624fd35269857cccfde5a6d324199a006574\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Authentication - Civic AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create org-scoped API keys and authenticate requests to the Civic AI product API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://civicai.mintlify.site/_mintlify/api/og/v2?division=Getting+started\u0026amp;title=Authentication\u0026amp;description=Create+org-scoped+API+keys+and+authenticate+requests+to+the+Civic+AI+product+API.\u0026amp;theme=ff1d1543fadcab8be3a28d48\u0026amp;signature=feaa00820c116ddf331d92986106624fd35269857cccfde5a6d324199a006574\">\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/civicai/KltTMt2hykBBROEz/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Civic AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#EA580C\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.civiccontracts.com/api/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.civiccontracts.com/#organization\",\"name\":\"Civic AI\",\"url\":\"https://docs.civiccontracts.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/civicai/GLbOrCUSBNPw7l6H/logo/light.svg?fit=max\u0026auto=format\u0026n=GLbOrCUSBNPw7l6H\u0026q=85\u0026s=e1f7e73368077306c4195595401bc5ed\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.civiccontracts.com#website\",\"name\":\"Civic AI\",\"url\":\"https://docs.civiccontracts.com\",\"publisher\":{\"@id\":\"https://docs.civiccontracts.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.civiccontracts.com/api/authentication#webpage\",\"url\":\"https://docs.civiccontracts.com/api/authentication\",\"name\":\"Authentication\",\"description\":\"Create org-scoped API keys and authenticate requests to the Civic AI product API.\",\"dateModified\":\"2026-07-22T06:51:53.549Z\",\"isPartOf\":{\"@id\":\"https://docs.civiccontracts.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.civiccontracts.com/api/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.civiccontracts.com/api/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Getting started\",\"item\":\"https://docs.civiccontracts.com/api/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://docs.civiccontracts.com/api/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.civiccontracts.com/api/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"Create org-scoped API keys and authenticate requests to the Civic AI product API.\",\"url\":\"https://docs.civiccontracts.com/api/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://docs.civiccontracts.com/api/authentication#webpage\"},\"dateModified\":\"2026-07-22T06:51:53.549Z\",\"publisher\":{\"@id\":\"https://docs.civiccontracts.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.civiccontracts.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Civic AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Civic AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/authentication.md","siteName":"Civic AI","nav":{"global":{"anchors":[{"anchor":"Search the app","icon":"magnifying-glass","href":"https://www.civiccontracts.com/search"},{"anchor":"Blog guides","icon":"newspaper","href":"https://www.civiccontracts.com/blog"},{"anchor":"Open data client","icon":"github","href":"https://github.com/puremetall/civiccontracts-data"}]},"tabs":[{"tab":"Help","icon":"book-open","pages":[{"title":"Help","href":""}]},{"tab":"API","icon":"code","groups":[{"group":"Getting started","pages":[{"title":"API overview","description":"Civic AI API documentation — programmatic access to government contract search, awards data, and procurement intelligence.","href":"/api/overview"},{"title":"Authentication","href":"/api/authentication"}]},{"group":"Endpoints","pages":[{"title":"Search contracts","description":"Search open federal, state, and local solicitations in plain English via the Civic AI API.","href":"/api/search-contracts"},{"title":"Search awards","href":"/api/search-awards"},{"title":"Manage pipeline","href":"/api/pipeline"}]}]}]},"basePath":"","title":"Authentication - Civic AI","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}