Create a Vercel deployment via the Vercel API or deploy hook

domain: vercel.com/docs · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. For deploy hooks: create a hook in the Vercel project Settings > Git > Deploy Hooks, specifying a name and target branch; Vercel provides a unique URL
  2. Trigger via POST to the deploy hook URL with an empty body or optional JSON body containing 'buildCache: false' to bypass cache; no authentication header is needed (URL is the secret)
  3. For the REST API: create a deployment via POST to 'https://api.vercel.com/v13/deployments' with header 'Authorization: Bearer YOUR_TOKEN'
  4. Include in the JSON body: 'name' (project name), 'gitSource' object with 'type', 'repoId', and 'ref', plus 'projectId' to link to an existing project
  5. Poll GET '/v13/deployments/{deploymentId}' checking the 'readyState' field for 'READY', 'ERROR', or 'CANCELED'

Known gotchas

Related routes

Deploy a preview and promote to production on Vercel via API/CLI
vercel.com · 4 steps · unrated
Create an Octopus Deploy release and trigger a deployment via API
octopus.com/docs · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans