remagicaDocs home
API referenceReferences

List references

GET
/references

Needs a key withreferences:read

The workspace's Team references and your Private ones, last edited first.

Requires scope references: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.

Query Parameters

category?string

Where your own references go: styles, colorPalettes, characters or elements.

Value in"styles""colorPalettes""characters""elements"
q?string

Only those whose title contains this (any case).

Lengthlength <= 120

Response Body

The references.

application/json
  1. response
references*array<>
Example Request
curl -X GET 'https://api.remagica.com/api/v1/references'
Example Response
{  "references": [    {      "category": "styles",      "colors": [        "string"      ],      "createdAt": "2026-10-21T12:00:00.000Z",      "description": "Product shots for the autumn campaign.",      "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",      "images": [        {          "height": 1280,          "key": "generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png",          "libraryItemId": "17c56002-5b3d-4f60-8e2a-1d9c6b4f7e05",          "width": 1024,          "contentType": "image/png",          "url": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png"        }      ],      "ownerUserId": "ba132481-5b3d-4f60-8e2a-1d9c6b4f7e05",      "scope": "private",      "title": "Autumn campaign",      "updatedAt": "2026-10-21T12:00:00.000Z"    }  ]}