API referenceProjects
Create a folder
POST
Needs a key withprojects:write
Adds a project folder: a team one, a personal one (scope: personal), or one inside another folder, which takes that folder's scope.
Requires scope projects:write.
apiKeyheader
x-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.
application/json- body
name*stringLength
1 <= length <= 200parentId?|Inside this folder (and in its scope); top level otherwise.
scope?stringteam: the workspace's projects and team folders. personal: the projects you made and your personal folders, which only you see. API keys act for the workspace: their personal is empty.
Default
"team"Value in
"team""personal"The folder.
application/json- response
id*stringisPersonal*booleanname*stringparentId*string|nullprojectCount*integercurl -X POST 'https://api.remagica.com/api/v1/project-folders' \ -H 'Content-Type: application/json' \ -d '{ "name": "Autumn campaign"}'Example Response
{ "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "isPersonal": true, "name": "Autumn campaign", "parentId": "eb290249-5b3d-4f60-8e2a-1d9c6b4f7e05", "projectCount": 1}