---
title: "Projects"
icon : "api"
description: "List every project owned by the account behind the API token."
---

# Projects

<Endpoint
  method="GET"
  path  ="https://api.envyauth.my.id/api/v3/me/projects"
/>

Returns the projects on the account, with the scripts attached to each one. The response is cached server-side for 60 seconds.

## Request

```bash
curl https://api.envyauth.my.id/api/v3/me/projects \
  -H "Authorization: Bearer YOUR_API_TOKEN"
```

## Response

<CodeGroup tabs={[
  {
    title: '200 OK',
    lang : 'json',
    code : '{\n  "success": true,\n  "data": {\n    "projects": [\n      {\n        "uuid":        "da36724e-029f-4b39-9391-6e94063d00e2",\n        "name":        "Atomic Hubs",\n        "description": "Hub script for X game",\n        "user_count":  312,\n        "scripts": [\n          { "uuid": "uuid", "name": "main", "version": "1.4.2" },\n          { "uuid": "uuid", "name": "beta", "version": "0.9.0" }\n        ]\n      }\n    ]\n  },\n  "requestid": "uuid"\n}',
  },
  {
    title: '401 Unauthorized',
    lang : 'json',
    code : '{\n  "success": false,\n  "error": "Missing or invalid Bearer token",\n  "code":  "UNAUTHORIZED",\n  "requestid": "uuid"\n}',
  },
  {
    title: '500 Internal',
    lang : 'json',
    code : '{\n  "success": false,\n  "error": "Failed to load projects",\n  "code":  "INTERNAL",\n  "requestid": "uuid"\n}',
  },
]} />

## Fields

| Field | Type | Meaning |
|---|---|---|
| `uuid` | string | Project UUID. Use as `:project_uuid` on project-scoped endpoints. |
| `name` | string | Display name. |
| `description` | string | Optional description. |
| `user_count` | number \| undefined | Claimed users. Unclaimed pool keys are not counted. `undefined` if the count failed for this project. |
| `scripts` | array | Scripts attached to the project. Each entry has `uuid`, `name`, and `version`. |
