Chats

Triggers a Vercel deployment for a chat. Creates a Vercel project if one does not exist.

post/chats/{chatId}/deploy

Request

  • Base URL
    https://api.v0.dev/v2
  • URL
    https://api.v0.dev/v2/chats/{chatId}/deploy
  • Auth
    HTTP bearer

Path parameters

chatIdstring required

The unique identifier of the chat.

Response

A deployment created for a chat. The deployment build runs asynchronously on Vercel - use the Vercel API with the returned deploymentId to track status, fetch logs, or read build errors.

deploymentIdstring required

Unique identifier of the Vercel deployment.

vercelProjectIdstring required

The Vercel project that the deployment belongs to.

Changes