For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create Gallery

Create a gallery.

Use this to create a reusable gallery in your account. Inspect the returned record before continuing the synchronization.

Behaviour

Only the localized name is required; you may also pass the general fields (description, number of columns) and media items to build the whole gallery in one call.

Extras are applied by a follow-up update after the gallery exists; if that step fails the gallery is still created and the response shows it without them.

Requires the galleries:write scope.

post
Authorizations
AuthorizationstringRequired

API key sent as a bearer token (mk_live_… / mk_test_…).

Body

Data schema used by Create Gallery (POST /v1/galleries). Read that operation for usage, permissions and update rules. Required fields and allowed values are defined below; request and response shapes can differ.

numColumnsstring · min: 1Optional
Responses
201

Created.

application/json
post/v1/galleries
POST /v1/galleries HTTP/1.1
Host: admin.mimeeqapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 345

{
  "name": {
    "en": "Summer Lookbook",
    "de": "Sommer-Lookbook"
  },
  "description": {
    "en": "Spring collection",
    "de": "Frühjahrskollektion"
  },
  "numColumns": "text",
  "items": [
    {
      "id": "text",
      "mediaType": "IMAGE",
      "mediaSource": "CUSTOM",
      "caption": {
        "en": "A caption",
        "de": "Eine Bildunterschrift"
      },
      "fileId": "text",
      "filePath": "text",
      "url": "text",
      "loop": true,
      "autoplay": true
    }
  ]
}
{
  "data": {
    "galleryId": "GALL-123e4567-e89b-12d3-a456-426614174000",
    "name": "Chair",
    "numberOfItems": 1,
    "createdAt": "text",
    "modifiedAt": "text",
    "description": "Chair",
    "numColumns": "text",
    "items": [
      {
        "id": "text",
        "mediaType": "IMAGE",
        "mediaSource": "CUSTOM",
        "caption": "Chair",
        "fileId": "text",
        "filePath": "text",
        "url": "text",
        "loop": true,
        "autoplay": true
      }
    ]
  }
}

Last updated

Was this helpful?