---
title: "Add Attribute"
method: POST
path: "/attribute"
tags: ["Attribute"]
---

# Add Attribute

`POST /attribute`

The attribute has to be created before it can be added to any design. One attribute can be added to multiple designs.

Details for the body of the request:

- `title` is the title of the attribute which only the account owner will see
- `type` is the data type for the value of the attribute and can have three different values:
  - 1 -> text
  - 2 -> date
  - 3 -> number

## Headers

- `api-version` string, required

## Request body

- AttributeRequest
  - `title` string
  - `type` integer — Attribute type (1=text, 2=date, 3=number)

## Response `200`

Successful response

- ApiResponse
  - `message` string, nullable
  - `hasError` boolean
  - `validationErrors` string[]
  - `data` unknown
  - `content` unknown

---

[API](https://skmtc.net/sertifier/apis/sertifier-credential-api-documentation.md) · [All operations](https://skmtc.net/sertifier/apis/sertifier-credential-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sertifier/sertifier-credential-api-documentation/revisions/98c494325aae/schema)
