---
updatedAt: 2025-04-28T11:57:49.000Z
agentTools:
  projectIndex: https://developers.wingify.com/llms.txt
---

# Get all projects in an account / sub-account

```json

[block:textarea]
{
  "text": "Request URI for Sub Account\n```\nGET /accounts/`{account_id}`/projects\n```\n\nGet the projects of an account",
  "sidebar": true
}
[/block]

```

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api",
    "version": "4"
  },
  "servers": [
    {
      "url": "https://app.wingify.com/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "token"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/accounts/{account_id}/projects": {
      "get": {
        "summary": "Get all projects in an account / sub-account",
        "description": "",
        "operationId": "get-all-projects-in-an-account-sub-account",
        "parameters": [
          {
            "name": "account_id",
            "in": "path",
            "description": "Use 'current' keyword to refer to the Main Workspace or the Integer Workspace Id",
            "schema": {
              "type": "string",
              "default": "current"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"_data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Project One\",\n            \"accountId\": 1,\n            \"createdOn\": 1621232674,\n            \"modifiedOn\": 1621232674,\n            \"createdBy\": {\n                \"name\": \"Backend Testing\",\n                \"imageUrl\": \"//gravatar.com/avatar/5f32891bf0bda2e1c4a931e72f86975b?s=24&d=https%3A%2F%2Fapp.wingify.com%2Fassets%2Fimages%2Favatar-new-3.png\"\n            },\n            \"languages\": [\n                \"NODEJS\",\n                \"PYTHON\",\n                \"PHP\",\n                \"JAVA\",\n                \"DOTNET\",\n                \"RUBY\",\n                \"GO\",\n                \"JAVASCRIPT\"\n            ],\n            \"environments\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"Env1\",\n                    \"isEnabled\": true,\n                    \"token\": \"1111808b7365d71d73477713f3c3XXXX\"\n                },\n                {\n                    \"id\": 2,\n                    \"name\": \"Env2\",\n                    \"isEnabled\": false,\n                    \"token\": \"222267fd9458cd9fe8319be08de1XXXX\"\n                }\n            ]\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Project Two\",\n            \"accountId\": 1,\n            \"createdOn\": 1621232901,\n            \"modifiedOn\": 1621232901,\n            \"createdBy\": {\n                \"name\": \"Backend Testing\",\n                \"imageUrl\": \"//gravatar.com/avatar/5f32891bf0bda2e1c4a931e72f86975b?s=24&d=https%3A%2F%2Fapp.wingify.com%2Fassets%2Fimages%2Favatar-new-3.png\"\n            },\n            \"languages\": [\n                \"NODEJS\",\n                \"PYTHON\",\n                \"PHP\",\n                \"JAVA\",\n                \"DOTNET\",\n                \"RUBY\",\n                \"GO\",\n                \"JAVASCRIPT\"\n            ],\n            \"environments\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"Env1\",\n                    \"isEnabled\": false,\n                    \"token\": \"333393ae3260395ed5af88d4d60bYYYY\"\n                },\n                {\n                    \"id\": 2,\n                    \"name\": \"Env2\",\n                    \"isEnabled\": true,\n                    \"token\": \"444dcaa6f3a519067d249de3d299ZZZZ\"\n                }\n            ]\n        }\n    ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "_data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 1,
                            "default": 0
                          },
                          "name": {
                            "type": "string",
                            "example": "Project One"
                          },
                          "accountId": {
                            "type": "integer",
                            "example": 1,
                            "default": 0
                          },
                          "createdOn": {
                            "type": "integer",
                            "example": 1621232674,
                            "default": 0
                          },
                          "modifiedOn": {
                            "type": "integer",
                            "example": 1621232674,
                            "default": 0
                          },
                          "createdBy": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string",
                                "example": "Backend Testing"
                              },
                              "imageUrl": {
                                "type": "string",
                                "example": "//gravatar.com/avatar/5f32891bf0bda2e1c4a931e72f86975b?s=24&d=https%3A%2F%2Fapp.wingify.com%2Fassets%2Fimages%2Favatar-new-3.png"
                              }
                            }
                          },
                          "languages": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "example": "NODEJS"
                            }
                          },
                          "environments": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "integer",
                                  "example": 1,
                                  "default": 0
                                },
                                "name": {
                                  "type": "string",
                                  "example": "Env1"
                                },
                                "isEnabled": {
                                  "type": "boolean",
                                  "example": true,
                                  "default": true
                                },
                                "token": {
                                  "type": "string",
                                  "example": "1111808b7365d71d73477713f3c3XXXX"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```