v0 Platform API/Integrations

Find Vercel Projects

Find all Vercel projects

GET
/integrations/vercel/projects
Authorization<token>

Your v0 API key. Get one at https://v0.dev/chat/settings/keys

In: header

Response Body

curl -X GET "https://api.v0.dev/v1/integrations/vercel/projects"
{
  "object": "list",
  "data": [
    {
      "id": "string",
      "object": "vercel_project",
      "name": "string"
    }
  ]
}
{
  "error": {
    "message": "string",
    "type": "unauthorized_error"
  }
}
{
  "error": {
    "message": "string",
    "type": "forbidden_error"
  }
}
{
  "error": {
    "message": "string",
    "type": "not_found_error"
  }
}
{
  "error": {
    "message": "string",
    "type": "conflict_error"
  }
}
{
  "error": {
    "message": "string",
    "type": "payload_too_large_error"
  }
}
{
  "error": {
    "message": "string",
    "type": "unprocessable_entity_error"
  }
}
{
  "error": {
    "message": "string",
    "type": "too_many_requests_error"
  }
}
{
  "error": {
    "message": "string",
    "type": "internal_server_error"
  }
}

Code Examples

cURL

GET /integrations/vercel/projects
curl -X GET "https://api.v0.dev/v1/integrations/vercel/projects" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

TypeScript SDK

Using v0-sdk
import { v0 } from 'v0-sdk'

// List user projects
const projects = await v0.projects.find()
console.log(`Found ${projects.length} projects`)

// Get projects with pagination
const paginatedProjects = await v0.projects.find({
  limit: 10,
  after: 'cursor_abc123'
})