---
title: "Create a Trait Group"
method: POST
path: "/v1/ControlPlane/Stores/{storeId}/TraitGroups"
tags: ["TraitGroup"]
---

# Create a Trait Group

`POST /v1/ControlPlane/Stores/{storeId}/TraitGroups`

Creates a Trait Group with declarative trait schemas for this Memory Store.

## Request body

- TraitGroupRequest — Payload schema for creating Trait Groups.
  - `displayName` string, required — Unique name of the Trait Group
  - `description` string — description of the Trait Group
  - `traits` object — Map of traits belonging to this Trait Group, keyed by trait name.

## Response `202`

TraitGroup creation request accepted.

- object
  - `message` string
  - `statusUrl` string — URI to check operation status.

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `429` — This error indicates that you have sent too many requests to the API. You should retry according to the `Retry-After` response header.
- `500` — Internal Server Error
- `503` — Service Unavailable

## Changes

> 8 revisions in range; 1 not diffed.

- **2026-08-11** (v1) `b0ed05460bbf` — 5 breaking
  - the `code` response property's max was increased from `99999.00` to `999999.00` for the response status `400`
  - the `code` response property's max was increased from `99999.00` to `999999.00` for the response status `404`
  - the `code` response property's max was increased from `99999.00` to `999999.00` for the response status `429`
  - the `code` response property's max was increased from `99999.00` to `999999.00` for the response status `500`
  - …1 more

[Change history](https://skmtc.dev/twilio/apis/memory-v1/changes/v1/ControlPlane/Stores/:storeId/TraitGroups/post.md)

---

[API](https://skmtc.dev/twilio/apis/memory-v1.md) · [All operations](https://skmtc.dev/twilio/apis/memory-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/twilio/memory-v1/revisions/14b76936cfa3/schema)
