remagicaDocs home
API referenceMoodboards

Add an image from a link

POST
/moodboards/{moodboardId}/images/from-link

Needs a key withbrand:write

Adds a picture from a link to the end of a moodboard: an image address, or a page with a share image. It's fetched from our servers (public addresses only) and kept in your workspace's storage.

Requires scope brand:write.

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.

Path Parameters

moodboardId*string
Length1 <= length <= 128

Request Body

application/json
  1. body
url*string

An image's address, or a page with a share image (Pinterest, Unsplash, ...). It's fetched from our servers: public addresses only, up to 8 MB.

Length1 <= length <= 2048

Response Body

The moodboard.

application/json
  1. response

A moodboard.

createdAt*string
Formatdate-time
id*string
Length1 <= length <= 128
ownerUserId*string|null
scope*string

team: every member of the workspace sees and uses it. private: only you (in this workspace). API keys act for the workspace, so they use team only.

Value in"private""team"
updatedAt*string
Formatdate-time
images*array<>
notes*string
styleDescription*string
title*string
Example Request
curl -X POST 'https://api.remagica.com/api/v1/moodboards/a7d93c10-4e2b-4f6a-8c1d-0b5e9f2a3c47/images/from-link' \  -H 'Content-Type: application/json' \  -d '{  "url": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png"}'
Example Response
{  "createdAt": "2026-10-21T12:00:00.000Z",  "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",  "ownerUserId": "ba132481-5b3d-4f60-8e2a-1d9c6b4f7e05",  "scope": "private",  "updatedAt": "2026-10-21T12:00:00.000Z",  "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"    }  ],  "notes": "string",  "styleDescription": "string",  "title": "Autumn campaign"}