Projects
GET
Returns the projects on the account, with the scripts attached to each one. The response is cached server-side for 60 seconds.
Request
terminal
curl https://api.envyauth.my.id/api/v3/me/projects \ -H "Authorization: Bearer YOUR_API_TOKEN"Response
{ "success": true, "data": { "projects": [ { "uuid": "da36724e-029f-4b39-9391-6e94063d00e2", "name": "Atomic Hubs", "description": "Hub script for X game", "user_count": 312, "scripts": [ { "uuid": "uuid", "name": "main", "version": "1.4.2" }, { "uuid": "uuid", "name": "beta", "version": "0.9.0" } ] } ] }, "requestid": "uuid"}{ "success": false, "error": "Missing or invalid Bearer token", "code": "UNAUTHORIZED", "requestid": "uuid"}{ "success": false, "error": "Failed to load projects", "code": "INTERNAL", "requestid": "uuid"}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. |