Skip to content
First requestVisit website ↗
Navigation

Add a note to one Sales Coach visit

Stores plain text on the appointment's contact. contact_id is copied from the appointment. created_by_user_id is set explicitly because service-role inserts have a null auth.uid(). source is web on this path and mobile_app on the /rep/ path.

POST
https://api.channelautomation.com/api/field-sales/appointments/{id}/notes

Authorization

  • BearerAuth
    HTTP Bearer (JWT)
    required

Path parameters

  • id
    string
    required
    format: uuid

Request body JSON required

  • body
    string
    required
    maxLength: 2000 · minLength: 1

Returns

200

{ success, note }

400

Empty

403

Visit is not assigned to the caller

404

Appointment is missing or soft-deleted

429

More than 30 note writes in a minute

Type to search…

↑↓ navigate↵ selectEsc close