API referenceSprites
Create a folder
POST
Needs a key withsprites:write
Makes a folder for characters, at the top level or inside parentId.
Requires scope sprites: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 <= 120parentId?stringThe folder to make it in; left out: the top level.
Length
1 <= length <= 128The folder.
application/json- response
A folder of the studio's characters.
characters*integerCharacters kept directly in it (not in its subfolders).
createdAt*stringFormat
date-timeid*stringLength
1 <= length <= 128name*stringLength
1 <= length <= 120parentId*|The folder it sits in; null: the top level.
updatedAt*stringFormat
date-timecurl -X POST 'https://api.remagica.com/api/v1/sprites/folders' \ -H 'Content-Type: application/json' \ -d '{ "name": "Bosses"}'Example Response
{ "characters": 1, "createdAt": "2026-10-21T12:00:00.000Z", "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "name": "Autumn campaign", "parentId": "eb290249-5b3d-4f60-8e2a-1d9c6b4f7e05", "updatedAt": "2026-10-21T12:00:00.000Z"}