Skip to main content
POST
/
api
/
vercel-deploy
Deploy to Vercel
curl --request POST \
  --url http://localhost:5173/api/vercel-deploy \
  --header 'Content-Type: application/json' \
  --cookie apiKeys= \
  --data '
{
  "files": {},
  "projectName": "<string>",
  "framework": "<string>"
}
'
{
  "url": "<string>",
  "deploymentId": "<string>",
  "status": "success"
}

Authorizations

apiKeys
string
cookie
required

Cookie-based authentication storing API keys and provider settings

Body

application/json
files
object
required
projectName
string
required
framework
string

Framework identifier (e.g., nextjs, react)

Response

Deployment successful

url
string<uri>

Deployment URL

deploymentId
string
status
enum<string>
Available options:
success,
failed,
pending