Authenticate and access the Laravel Cloud API using tokens and credentials.
The Laravel Cloud API uses token-based authentication. You can generate an API token from your Laravel Cloud organization settings. Once you have your token, include it in the Authorization header of your API requests as follows:
You can manage your API tokens from your Laravel Cloud organization settings. Navigate to the API tokens section to create, view, and revoke your tokens.
Navigate to your Laravel Cloud organization settings
Click API tokens in the sidebar
Click the Create API Token button
Enter a descriptive name for your token to help you identify its purpose
Select an expiration period for the token
Click Create to generate your new API token
Copy your API token immediately after you create it. For security reasons, Laravel Cloud displays the token only once. Store it securely and never share it publicly.
To revoke an API token that you no longer need or that may have been compromised, follow these steps:
Navigate to your Laravel Cloud organization settings
Click API tokens in the sidebar
Find the API token you want to revoke in the list
Click the Revoke button next to the token
Confirm your password when prompted
Click Revoke API token to permanently delete the token
You can’t restore a revoked API token. Any applications using the token immediately lose access to the API. If you need continued access, update your applications with a new token before you revoke the old one.
API tokens have configurable expiration periods to help maintain security. When creating a new token, you can choose from the following expiration options:
1 month: recommended for short-term projects or testing
6 months: a good balance between security and convenience
1 year: suitable for long-term integrations
Once a token expires, it’s no longer valid for API requests, and you’ll need to generate a new one. Make sure to update your applications with the new token before the old one expires.
By default, an API token has full access to your organization and can interact with every endpoint, application, and environment. To follow the principle of least privilege, you can scope a token down so it only has the access it needs. Scoping is optional, and you configure it when you create a token.Laravel Cloud provides two independent controls for scoping a token:
Permissions limit which API endpoints the token can access.
Resource scoping limits which applications and environments the token can interact with.
You can apply either control on its own or combine them. A token’s scope is separate from user roles and permissions. A token does not inherit or mirror the access of the user who created it, so you must define its scope explicitly.
Permissions determine which API endpoints a token can call. When you assign permissions, the token can perform only the actions you select, and Cloud rejects requests to any other endpoint.For example, you might grant a token permission to view deployments and trigger new ones while withholding the ability to manage environment variables or delete resources. That combination lets you issue a token for a continuous integration pipeline
that can deploy your application without exposing your secrets.
Resource scoping determines which applications and environments a token can interact with. When you scope a token to specific resources, Cloud rejects requests to any application or environment outside that scope.Resource scoping and permissions work together. For example, you can create a token that has permission to trigger deployments and is scoped to only your staging environment, so the token can deploy to staging but never to production.
Create a separate, tightly scoped token for each integration or automation rather than reusing one broadly scoped token. If a token is ever compromised, it can reach only the endpoints and resources you granted, and you can revoke it without disrupting your other integrations.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Laravel Cloud","colors":{"primary":"#0057FF","light":"#71A8FF","dark":"#0057FF"},"logo":{"light":"https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/logo/laravel-logo-light.png?fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=f508d8e9c4e3c842e83d055cc376daa1","dark":"https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/logo/laravel-logo-dark.png?fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=fcfe00a4914f5e3ad791b606c3e75795","href":"https://cloud.laravel.com/"},"favicon":"https://mintcdn.com/cloud/83RcCEaWR6PzmMFO/favicons/favicon-dark.png?fit=max\u0026auto=format\u0026n=83RcCEaWR6PzmMFO\u0026q=85\u0026s=edd5608e08efe6ae6a4ca1b44232d2af","navbar":{"links":[],"primary":{"type":"button","label":"Get Started","href":"https://cloud.laravel.com"}},"footer":{"socials":{"x":"https://x.com/laravel","github":"https://github.com/laravel","discord":"https://discord.gg/laravel","youtube":"https://www.youtube.com/laravelphp"}},"seo":{"metatags":{"robots":"noindex"}},"integrations":{"fathom":{"siteId":"KZRWMQWT"}},"banner":{"content":"Deploy Next and Nuxt frontends alongside your Laravel apps, all from one unified platform. \u003ca href='https://laravel.com/blog/deploy-nextjs-and-nuxt-apps-on-laravel-cloud'>Learn more →\u003c/a>","dismissible":true},"contextual":{"options":["copy","chatgpt","claude","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/laravel"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cloud","hasAudioNarration":false,"actualSubdomain":"cloud","customDomains":["cloud.laravel.com"],"gitSource":{"type":"github","owner":"laravel","repo":"cloud-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae9f14069138fe59fdae23a","collectionId":"a343b7a4-bdfc-4535-aadd-33c37e481816","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae9f14069138fe59fdae23a"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae9f14069138fe59fdae23a","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"default","tag":"API","count":130},{"language":"default","tag":"Endpoints","count":126},{"language":"default","tag":"Documentation","count":60},{"language":"default","tag":"Knowledge Base","count":21},{"language":"default","tag":"Basics","count":17},{"language":"default","tag":"Environments","count":15},{"language":"default","tag":"Instances","count":14},{"language":"default","tag":"Private Cloud","count":10},{"language":"default","tag":"Caches","count":9},{"language":"default","tag":"Deploy guides","count":8}]},"assistantConfig":{"enableAskAiButton":true,"enableAskAiSearchBar":false,"deflection":{"enabled":false,"showHelpButton":false}},"basePath":"/cloud/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"/* latin-ext */\n@font-face {\n font-family: 'Instrument Sans';\n font-style: normal;\n font-weight: 400 500;\n font-stretch: 100%;\n font-display: swap;\n src: url(/cloud/docs/_mintlify/assets/fonts/google/s/instrumentsans/v4/pxiTypc9vsFDm051Uf6KVwgkfoSxQ0GsQv8ToedPibnr0She1YmV.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Instrument Sans';\n font-style: normal;\n font-weight: 400 500;\n font-stretch: 100%;\n font-display: swap;\n src: url(/cloud/docs/_mintlify/assets/fonts/google/s/instrumentsans/v4/pxiTypc9vsFDm051Uf6KVwgkfoSxQ0GsQv8ToedPibnr0SZe1Q.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300 600;\n font-display: swap;\n src: url(/cloud/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300 600;\n font-display: swap;\n src: url(/cloud/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300 600;\n font-display: swap;\n src: url(/cloud/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300 600;\n font-display: swap;\n src: url(/cloud/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300 600;\n font-display: swap;\n src: url(/cloud/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300 600;\n font-display: swap;\n src: url(/cloud/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\nbody{font-family:\"Instrument Sans\";font-weight:400}h1,h2,h3,h4{font-family:\"Instrument Sans\"!important;font-weight:500!important;letter-spacing:-0.025em!important}code,pre{font-family:'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace}b,strong,.font-semibold{font-weight:500!important}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500!important;color:rgb(var(--primary))!important}.dark .prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:rgb(var(--primary-light))!important}.table-auto{table-layout:auto}table.table-fixed{table-layout:fixed!important}table{table-layout:auto!important;display:table}th{text-align:left}td>p.icon{margin:0}.short{p {\n margin-top: 0;\n margin-bottom: 0;\n }}.pr-16{padding-right:4em}.max-w-none{max-width:none!important}.align-top{vertical-align:top}.italic{font-style:italic}.pr-20{padding-right:5rem}.max-h-50vh{max-height:50vh}.select-arrow{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e\");background-size:1.5em 1.5em;background-position:right 0.5rem center;background-repeat:no-repeat}#banner a{color:rgb(var(--white))!important;white-space:nowrap}#banner>div>p{white-space:normal;padding-top:0.125rem;padding-bottom:0.125rem;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;line-clamp:3;-webkit-line-clamp:3}#banner:has(>button){padding-right:2.5rem}@media screen and (min-width: 768px){#banner{height:auto}#banner:has(>button){padding-left:2.5rem}}#topbar-cta-button a>span:first-child{background-color:rgb(22 25 30)}.dark #topbar-cta-button a>span:first-child{background-color:rgb(255 255 255)}.dark #topbar-cta-button a,.dark #topbar-cta-button a *{color:rgb(22 25 30)!important}"}],"page":{"pagePath":"api/authentication","slug":"/api/authentication","pageMetadata":{"title":"API authentication for Laravel Cloud","sidebarTitle":"Authentication","description":"Authenticate and access the Laravel Cloud API using tokens and credentials.","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: \"Authenticate and access the Laravel Cloud API using tokens and credentials.\"\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`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedImage,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The Laravel Cloud API uses token-based authentication. You can generate an API token from your Laravel Cloud organization settings. Once you have your token, include it in the `,_jsx(_components.code,{children:`Authorization`}),` header of your API requests as follows:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,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:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Authorization`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer YOUR_API_TOKEN`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`managing-api-tokens`,children:`Managing API tokens`}),`\n`,_jsx(_components.p,{children:`You can manage your API tokens from your Laravel Cloud organization settings. Navigate to the API tokens section to create, view, and revoke your tokens.`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/cloud/83RcCEaWR6PzmMFO/images/api/api-tokens.png?fit=max\u0026auto=format\u0026n=83RcCEaWR6PzmMFO\u0026q=85\u0026s=2ced7acac20f7c872ca1cf12dc5c8066`,alt:`API Tokens management interface in Laravel Cloud settings`,\"data-og-width\":`1192`,width:`1192`,\"data-og-height\":`568`,height:`568`,\"data-path\":`images/api/api-tokens.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cloud/83RcCEaWR6PzmMFO/images/api/api-tokens.png?w=280\u0026fit=max\u0026auto=format\u0026n=83RcCEaWR6PzmMFO\u0026q=85\u0026s=8245903848110235c46fc3271482f7a4 280w, https://mintcdn.com/cloud/83RcCEaWR6PzmMFO/images/api/api-tokens.png?w=560\u0026fit=max\u0026auto=format\u0026n=83RcCEaWR6PzmMFO\u0026q=85\u0026s=02fbea5d31269d04089f42479e81fa22 560w, https://mintcdn.com/cloud/83RcCEaWR6PzmMFO/images/api/api-tokens.png?w=840\u0026fit=max\u0026auto=format\u0026n=83RcCEaWR6PzmMFO\u0026q=85\u0026s=57aa03abf7bc44c91cc5c9ef25c4bd82 840w, https://mintcdn.com/cloud/83RcCEaWR6PzmMFO/images/api/api-tokens.png?w=1100\u0026fit=max\u0026auto=format\u0026n=83RcCEaWR6PzmMFO\u0026q=85\u0026s=9db2c08bb21b533e7b279c5c3dfcaf16 1100w, https://mintcdn.com/cloud/83RcCEaWR6PzmMFO/images/api/api-tokens.png?w=1650\u0026fit=max\u0026auto=format\u0026n=83RcCEaWR6PzmMFO\u0026q=85\u0026s=27513093fa3974cc9d7e0a8deb57ab88 1650w, https://mintcdn.com/cloud/83RcCEaWR6PzmMFO/images/api/api-tokens.png?w=2500\u0026fit=max\u0026auto=format\u0026n=83RcCEaWR6PzmMFO\u0026q=85\u0026s=4b8f2c6a927917a6804a6709a79318d5 2500w`}),`\n`,_jsx(Heading,{level:`4`,id:`create-an-api-token`,children:`Create an API token`}),`\n`,_jsx(_components.p,{children:`To create a new API token, follow these steps:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Navigate to your Laravel Cloud organization settings`}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`API tokens`}),` in the sidebar`]}),`\n`,_jsxs(_components.li,{children:[`Click the `,_jsx(_components.strong,{children:`Create API Token`}),` button`]}),`\n`,_jsx(_components.li,{children:`Enter a descriptive name for your token to help you identify its purpose`}),`\n`,_jsx(_components.li,{children:`Select an expiration period for the token`}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Create`}),` to generate your new API token`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Copy your API token immediately after you create it. For security reasons, Laravel Cloud displays the token only once. Store it securely and never share it publicly.`})}),`\n`,_jsx(Heading,{level:`4`,id:`revoke-an-api-token`,children:`Revoke an API token`}),`\n`,_jsx(_components.p,{children:`To revoke an API token that you no longer need or that may have been compromised, follow these steps:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Navigate to your Laravel Cloud organization settings`}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`API tokens`}),` in the sidebar`]}),`\n`,_jsx(_components.li,{children:`Find the API token you want to revoke in the list`}),`\n`,_jsxs(_components.li,{children:[`Click the `,_jsx(_components.strong,{children:`Revoke`}),` button next to the token`]}),`\n`,_jsx(_components.li,{children:`Confirm your password when prompted`}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Revoke API token`}),` to permanently delete the token`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`You can’t restore a revoked API token. Any applications using the token immediately lose access to the API. If you need continued access, update your applications with a new token before you revoke the old one.`})}),`\n`,_jsx(Heading,{level:`4`,id:`api-token-expiration`,children:`API token expiration`}),`\n`,_jsx(_components.p,{children:`API tokens have configurable expiration periods to help maintain security. When creating a new token, you can choose from the following expiration options:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`1 month:`}),` recommended for short-term projects or testing`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`6 months:`}),` a good balance between security and convenience`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`1 year:`}),` suitable for long-term integrations`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Once a token expires, it’s no longer valid for API requests, and you’ll need to generate a new one. Make sure to update your applications with the new token before the old one expires.`}),`\n`,_jsx(Heading,{level:`3`,id:`scoping-api-tokens`,children:`Scoping API tokens`}),`\n`,_jsx(_components.p,{children:`By default, an API token has full access to your organization and can interact with every endpoint, application, and environment. To follow the principle of least privilege, you can scope a token down so it only has the access it needs. Scoping is optional, and you configure it when you create a token.`}),`\n`,_jsx(_components.p,{children:`Laravel Cloud provides two independent controls for scoping a token:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Permissions`}),` limit which API endpoints the token can access.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Resource scoping`}),` limits which applications and environments the token can interact with.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`You can apply either control on its own or combine them. A token’s scope is separate from user roles and permissions. A token does not inherit or mirror the access of the user who created it, so you must define its scope explicitly.`}),`\n`,_jsx(Heading,{level:`4`,id:`permissions`,children:`Permissions`}),`\n`,_jsx(_components.p,{children:`Permissions determine which API endpoints a token can call. When you assign permissions, the token can perform only the actions you select, and Cloud rejects requests to any other endpoint.`}),`\n`,_jsx(_components.p,{children:`For example, you might grant a token permission to view deployments and trigger new ones while withholding the ability to manage environment variables or delete resources. That combination lets you issue a token for a continuous integration pipeline\nthat can deploy your application without exposing your secrets.`}),`\n`,_jsx(Heading,{level:`4`,id:`resource-scoping`,children:`Resource scoping`}),`\n`,_jsx(_components.p,{children:`Resource scoping determines which applications and environments a token can interact with. When you scope a token to specific resources, Cloud rejects requests to any application or environment outside that scope.`}),`\n`,_jsx(_components.p,{children:`Resource scoping and permissions work together. For example, you can create a token that has permission to trigger deployments and is scoped to only your staging environment, so the token can deploy to staging but never to production.`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Create a separate, tightly scoped token for each integration or automation rather than reusing one broadly scoped token. If a token is ever compromised, it can reach only the endpoints and resources you granted, and you can revoke it without disrupting your other integrations.`})})]})}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":"API authentication for Laravel Cloud","sidebarTitle":"Authentication","description":"Authenticate and access the Laravel Cloud API using tokens and credentials.","href":"/api/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Managing API tokens","slug":"managing-api-tokens","depth":3,"children":[]},{"title":"Create an API token","slug":"create-an-api-token","depth":4,"children":[]},{"title":"Revoke an API token","slug":"revoke-an-api-token","depth":4,"children":[]},{"title":"API token expiration","slug":"api-token-expiration","depth":4,"children":[]},{"title":"Scoping API tokens","slug":"scoping-api-tokens","depth":3,"children":[]},{"title":"Permissions","slug":"permissions","depth":4,"children":[]},{"title":"Resource scoping","slug":"resource-scoping","depth":4,"children":[]}],"codeExamples":{}},"jsLinks":["/cloud/docs/_mintlify/custom/cloud/412bdbfbeb58e5da/gtag.js","/cloud/docs/_mintlify/custom/cloud/1a6e9e638535d772/plain.js","/cloud/docs/_mintlify/custom/cloud/f2ef70ddf7841ac3/rudderstack.js","/cloud/docs/_mintlify/custom/cloud/d55d837bfb92372f/scripts/fetch-ips.js"],"subdomain":"cloud","siteName":"Laravel Cloud","title":"API authentication for Laravel Cloud - Laravel Cloud","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-15T11:58:30.591Z","originalFileLocation":"api/authentication.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Authenticate and access the Laravel Cloud API using tokens and credentials.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Laravel Cloud\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_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=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"API authentication for Laravel Cloud - Laravel Cloud\">\u003cmeta data-mint-head property=\"og:description\" content=\"Authenticate and access the Laravel Cloud API using tokens and credentials.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Laravel Cloud\">\u003cmeta data-mint-head property=\"og:url\" content=\"/cloud/docs/api/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cloud.mintlify.app/_mintlify/api/og/v2?division=Overview\u0026amp;title=API+authentication+for+Laravel+Cloud\u0026amp;description=Authenticate+and+access+the+Laravel+Cloud+API+using+tokens+and+credentials.\u0026amp;theme=8d4b254afde5db5ac1120ea2\u0026amp;signature=b38e6adbdd0ce9ab8c4adce4ec26bd81595c185f2f6739d69599f7eac07ca582\">\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=\"API authentication for Laravel Cloud - Laravel Cloud\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Authenticate and access the Laravel Cloud API using tokens and credentials.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cloud.mintlify.app/_mintlify/api/og/v2?division=Overview\u0026amp;title=API+authentication+for+Laravel+Cloud\u0026amp;description=Authenticate+and+access+the+Laravel+Cloud+API+using+tokens+and+credentials.\u0026amp;theme=8d4b254afde5db5ac1120ea2\u0026amp;signature=b38e6adbdd0ce9ab8c4adce4ec26bd81595c185f2f6739d69599f7eac07ca582\">\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=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Laravel Cloud\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0057FF\">\u003clink data-mint-head rel=\"canonical\" href=\"/cloud/docs/api/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/cloud/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cloud/docs/api/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://cloud.laravel.com/#organization\",\"name\":\"Laravel Cloud\",\"url\":\"https://cloud.laravel.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/logo/laravel-logo-light.png?fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=f508d8e9c4e3c842e83d055cc376daa1\"}},{\"@type\":\"WebSite\",\"@id\":\"/cloud/docs#website\",\"name\":\"Laravel Cloud\",\"url\":\"/cloud/docs\",\"publisher\":{\"@id\":\"https://cloud.laravel.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"/cloud/docs/api/authentication#webpage\",\"url\":\"/cloud/docs/api/authentication\",\"name\":\"API authentication for Laravel Cloud\",\"description\":\"Authenticate and access the Laravel Cloud API using tokens and credentials.\",\"dateModified\":\"2026-10-15T11:58:30.591Z\",\"isPartOf\":{\"@id\":\"/cloud/docs#website\"},\"breadcrumb\":{\"@id\":\"/cloud/docs/api/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"/cloud/docs/api/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Overview\",\"item\":\"/cloud/docs/api/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API authentication for Laravel Cloud\",\"item\":\"/cloud/docs/api/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"/cloud/docs/api/authentication#article\",\"headline\":\"API authentication for Laravel Cloud\",\"name\":\"API authentication for Laravel Cloud\",\"description\":\"Authenticate and access the Laravel Cloud API using tokens and credentials.\",\"url\":\"/cloud/docs/api/authentication\",\"mainEntityOfPage\":{\"@id\":\"/cloud/docs/api/authentication#webpage\"},\"dateModified\":\"2026-10-15T11:58:30.591Z\",\"publisher\":{\"@id\":\"https://cloud.laravel.com/#organization\"},\"isPartOf\":{\"@id\":\"/cloud/docs#website\"}}]}\u003c/script>","siteName":"Laravel Cloud","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/laravel"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/intro"}]},{"tab":"Knowledge Base","pages":[{"title":"Knowledge Base","href":"/knowledge-base/intro"}]},{"tab":"API","icon":"square-terminal","groups":[{"group":"Overview","pages":[{"title":"Laravel Cloud API","sidebarTitle":"Introduction","description":"Use the Laravel Cloud API to manage applications, environments, and resources programmatically.","href":"/api/introduction"},{"title":"API authentication for Laravel Cloud","sidebarTitle":"Authentication","href":"/api/authentication"}]},{"group":"CLI","pages":[{"title":"Laravel Cloud CLI","sidebarTitle":"Laravel Cloud CLI","description":"Deploy and manage your Laravel Cloud applications from the command line.","href":"/api/cli"},{"title":"Stripe Projects","sidebarTitle":"Stripe Projects CLI","href":"/api/stripe-projects"}]},{"group":"Endpoints","boost":0.5,"pages":[{"group":"Applications","pages":[{"title":"List applications","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /applications","href":"/api/applications/list-applications"},{"title":"Create application","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /applications","href":"/api/applications/create-application"},{"title":"Get application","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /applications/{application}","href":"/api/applications/get-application"},{"title":"Delete application","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /applications/{application}","href":"/api/applications/delete-application"},{"title":"Update application","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /applications/{application}","href":"/api/applications/update-application"},{"title":"Upload application avatar","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /applications/{application}/avatar","href":"/api/applications/upload-application-avatar"},{"title":"Delete application avatar","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /applications/{application}/avatar","href":"/api/applications/delete-application-avatar"}]},{"group":"Background Processes","pages":[{"title":"List background processes","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /instances/{instance}/background-processes","href":"/api/background-processes/list-background-processes"},{"title":"Create background process","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /instances/{instance}/background-processes","href":"/api/background-processes/create-background-process"},{"title":"Get background process","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /background-processes/{backgroundProcess}","href":"/api/background-processes/get-background-process"},{"title":"Delete background process","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /background-processes/{backgroundProcess}","href":"/api/background-processes/delete-background-process"},{"title":"Update background process","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /background-processes/{backgroundProcess}","href":"/api/background-processes/update-background-process"}]},{"group":"Bucket Keys","pages":[{"title":"List object storage keys","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /buckets/{filesystem}/keys","href":"/api/bucket-keys/list-object-storage-keys"},{"title":"Create object storage key","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /buckets/{filesystem}/keys","href":"/api/bucket-keys/create-object-storage-key"},{"title":"Get object storage key","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /bucket-keys/{filesystemKey}","href":"/api/bucket-keys/get-object-storage-key"},{"title":"Delete object storage key","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /bucket-keys/{filesystemKey}","href":"/api/bucket-keys/delete-object-storage-key"},{"title":"Update object storage key","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /bucket-keys/{filesystemKey}","href":"/api/bucket-keys/update-object-storage-key"}]},{"group":"Caches","pages":[{"title":"List all available cache types with their configuration options","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /caches/types","href":"/api/caches/list-all-available-cache-types-with-their-configuration-options"},{"title":"List caches","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /caches","href":"/api/caches/list-caches"},{"title":"Create cache","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /caches","href":"/api/caches/create-cache"},{"title":"Get cache","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /caches/{cache}","href":"/api/caches/get-cache"},{"title":"Delete cache","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /caches/{cache}","href":"/api/caches/delete-cache"},{"title":"Update cache","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /caches/{cache}","href":"/api/caches/update-cache"},{"title":"Get cache metrics","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /caches/{cache}/metrics","href":"/api/caches/get-cache-metrics"}]},{"group":"Commands","pages":[{"title":"List commands","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /environments/{environment}/commands","href":"/api/commands/list-commands"},{"title":"Run command","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/commands","href":"/api/commands/run-command"},{"title":"Get command","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /commands/{command}","href":"/api/commands/get-command"}]},{"group":"Database Clusters","pages":[{"title":"List database types","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases/types","href":"/api/database-clusters/list-database-types"},{"title":"List database presets","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases/presets","href":"/api/database-clusters/list-database-presets"},{"title":"List database clusters","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases/clusters","href":"/api/database-clusters/list-database-clusters"},{"title":"Create database cluster","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /databases/clusters","href":"/api/database-clusters/create-database-cluster"},{"title":"Get database cluster","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases/clusters/{database}","href":"/api/database-clusters/get-database-cluster"},{"title":"Delete database cluster","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /databases/clusters/{database}","href":"/api/database-clusters/delete-database-cluster"},{"title":"Update database cluster","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /databases/clusters/{database}","href":"/api/database-clusters/update-database-cluster"},{"title":"Get database cluster metrics","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases/clusters/{database}/metrics","href":"/api/database-clusters/get-database-cluster-metrics"}]},{"group":"Database Restores","pages":[{"title":"Create a database restore","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /databases/clusters/{database}/restore","href":"/api/database-restores/create-a-database-restore"}]},{"group":"Database Snapshots","pages":[{"title":"List database snapshots","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases/clusters/{database}/snapshots","href":"/api/database-snapshots/list-database-snapshots"},{"title":"Create a database snapshot","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /databases/clusters/{database}/snapshots","href":"/api/database-snapshots/create-a-database-snapshot"},{"title":"Get a database snapshot","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /database-snapshots/{databaseSnapshot}","href":"/api/database-snapshots/get-a-database-snapshot"},{"title":"Delete a database snapshot","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /database-snapshots/{databaseSnapshot}","href":"/api/database-snapshots/delete-a-database-snapshot"}]},{"group":"Databases","pages":[{"title":"List databases","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases/clusters/{database}/databases","href":"/api/databases/list-databases"},{"title":"Create a database","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /databases/clusters/{database}/databases","href":"/api/databases/create-a-database"},{"title":"Get a database","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases/clusters/{database}/databases/{schema}","href":"/api/databases/get-a-database"},{"title":"Delete a database","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /databases/clusters/{database}/databases/{schema}","href":"/api/databases/delete-a-database"}]},{"group":"Databases (Legacy)","pages":[{"title":"List databases","deprecated":true,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases","href":"/api/databases-legacy/list-databases"},{"title":"Create database","deprecated":true,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /databases","href":"/api/databases-legacy/create-database"},{"title":"Get database","deprecated":true,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases/{database}","href":"/api/databases-legacy/get-database"},{"title":"Delete database","deprecated":true,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /databases/{database}","href":"/api/databases-legacy/delete-database"},{"title":"Update database","deprecated":true,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /databases/{database}","href":"/api/databases-legacy/update-database"}]},{"group":"Dedicated Clusters","pages":[{"title":"List dedicated clusters","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /dedicated-clusters","href":"/api/dedicated-clusters/list-dedicated-clusters"}]},{"group":"Deployments","pages":[{"title":"List deployments","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /environments/{environment}/deployments","href":"/api/deployments/list-deployments"},{"title":"Initiate deployment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/deployments","href":"/api/deployments/initiate-deployment"},{"title":"Get deployment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /deployments/{deployment}","href":"/api/deployments/get-deployment"},{"title":"Get deployment logs","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /deployments/{deployment}/logs","href":"/api/deployments/get-deployment-logs"}]},{"group":"Domains","pages":[{"title":"List domains","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /environments/{environment}/domains","href":"/api/domains/list-domains"},{"title":"Create domain","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/domains","href":"/api/domains/create-domain"},{"title":"Get domain","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /domains/{domain}","href":"/api/domains/get-domain"},{"title":"Delete domain","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /domains/{domain}","href":"/api/domains/delete-domain"},{"title":"Update domain","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /domains/{domain}","href":"/api/domains/update-domain"},{"title":"Verify a domain","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /domains/{domain}/verify","href":"/api/domains/verify-a-domain"}]},{"group":"Edge Networks","pages":[{"title":"List edge networks","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /edge-networks","href":"/api/edge-networks/list-edge-networks"}]},{"group":"Email","pages":[{"title":"Attach Resend to environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/resend","href":"/api/email/attach-resend-to-environment"},{"title":"Detach Resend from environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /environments/{environment}/resend","href":"/api/email/detach-resend-from-environment"},{"title":"Update environment Resend sender","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /environments/{environment}/resend","href":"/api/email/update-environment-resend-sender"},{"title":"List reusable sending keys","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /environments/{environment}/resend/keys","href":"/api/email/list-reusable-sending-keys"},{"title":"List sending domains","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /resend/domains","href":"/api/email/list-sending-domains"}]},{"group":"Environments","pages":[{"title":"List environments","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /applications/{application}/environments","href":"/api/environments/list-environments"},{"title":"Create environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /applications/{application}/environments","href":"/api/environments/create-environment"},{"title":"List environment logs","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /environments/{environment}/logs","href":"/api/environments/list-environment-logs"},{"title":"Get environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /environments/{environment}","href":"/api/environments/get-environment"},{"title":"Delete environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /environments/{environment}","href":"/api/environments/delete-environment"},{"title":"Update environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /environments/{environment}","href":"/api/environments/update-environment"},{"title":"Start environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/start","href":"/api/environments/start-environment"},{"title":"Stop environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/stop","href":"/api/environments/stop-environment"},{"title":"Purge edge cache","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/purge-edge-cache","href":"/api/environments/purge-edge-cache"},{"title":"Update vanity domain","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json put /environments/{environment}/vanity-domain","href":"/api/environments/update-vanity-domain"},{"title":"Add environment variables","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/variables","href":"/api/environments/add-environment-variables"},{"title":"Delete environment variables","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/variables/delete","href":"/api/environments/delete-environment-variables"},{"title":"Get environment metrics","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /environments/{environment}/metrics","href":"/api/environments/get-environment-metrics"},{"title":"Attach secrets to environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/secrets","href":"/api/environments/attach-secrets-to-environment"},{"title":"Detach secret from environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /environments/{environment}/secrets/{secret}","href":"/api/environments/detach-secret-from-environment"}]},{"group":"Instances","pages":[{"title":"List instances","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /environments/{environment}/instances","href":"/api/instances/list-instances"},{"title":"Create instance","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/instances","href":"/api/instances/create-instance"},{"title":"List instance sizes","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /instances/sizes","href":"/api/instances/list-instance-sizes"},{"title":"Get instance","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /instances/{instance}","href":"/api/instances/get-instance"},{"title":"Delete instance","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /instances/{instance}","href":"/api/instances/delete-instance"},{"title":"Update instance","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /instances/{instance}","href":"/api/instances/update-instance"},{"title":"Pause a managed queue","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /instances/{instance}/pause","href":"/api/instances/pause-a-managed-queue"},{"title":"Resume a managed queue","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /instances/{instance}/resume","href":"/api/instances/resume-a-managed-queue"},{"title":"Purge a managed queue","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /instances/{instance}/purge","href":"/api/instances/purge-a-managed-queue"},{"title":"Set the default managed queue","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /instances/{instance}/default","href":"/api/instances/set-the-default-managed-queue"},{"title":"List managed queue failed jobs","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /instances/{instance}/failed-jobs","href":"/api/instances/list-managed-queue-failed-jobs"},{"title":"Delete managed queue failed jobs","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /instances/{instance}/failed-jobs","href":"/api/instances/delete-managed-queue-failed-jobs"},{"title":"Retry a managed queue failed job","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /instances/{instance}/failed-jobs/{jobId}/retry","href":"/api/instances/retry-a-managed-queue-failed-job"},{"title":"Delete a managed queue failed job","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /instances/{instance}/failed-jobs/{jobId}","href":"/api/instances/delete-a-managed-queue-failed-job"}]},{"group":"Meta","pages":[{"title":"Get organization","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /meta/organization","href":"/api/meta/get-organization"},{"title":"List regions","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /meta/regions","href":"/api/meta/list-regions"}]},{"group":"Object Storage Buckets","pages":[{"title":"List object storage buckets","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /buckets","href":"/api/object-storage-buckets/list-object-storage-buckets"},{"title":"Create object storage bucket","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /buckets","href":"/api/object-storage-buckets/create-object-storage-bucket"},{"title":"Get object storage bucket","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /buckets/{filesystem}","href":"/api/object-storage-buckets/get-object-storage-bucket"},{"title":"Delete object storage bucket","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /buckets/{filesystem}","href":"/api/object-storage-buckets/delete-object-storage-bucket"},{"title":"Update object storage bucket","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /buckets/{filesystem}","href":"/api/object-storage-buckets/update-object-storage-bucket"}]},{"group":"Scheduled Commands","pages":[{"title":"List scheduled commands","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /instances/{instance}/scheduled-commands","href":"/api/scheduled-commands/list-scheduled-commands"},{"title":"Create scheduled command","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /instances/{instance}/scheduled-commands","href":"/api/scheduled-commands/create-scheduled-command"},{"title":"Get scheduled command","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /scheduled-commands/{scheduledCommand}","href":"/api/scheduled-commands/get-scheduled-command"},{"title":"Delete scheduled command","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /scheduled-commands/{scheduledCommand}","href":"/api/scheduled-commands/delete-scheduled-command"},{"title":"Update scheduled command","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /scheduled-commands/{scheduledCommand}","href":"/api/scheduled-commands/update-scheduled-command"}]},{"group":"Secrets","pages":[{"title":"Get secrets public key","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /secrets/public-key","href":"/api/secrets/get-secrets-public-key"},{"title":"List secrets","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /secrets","href":"/api/secrets/list-secrets"},{"title":"Create secret","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /secrets","href":"/api/secrets/create-secret"},{"title":"Delete secret","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /secrets/{secret}","href":"/api/secrets/delete-secret"},{"title":"Update secret","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /secrets/{secret}","href":"/api/secrets/update-secret"}]},{"group":"Usage","pages":[{"title":"Get usage","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /usage","href":"/api/usage/get-usage"}]},{"group":"WebSocket Applications","pages":[{"title":"List WebSocket applications","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /websocket-servers/{websocketServer}/applications","href":"/api/websocket-applications/list-websocket-applications"},{"title":"Create WebSocket application","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /websocket-servers/{websocketServer}/applications","href":"/api/websocket-applications/create-websocket-application"},{"title":"Get WebSocket application","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /websocket-applications/{websocketApplication}","href":"/api/websocket-applications/get-websocket-application"},{"title":"Delete WebSocket application","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /websocket-applications/{websocketApplication}","href":"/api/websocket-applications/delete-websocket-application"},{"title":"Update WebSocket application","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /websocket-applications/{websocketApplication}","href":"/api/websocket-applications/update-websocket-application"},{"title":"Get WebSocket application metrics","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /websocket-applications/{websocketApplication}/metrics","href":"/api/websocket-applications/get-websocket-application-metrics"}]},{"group":"WebSocket Clusters","pages":[{"title":"List WebSocket cluster types","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /websocket-servers/types","href":"/api/websocket-clusters/list-websocket-cluster-types"},{"title":"List WebSocket clusters","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /websocket-servers","href":"/api/websocket-clusters/list-websocket-clusters"},{"title":"Create WebSocket cluster","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /websocket-servers","href":"/api/websocket-clusters/create-websocket-cluster"},{"title":"Get WebSocket cluster","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /websocket-servers/{websocketServer}","href":"/api/websocket-clusters/get-websocket-cluster"},{"title":"Delete WebSocket cluster","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /websocket-servers/{websocketServer}","href":"/api/websocket-clusters/delete-websocket-cluster"},{"title":"Update WebSocket cluster","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /websocket-servers/{websocketServer}","href":"/api/websocket-clusters/update-websocket-cluster"},{"title":"Get WebSocket cluster metrics","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /websocket-servers/{websocketServer}/metrics","href":"/api/websocket-clusters/get-websocket-cluster-metrics"}]}]}]}]},"basePath":"","title":"API authentication for Laravel Cloud - Laravel Cloud","buildId":"dpl_9yaRmq8qi7yyMZn9oEWmKEdYMvGZ","deploymentId":"dpl_9yaRmq8qi7yyMZn9oEWmKEdYMvGZ","dynamics":["10e4515597","a74be98ba7"],"chunks":["BannerMarkdown-Cid2x0Kq.js","dist-CpdUkuDP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-BZ8NiN2w.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","zoom-image-lightbox-BB8grMv9.js","lightbox-handle-r17bVUz3.js"]}