---
title: "Create metaproperty"
url: "https://earlyaccess.developers.bynder.com/apis/metaproperty-1/versions/e015c0a3-e9ae-46ee-9a70-047f982dcfe9/operations/postApi1TaxonomyMetaproperties"
---

> Full API specification: https://earlyaccess.developers.bynder.com/apis/metaproperty-1/versions/e015c0a3-e9ae-46ee-9a70-047f982dcfe9.md

# Create metaproperty

`POST` `/api/1/taxonomy/metaproperties`

Operation ID: `postApi1TaxonomyMetaproperties`

Create a new metaproperty

## Request body (required)

Content types: `application/json`

## Responses

- `201`
- `400`
- `404`

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Metaproperty
  version: "1.0"
servers:
  - url: https://{your-bynder-domain}
paths:
  /api/1/taxonomy/metaproperties:
    post:
      description: Create a new metaproperty
      operationId: postApi1TaxonomyMetaproperties
      requestBody:
        content:
          application/json:
            schema:
              properties:
                allowDuplicates:
                  type: boolean
                autocomplete:
                  type: boolean
                createDuringApply:
                  type: boolean
                definition:
                  type: string
                metapropertyType:
                  enum:
                    - single-select
                    - multi-select
                    - date
                    - text
                  title: MetapropertyTypeEnum
                  type: string
                name:
                  type: string
              required:
                - name
                - metapropertyType
              title: MetapropertyInput
              type: object
        required: true
      responses:
        "201":
          content:
            application/json:
              examples:
                CreatedMetaproperty:
                  summary: Response when a metaproperty is successfully created
                  value:
                    allowDuplicates: false
                    autocomplete: false
                    createDuringApply: false
                    id: 00000000-0000-0000-0000-000000000000
                    metapropertyType: single-select
                    name: Example Metaproperty
                    status: created
              schema:
                properties:
                  allowDuplicates:
                    type: boolean
                  autocomplete:
                    type: boolean
                  createDuringApply:
                    type: boolean
                  definition:
                    type: string
                  id:
                    format: uuid
                    type: string
                  metapropertyType:
                    enum:
                      - single-select
                      - multi-select
                      - date
                      - text
                    title: MetapropertyTypeEnum
                    type: string
                  name:
                    type: string
                  status:
                    type: string
                title: MetapropertyCreateOutput
                type: object
          description: ""
        "400":
          content:
            application/json:
              examples:
                ExistingMetaproperty:
                  summary: Response when a metaproperty with that name already exists
                  value:
                    errorCode: name-already-registered
                    message: "Name was already registered for mp:
                      00000000-0000-0000-0000-000000000000"
                InvalidMetaproperty:
                  summary: Response when the input is invalid
                  value:
                    errorCode: validation-errors
                    errors: []
                    message: Issues found while validating the request
              schema:
                properties:
                  errorCode:
                    type: string
                  errors:
                    items:
                      properties:
                        errorCode:
                          type: string
                        message:
                          type: string
                      required:
                        - errorCode
                        - message
                      title: ErrorMessage
                      type: object
                    type: array
                  message:
                    type: string
                title: MetapropertyCreateInvalidOutput
                type: object
          description: ""
        "404":
          content:
            application/json:
              examples:
                ConfigurationNotExisting:
                  summary: Response when no default configuration exists
                  value:
                    errorCode: configuration-not-existing
                    message: Configuration does not exist
              schema:
                properties:
                  errorCode:
                    type: string
                  message:
                    type: string
                title: MetapropertyCreateNotFoundOutput
                type: object
          description: ""
      summary: Create metaproperty
      tags:
        - Metaproperties - New API (Preferred)
security:
  - OAuth2:
      - METAPROPERTYMANAGEMENT
      - METAMANAGEMENT
  - permanentToken:
      - METAPROPERTYMANAGEMENT
      - METAMANAGEMENT
components:
  securitySchemes:
    OAuth2:
      flows:
        authorizationCode:
          authorizationUrl: https://{your-auth-url}
          scopes:
            METAMANAGEMENT: ""
            METAPROPERTYMANAGEMENT: ""
          tokenUrl: https://{your-bynder-domain}/v6/authentication/oauth2/token
        clientCredentials:
          scopes:
            METAMANAGEMENT: ""
            METAPROPERTYMANAGEMENT: ""
          tokenUrl: https://{your-bynder-domain}/v6/authentication/oauth2/token
      type: oauth2
    permanentToken:
      in: header
      name: Authorization
      type: apiKey
```
