---
title: "Create a group value"
method: POST
path: "/groups/values"
tags: ["Groups"]
---

# Create a group value

`POST /groups/values`

## Request

- Base URL: `https://api.textla.com/v1`
- URL: `https://api.textla.com/v1/groups/values`
- Auth: HTTP bearer

Find-or-creates one group value for the authenticated account. Matching is case-insensitive and an existing value is returned with its canonical casing. The required action_audit object records who and what initiated the change.

## Request body

- CreateValueBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `action_audit` ValueActionAudit, required
    - `actor` string, required: User, API client, or system identifier that triggered the action
    - `reason` string: Optional explanation for the action
    - `source` string, required: Interface or system that initiated the action
  - `description` string: Optional description; an empty string clears it
  - `value` string, required: Reference-data value to create

## Response `200`

OK

- AttributeValueItem
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `contact_count` integer
  - `created_at` integer, required: When this reference-data value was first created, as milliseconds since the Unix epoch
  - `description` string, nullable, required
  - `value` string, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `412`: Precondition Failed
- `422`: Unprocessable Entity
- `429`: Too Many Requests
- `500`: Internal Server Error
- `502`: Bad Gateway
- `503`: Service Unavailable
- `504`: Gateway Timeout

---

[API](https://skmtc.dev/textla/apis/textla-api.md) - [All operations](https://skmtc.dev/textla/apis/textla-api/llms.txt) - [OpenAPI document](https://skmtc.dev/textla/apis/textla-api/revisions/473f03350bc1?raw)
