List projects
const url = 'https://api.deploybase.eu/api/v1/api/v1/projects';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.deploybase.eu/api/v1/api/v1/projects \ --header 'Authorization: <Authorization>'Returns a paginated list of projects for the authenticated team
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “ Query Parameters ”Page number (default: 1)
Items per page (default: 20, max: 100)
Search by project name
Sort order: activity (default) or name
Responses
Section titled “ Responses ”OK
object
object
object
object
Auto-deploy (GitHub webhook) fields
Optional FK to team_git_connections; nil = manual PAT
MRPreviewsEnabled governs merge/pull-request previews on its own: the branch policy above never applies to an MR event.
PackageManager overrides the Node package manager used at build time. nil = auto-detect (lockfile / packageManager field); set = user override.
Preview branch policy (DEP-287). Decides which webhook pushes auto-build a preview; see ShouldAutoBuildBranch in preview_branch_policy.go. Nothing here touches manual/API/MCP/ZIP deploys, and the default branch is never filtered.
Production URL fields
Example
{ "data": { "projects": [ { "framework": "nextjs", "package_manager": "npm", "preview_branch_mode": "all", "status": "active" } ] }}Unauthorized
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}