> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getscale.ng/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Collection

Creates a new curated product collection. Allows you to upload a collection thumbnail image file.

### Authorizations

<ParamField header="X-Shop-API-Key" type="string" required>
  Your Secret API Key (`sk_live_...` or `sk_test_...`) generated from the Developer dashboard. Must be kept secret.
</ParamField>

### Path Parameters

<ParamField path="shopId" type="string" required>
  The unique UUID of the shop.
</ParamField>

### Request Body (Multipart / Form Data)

<ParamField body="name" type="string" required>
  Collection display name.
</ParamField>

<ParamField body="slug" type="string" required>
  URL slug format (alphanumeric and dashes).
</ParamField>

<ParamField body="description" type="string">
  Collection details.
</ParamField>

<ParamField body="image" type="file">
  Collection display icon/image file.
</ParamField>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "status": "success",
    "message": "Collection created successfully",
    "data": {
      "id": 1,
      "name": "Winter Specials",
      "slug": "winter-specials",
      "description": null,
      "imageUrl": null,
      "isActive": true
    }
  }
  ```

  ```json 400 Bad Request theme={null}
  {
    "message": "FORM_VALIDATION_ERROR",
    "code": 400,
    "validationErrors": [
      {
        "path": [
          "name"
        ],
        "message": "Collection name is required"
      }
    ]
  }
  ```
</ResponseExample>
