---
title: "Create a new family"
method: POST
path: "/api/rest/v1/families"
tags: ["Family"]
---

# Create a new family

`POST /api/rest/v1/families`

This endpoint allows you to create a new family.

## Request body

- object
  - `code` string, required — Family code
  - `attribute_as_label` string, required — Attribute code used as label
  - `attribute_as_image` string — Attribute code used as the main picture in the user interface (only since v2.0)
  - `attributes` string[] — Attributes codes that compose the family
  - `attribute_requirements` object — Attributes codes of the family that are required for the completeness calculation for each channel
    - `channelCode` string[]
  - `labels` object — Family labels for each locale
    - `localeCode` string — Family label for the locale `localeCode`

## Response `201`

Created

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `403` — Access forbidden
- `415` — Unsupported Media type
- `422` — Unprocessable entity

---

[API](https://skmtc.net/akeneo/apis/akeneo-pim-rest-api.md) · [All operations](https://skmtc.net/akeneo/apis/akeneo-pim-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeneo/akeneo-pim-rest-api/revisions/d8bda9b93b59/schema)
