remagicaDocs home
API referenceProjects

List every folder

GET
/project-folders/all

Needs a key withprojects:read

Every folder you can put a project in: the team's and your personal ones, by name (for a move dialog).

Requires scope projects:read.

Authorization

apiKey
headerx-api-key<token>

An API key of your workspace (rmg_…), created in the web app. It acts for that workspace, not for a person, and keeps working when its creator leaves.

Response Body

The folders.

application/json
  1. response
folders*array<>
Example Request
curl -X GET 'https://api.remagica.com/api/v1/project-folders/all'
Example Response
{  "folders": [    {      "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",      "isPersonal": true,      "name": "Autumn campaign",      "parentId": "eb290249-5b3d-4f60-8e2a-1d9c6b4f7e05",      "projectCount": 1    }  ]}