Skip to main content
POST
/
api
/
external
/
v1
/
portals
/
creatives
/
create
Create Creative
curl --request POST \
  --url https://app.magna.so/api/external/v1/portals/creatives/create \
  --header 'Content-Type: application/json' \
  --header 'x-magna-api-token: <api-key>' \
  --data '
{
  "storageKey": "<string>",
  "name": "<string>"
}
'
{
  "isProcessed": true,
  "result": {
    "id": "doc...uuid",
    "storageKey": "images/portal/hero-abc123.png",
    "publicUrl": "https://.../images/portal/hero-abc123.png"
  }
}

Authorizations

x-magna-api-token
string
header
required

Body

application/json
storageKey
string
required
Minimum string length: 1
name
string
required
Minimum string length: 1

Response

Successful response

isProcessed
boolean
result
any

Endpoint-specific result payload.