---
title: "Create a namespace"
method: POST
path: "/ai/memory/namespaces"
tags: ["Namespaces"]
---

# Create a namespace

`POST /ai/memory/namespaces`

Create a namespace. An organization can have at most five, `default` among them — a sixth returns `403`.

## Request body

- NamespaceCreate
  - `name` string, required — A name for the new namespace, unique within your organization.

## Response `201`

The created namespace

- NamespaceResponse
  - `data` Namespace, required — An isolated memory store within your organization.
    - `id` string, required — The namespace's unique identifier.
    - `name` string, required — The namespace's name, used in the path. `default` exists for every organization.

## Other responses

- `401` — Unauthorized
- `403` — Namespace limit reached
- `502` — Upstream error

## Changes

> 108 revisions in range; 1 not diffed.

- **2026-09-30** `ba3801dff4d3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/changes/ai/memory/namespaces/post.md)

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/revisions/3957c3463375?raw)
