---
title: "POST /objects/{object_name}/attributes/{attribute_name}/options"
method: POST
path: "/objects/{object_name}/attributes/{attribute_name}/options"
tags: ["Object Attribute Options"]
---

# POST /objects/{object_name}/attributes/{attribute_name}/options

`POST /objects/{object_name}/attributes/{attribute_name}/options`

## Path parameters

- `object_name` string, required
- `attribute_name` string, required

## Request body

- UObjectsUAttributeOption — Definition of an option for a `SELECT` or `MULTI_SELECT` attribute.
  - `api_name` string, required — This is the unique identifier for the attribute option at the API level. It is unique within the attribute and cannot be changed.
  - `display_name` string, required — This is the user-facing attribute option name that will be shown within Unify. It is unique within the object and can be changed at any time.

## Response `201`

Response for a successful create operation.

- object — Response for a successful create operation.
  - `status` 'success', required
  - `data` UObjectsUAttributeOption, required — Definition of an option for a `SELECT` or `MULTI_SELECT` attribute.
    - `api_name` string, required — This is the unique identifier for the attribute option at the API level. It is unique within the attribute and cannot be changed.
    - `display_name` string, required — This is the user-facing attribute option name that will be shown within Unify. It is unique within the object and can be changed at any time.

## Other responses

- `400` — Response for any operation that results in a bad request error.
- `401` — Response for any operation that results in an unauthorized error.
- `404` — Response for any operation that results in a not found error.
- `409` — Response for any operation that results in a conflict error.
- `500` — Response for any operation that results in an internal server error.

---

[API](https://skmtc.dev/unifygtm/apis/unify-analytics-api.md) · [All operations](https://skmtc.dev/unifygtm/apis/unify-analytics-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/unifygtm/unify-analytics-api/revisions/2f145e6f6d7e/schema)
