---
title: "Create a group: {name, color?}."
method: POST
path: "/api/groups"
---

# Create a group: {name, color?}.

`POST /api/groups`

## Request

- Base URL: `https://shapelessai.com`
- URL: `https://shapelessai.com/api/groups`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://shapelessai.com/api/auth/mcp/authorize`, token URL `https://shapelessai.com/api/auth/mcp/token`, scopes: `write`)

## Response `200`

OK

## Other responses

- `401`: No credential, or not valid.
- `403`: The key is missing the "write" scope.
- `429`: Over the key's rate limit (600 requests an hour).

---

[API](https://skmtc.dev/shapelessai/apis/shapeless-api.md) · [All operations](https://skmtc.dev/shapelessai/apis/shapeless-api/llms.txt) · [OpenAPI document](https://skmtc.dev/shapelessai/apis/shapeless-api/revisions/fae8f701d466?raw)
