# POST /api/labels > Labels - Add New Label - **Endpoint:** `POST /api/labels` - **Group:** Labels - **Since:** v1.0.0 - **Defined in:** `RestApi/Controllers/LabelsController.php` ## Headers | Field | Type | Description | | --- | --- | --- | | `authtoken` | String | Authentication token, generated from admin area | ## Parameters | Field | Type | Required | Description | | --- | --- | --- | --- | | `title` | String | yes | Mandatory Label title | | `context` | String | yes | Mandatory Label context (project|invoice|ticket|task|client|lead|event|note|to_do|subscription|...) | | `color` | String | no | Optional Label color as a hex value (e.g. #83c340) | | `user_id` | Number | no | Optional owning user id (used for personal contexts such as event|note|to_do); defaults to 0 | ## Request example ```bash curl -X POST "https://yoursite.com/index.php/api/labels" \ -H "authtoken: YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "title": "...", "context": "..." }' ``` ## Responses ### Success - Success-Response: ```json HTTP/1.1 201 Created { "status": 200, "messages": {"success": "Record saved"}, "id": 1 } ``` --- Part of the [REST API for RISE CRM](https://risecrm.themesic.com/apiguide/) documentation. Full page: https://risecrm.themesic.com/apiguide/labels/create-label/