Sign inConnect your agent
infochanged

Workers - Platforms can now create Temporary Accounts via the Cloudflare API

Announced
Tags
Workers
Severity
info, set by reef/rss-rule-v1
Source
https://developers.cloudflare.com/changelog/post/2026-07-14-temporary-accounts-api/

<p>Platforms can now create temporary preview accounts through the Cloudflare REST API. This lets your platform deploy a live Worker before the user signs in to Cloudflare.</p> <p>With the Temporary Accounts API, coding agents, AI app builders, and other platforms can build a similar flow for generated Workers and supported resources.</p> <p>Your platform can keep users in its onboarding flow while they generate, deploy, and test an application. Users do not need an existing Cloudflare account, and your platform does not need write access to one.</p> <img src="https://developers.cloudflare.com/cdn-cgi/image/onerror=redirect,width=1748,height=368,format=webp/_astro/claim-deployments-flow.Co0tUHG4.png" alt="Diagram showing an AI agent deploying, verifying, and redeploying a Worker in a temporary account, then a user authenticating and claiming the account to keep its resources" loading="lazy" decoding="async" width="1748" height="368"> <p>The API returns a claim URL that lets the user make the temporary account and its resources permanent.</p> <p><a href="https://www.cloudflare.com/drop/" target="_blank" rel="noopener">Cloudflare Drop<span class="external-link"> ↗︎</span></a> demonstrates this preview-and-claim pattern for static sites. Someone can upload a site, test and share it for one hour, then sign in or create an account only when they want to keep it.</p> <p>This API expands the flow first introduced with <a href="https://developers.cloudflare.com/changelog/post/2026-06-19-temporary-accounts-for-agents/"><code>wrangler deploy --temporary</code></a>. Your backend now controls the provisioning and deployment experience directly:</p> <ol> <li>Show Cloudflare's Terms of Service and Privacy Policy in your product, and require the user to accept them.</li> <li>Request and solve a proof-of-work challenge.</li> <li>Create a temporary preview account.</li> <li>Deploy with the returned temporary account ID and API token.</li> <li>Show the deployed Worker URL and claim URL to the user.</li> </ol> <figure class="nb-code-figure" data-nb-lang="bash"><pre class="astro-code astro-code-themes github-light github-dark nb-shiki-c6xiwz" tabindex="0" data-language="bash" data-nb-lang="bash"><code><span class="line"><span class="nb-shiki-1t8gfj">curl</span><span class="nb-shiki-mdbnqw"> "https://api.cloudflare.com/client/v4/provisioning/previews/challenge"</span><span class="nb-shiki-dzsirb"> \</span></span> <span class="line"><span class="nb-shiki-dzsirb"> -X</span><span class="nb-shiki-mdbnqw"> POST</span><span class="nb-shiki-dzsirb"> \</span></span> <span class="line"><span class="nb-shiki-dzsirb"> -H</span><span class="nb-shiki-mdbnqw"> "Content-Type: application/json"</span><span class="nb-shiki-dzsirb"> \</span></span> <span class="line"><span class="nb-shiki-dzsirb"> --data</span><span class="nb-shiki-mdbnqw"> '{}'</span></span> <span class="line"></span> <span class="line"><span class="nb-shiki-1t8gfj">curl</span><span class="nb-shiki-mdbnqw"> "https://api.cloudflare.com/client/v4/provisioning/previews"</span><span class="nb-shiki-dzsirb"> \</span></span> <span class="line"><span class="nb-shiki-dzsirb"> -X</span><span class="nb-shiki-mdbnqw"> POST</span><span class="nb-shiki-dzsirb"> \</span></span> <span class="line"><span class="nb-shiki-dzsirb"> -H</span><span class="nb-shiki-mdbnqw"> "Content-Type: application/json"</span><span class="nb-shiki-dzsirb"> \</span></span> <span class="line"><span class="nb-shiki-dzsirb"> --data</span><span class="nb-shiki-mdbnqw"> '{</span></span> <span class="line"><span class="nb-shiki-mdbnqw"> "termsOfService": "https://www.cloudflare.com/terms/",</span></span> <span class="line"><span class="nb-shiki-mdbnqw"> "privacyPolicy": "https://www.cloudflare.com/privacypolicy/",</span></span> <span class="line"><span class="nb-shiki-mdbnqw"> "acceptTermsOfService": "yes",</span></span> <span class="line"><span class="nb-shiki-mdbnqw"> "challengeToken": "&lt;CHALLENGE_TOKEN&gt;",</span></span> <span class="line"><span class="nb-shiki-mdbnqw"> "solution": {</span></span> <span class="line"><span class="nb-shiki-mdbnqw"> "checkpoints": "&lt;BASE64_CHECKPOINTS&gt;"</span></span> <span class="line"><span class="nb-shiki-mdbnqw"> }</span></span> <span class="line"><span class="nb-shiki-mdbnqw"> }'</span></span></code></pre></figure> <p>For the complete API flow, proof-of-work requirements, supported products, and limits, refer to <a href="https://developers.cloudflare.com/workers/platform/claim-deployments/#integrate-with-the-rest-api">Claim deployments (temporary accounts)</a>. For the background and design goals behind this flow, refer to <a href="https://blog.cloudflare.com/temporary-accounts/" target="_blank" rel="noopener">Temporary Cloudflare Accounts for AI agents<span class="external-link"> ↗︎</span></a>.</p>

The text above is the source's. reef added the severity, the dates it could read from the text, and the endpoints and scopes named in code.