AISARAISAR
All webhooks

System

Note updated

note.updated

Fires when a note is edited. The payload carries the updated text; `created_at` still reflects the original creation time.

HTTP request

AISAR sends a signed POST request to your webhook_url:

http
POST {webhook_url}
Content-Type: application/json
X-AISAR-Signature: sha256=...

{
  "event": "note.updated",
  "event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
  "timestamp": "2026-03-26T12:00:00.000000Z",
  "company_id": 1,
  "data": {
    "note": {
      "id": 1,
      "conversation_id": 45,
      "content": "Updated note text.",
      "author": {
        "user_id": 3,
        "name": "Manager Name"
      },
      "created_at": "2026-03-26T11:55:00.000000Z"
    }
  }
}

The X-AISAR-Signature header carries an HMAC-SHA256 signature of the request body — use it to verify the request came from AISAR.

Example payload

json
{
  "event": "note.updated",
  "event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
  "timestamp": "2026-03-26T12:00:00.000000Z",
  "company_id": 1,
  "data": {
    "note": {
      "id": 1,
      "conversation_id": 45,
      "content": "Updated note text.",
      "author": {
        "user_id": 3,
        "name": "Manager Name"
      },
      "created_at": "2026-03-26T11:55:00.000000Z"
    }
  }
}

Payload fields

FieldTypeDescription
note.idintegerNote ID
note.conversation_idintegerConversation the note belongs to
note.contentstringUpdated note text content
note.authorobject|nullUser who created the note
note.created_atstringISO 8601 timestamp of original creation