Przejdź do treści
Intum
Aktualizacja: 1 min czytania

Endpointy

Metoda Ścieżka Opis
GET /crm/notes.json Lista notatek
GET /crm/notes/:id.json Pojedyncza notatka
POST /crm/notes.json Utworzenie notatki
PATCH /crm/notes/:id.json Aktualizacja notatki
DELETE /crm/notes/:id.json Usunięcie notatki

Autoryzacja: Authorization: Bearer TOKEN (uprawnienie: crm)

Pola note

Pole Typ Wymagane Opis
name string nie Nazwa/tytuł notatki
content text nie Treść (Markdown)
kind string nie Typ notatki
note_at datetime nie Data notatki
noteable_id integer tak ID powiązanego obiektu
noteable_type string tak Typ: Crm::Client, Crm::Contact lub Crm::Deal

Przykład utworzenia

{
  "api_token": "TOKEN",
  "note": {
    "name": "Rozmowa telefoniczna",
    "content": "Klient zainteresowany ofertą Premium. Umówiony follow-up na przyszły tydzień.",
    "kind": "phone",
    "note_at": "2026-03-05T14:00:00",
    "noteable_id": 123,
    "noteable_type": "Crm::Client"
  }
}

Notatka do interesu

{
  "api_token": "TOKEN",
  "note": {
    "name": "Negocjacje",
    "content": "Klient akceptuje warunki. Czekamy na podpis umowy.",
    "noteable_id": 456,
    "noteable_type": "Crm::Deal"
  }
}