AISARAISAR
All webhooks

System

Note deleted

note.deleted

Fires when a note is deleted. The payload carries the last state of the note at the moment of deletion.

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.deleted",
  "event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
  "timestamp": "2026-03-26T12:00:00.000000Z",
  "company_id": 1,
  "data": {
    "note": {
      "id": 1,
      "conversation_id": 45,
      "content": "Customer called to follow up.",
      "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.deleted",
  "event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
  "timestamp": "2026-03-26T12:00:00.000000Z",
  "company_id": 1,
  "data": {
    "note": {
      "id": 1,
      "conversation_id": 45,
      "content": "Customer called to follow up.",
      "author": {
        "user_id": 3,
        "name": "Manager Name"
      },
      "created_at": "2026-03-26T11:55:00.000000Z"
    }
  }
}

Payload fields

FieldTypeDescription
note.idintegerID of the deleted note
note.conversation_idintegerConversation the note belonged to
note.contentstringNote text content
note.authorobject|nullUser who created the note