Browse/Vercel/Trigger a Deployment
Trigger a Deployment
Vercel
$19 · Pro
Trigger a new deployment via the Vercel API.
trigger-deployment.ts
const response = await fetch(`https://api.vercel.com/v13/deployments?teamId=${VERCEL_TEAM_ID}`, {
Unlock the full snippet
This is a Pro snippet — get all-access for $19, or unlock just this one snippet for $1.
Trigger a Deployment — Vercel Example (TypeScript, Node, Python, Go, PHP, Ruby) | apiexamples