---
title: "Create Attribute"
method: POST
path: "/attributes"
---

# Create Attribute

`POST /attributes`

This endpoint creates a new attribute and associates it with the client.

## Request body

- object
  - `name` string, required — The name used to easily identify the attribute. Allowed values are between 2 and 255 characters.
  - `status` string, required — The status of the attribute. Allowed values are active and inactive.
  - `type` string, required — The attribute type defining the data structure. Allowed values are email, phone, string, zip, zip_plusfour, numeric_only, alpha_only, alphanumeric_only, boolean.
  - `length` integer, required — The length of characters allowed for the attribute. Allowed values are between 1 and 255.
  - `values_type` string, required — The value type allowed for the attribute. Allowed values are open and predefined.
  - `valid_values` unknown[] — An array of valid values that attribute may have if the values_type is set to predefined.
    - unknown

## Response `201`

201

- object
  - `id` integer
  - `name` string
  - `type` string
  - `scope` string
  - `length` integer
  - `values_type` string
  - `valid_values` unknown
  - `status` string
  - `subtype` string

## Other responses

- `422` — 422

---

[API](https://skmtc.net/seebot/apis/seebottext.md) · [All operations](https://skmtc.net/seebot/apis/seebottext/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seebot/seebottext/versions/5deb98e1d8dd/schema)
