---
title: "Create a label"
method: POST
path: "/inbox/labels/"
tags: ["inbox"]
---

# Create a label

`POST /inbox/labels/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/inbox/labels/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

An outcome label: what the conversation MEANT, never a folder.

## Request body

- LabelCreateSchema
  - `color` string
  - `filtered_out` boolean
  - `icon` string
  - `name` string, required
  - `track_as_positives` boolean, nullable

## Response `201`

Successful Response

- LabelReadSchema
  - `color` string, required
  - `filtered_out` boolean
  - `icon` string
  - `id` string, uuid, required
  - `is_seeded` boolean
  - `name` string, required
  - `thread_count` integer, required
  - `track_as_positives` boolean

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Validation failed.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/dc5ac3c84444?raw)
