---
title: "List all projects"
method: GET
path: "/projects"
tags: ["Projects"]
---

# List all projects

`GET /projects`

## Request

- Base URL: `https://sg.deployhq.com`
- URL: `https://sg.deployhq.com/projects`
- Auth: HTTP basic

Returns all projects accessible to the authenticated user, sorted alphabetically. Each project includes its starred status.

## Response `200`

Success

- object[]
  - `name` string
  - `permalink` string
  - `identifier` string
  - `public_key` string
  - `repository` unknown
  - `repository_url` string
  - `zone` string
  - `last_deployed_at` string
  - `folder` object
    - `identifier` string
    - `name` string
  - `auto_deploy_url` string
  - `url` string
  - `app_url` string
  - `servers_url` string
  - `deployments_url` string
  - `config_files_url` string
  - `environment_variables_url` string
  - `build_commands_url` string
  - `starred` boolean

## Other responses

- `401`: You are not authorized to access this resource. You need to authenticate yourself first.
- `403`: You are not allowed to access this resource. You do not have the necessary permissions.
- `500`: An unexpected error occurred on the server. The server was unable to process the request.

---

[API](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation.md) · [All operations](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation/revisions/830264ae58be?raw)
