APINote

Create a note

POST
/public/v1/notes

Logs a note, call, meeting or email on a record, as a user does in Distru. It then shows in the record's History tab and in GET /public/v1/notes, and the users who have the record open see it appear. Returns the note as GET /public/v1/notes does; its user is the API key's user and its logged_on is null.

record_type can be any kind GET /public/v1/notes lists notes of. A note can't be edited or deleted through the API.

Required permission: the same as viewing the record in Distru, for example invoices_permissions_view for an INVOICE. An ID that doesn't exist for your company returns 404; a record your team restrictions hide returns 403.

Authorization

Bearer
headerAuthorizationBearer <token>

API token generated in Distru (Settings → Distru API). Send it on every request as Authorization: Bearer YOUR_API_TOKEN.

Request Body

The note to create

application/json
  1. body
note_type?string

What is being logged. Defaults to NOTE when omitted or null.

Value in"EMAIL""MEETING""NOTE""PHONE"
record_id*string

The record's ID, as its type's endpoints return it.

record_type*string

The kind of record to log the note on.

Value in"ASSEMBLY""BATCH""COMPANY""INVOICE""PURCHASE""RETURN""SALES_ORDER""STOCK_TRANSFER"
text*string

The note's text. Required; surrounding whitespace is trimmed and what is left can't be empty or longer than 10,000 characters.

Response Body

The created note

*/*
  1. response

A note, call, meeting or email a user logged by hand on a record, as the record's History tab in Distru shows it.

id*string

The note's ID.

inserted_datetime*string

When the note was logged.

logged_on?

The record a note was logged on, when it isn't the note's record.

note_type*string

What was logged.

Value in"EMAIL""MEETING""NOTE""PHONE"
record*

The record a note belongs to.

text*string

The note's text.

updated_datetime*string

When the note was last edited.

user?

Who wrote a note.

Example Request
curl -X POST 'https://app.distru.com/public/v1/notes' \  -H 'Content-Type: application/json' \  -d '{  "note_type": "PHONE",  "record_id": "so_2cec797e-d869-47a1-bae1-5d4023611405",  "record_type": "SALES_ORDER",  "text": "  Buyer called  "}'
Example Response
{  "id": "00000000-0000-0000-0000-000000000aa5",  "inserted_datetime": "2026-12-02T18:47:48.156888Z",  "logged_on": null,  "note_type": "PHONE",  "record": {    "id": "2cec797e-d869-47a1-bae1-5d4023611405",    "type": "SALES_ORDER"  },  "text": "Buyer called",  "updated_datetime": "2026-12-02T18:47:48.156888Z",  "user": {    "id": "00000000-0000-0000-0000-0000000046cf",    "name": "FirstName2866 LastName2867"  }}