New Project
Learn how to update redirects served by Vercel when redirects change in the CMS without redeploying.

This example shows how to respond to CMS webhook events to update redirects served on Vercel.
https://cms-webhook-update-redirects.vercel.app
You can choose from one of the following two methods to use this repository:
Deploy the example using Vercel:
Execute create-next-app with npm or Yarn to bootstrap the example:
pnpm create next-app --example https://github.com/vercel/examples/tree/main/cdn/cms-webhook-update-redirects
Next, run Next.js in development mode:
pnpm dev
VERCEL_TEAM_ID – Vercel team ID to update redirects forVERCEL_PROJECT_ID – Vercel project ID to update redirects forVERCEL_BEARER_TOKEN - Vercel access token for this team