> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://help.getzep.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://help.getzep.com/_mcp/server.

# Add User

POST https://api.getzep.com/api/v2/users
Content-Type: application/json

Adds a user.

Reference: https://help.getzep.com/sdk-reference/user/add

## Request

### Body (application/json)

This endpoint expects an apidata.CreateUserRequest.

- `user_id` (string, required) — The unique identifier of the user.
- `disable_default_ontology` (boolean, optional) — When true, disables the use of default/fallback ontology for the user's graph.
- `email` (string, optional) — The email address of the user.
- `first_name` (string, optional) — The first name of the user.
- `last_name` (string, optional) — The last name of the user.
- `metadata` (map from string to any, optional) — The metadata associated with the user.
- `time_zone` (string, optional, nullable) — The user's IANA time zone. Null or omission leaves it unset at creation.

## Response

### 201

The user that was added.

- `created_at` (string, optional)
- `deleted_at` (string, optional)
- `disable_default_ontology` (boolean, optional)
- `email` (string, optional)
- `first_name` (string, optional)
- `graph_uuid` (string, optional) — GraphUUID is the graphs.uuid of the user's graph (spec-3 section 13.5). Omitted when the graph row does not exist. Read-only; never accepted as input.
- `id` (integer, optional)
- `last_name` (string, optional)
- `metadata` (map from string to any, optional) — Deprecated
- `project_uuid` (string, optional)
- `session_count` (integer, optional) — Deprecated
- `time_zone` (string, optional, nullable)
- `updated_at` (string, optional) — Deprecated
- `user_id` (string, optional)
- `uuid` (string, optional)

## Errors

### 400 Bad Request Error

Bad Request

- `message` (string, optional)

### 500 Internal Server Error

Internal Server Error

- `message` (string, optional)

## Examples

**Request**

```json
{
  "user_id": "string"
}
```

**Response**

```json
{
  "created_at": "string",
  "deleted_at": "string",
  "disable_default_ontology": true,
  "email": "string",
  "first_name": "string",
  "graph_uuid": "string",
  "id": 1,
  "last_name": "string",
  "metadata": {},
  "project_uuid": "string",
  "session_count": 1,
  "time_zone": "string",
  "updated_at": "string",
  "user_id": "string",
  "uuid": "string"
}
```