# Update a Note

`PUT /api/notes/{id}`



- **Group:** Notes
- **Since:** v3.0.0
- **Authentication:** `authtoken` header, created under Setup > API > API Management
- **HTML version:** /apiguide/notes/put-note/

## Headers

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `authtoken` | String | **required** | Authentication token, generated from admin area |

## Parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `description` | String | **required** | New note text. |

## Example request

```bash
curl -X PUT "https://yoursite.com/api/notes/123" \
  -H "authtoken: YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "description": "..." }'
```

## Success response

### Success-Response:

```json
HTTP/1.1 200 OK
{
    "status": true,
    "message": "Note updated successfully"
}
```

## Error responses

### Validation-Error:

```json
HTTP/1.1 422 Unprocessable Entity
{
    "status": false,
    "error": "validation_failed",
    "message": "Note validation failed",
    "errors": {
        "description": "The description field is required."
    }
}
```

---

Perfex CRM REST API by Themesic Interactive. Full reference: /apiguide/
