API ReferenceNote
note.create
Type: Mutation · Auth: Workspace-aware
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| entityType | enum(customer, vendor, contact, opportunity, quote, site, asset, system, ticket, work_order, project, incident, alert, invoice, payment, purchase_order, knowledge_article, deficiency_report, design_review, inspection_result, maintenance_plan, pm_schedule, space, document, media_artifact, credential, workspace, product, monitoring_account, warehouse, rfq, schedule_visit, user) | Yes | — | Entity type |
| entityId | string | Yes | — | ID of the associated entity |
| body | string | Yes | — | Body |
| isPinned | boolean | No | — | Is pinned |
| visibility | enum(internal, customer) | No | — | Visibility |
Example
{
"entityType": "customer",
"entityId": "550e8400-e29b-41d4-a716-446655440000",
"body": "example",
"isPinned": true,
"visibility": "internal"
}