get
https://example.com
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
This endpoint attaches a new note to a device. It sends an HTTP POST request to https://hub.xyte.io/core/v1/organization/devices/{device_id}/notes.
Notes created through the API have a null created_by, since API calls carry no user context.
Authorization
This endpoint requires Authorization.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| device_id | string | Unique identifier of the device (UUID). |
Request Body
| Key | Type | Description | Required |
|---|---|---|---|
| content | string | Note content. Supports markdown. | Yes |
{
"content": "Replaced PSU on 2026-06-01. Next maintenance due in 12 months."
}Response
Returns the created note:
| Key | Type | Description |
|---|---|---|
| id | string | Unique identifier of the note (UUID). |
| content | string | Note content. |
| notable_type | string | Always Device for this endpoint. |
| notable_id | string | Unique identifier of the device the note is attached to. |
| created_by | string | Always null for notes created through the API. |
| created_at | string | Date and time the note was created, in ISO 8601 format. |
| updated_at | string | Date and time the note was last updated, in ISO 8601 format. |
Errors
| Status | Description |
|---|---|
| 404 | The device does not exist or does not belong to your organization. |
| 422 | The content field is missing or blank. |
