AISARAISAR
All webhooks

Conversations

Conversation untagged

conversation.untagged

Fires when a tag is removed from a conversation.

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": "conversation.untagged",
  "event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
  "timestamp": "2026-03-26T12:00:00.000000Z",
  "company_id": 1,
  "data": {
    "subject_type": "conversation_tag",
    "subject_id": 8,
    "conversation_id": 45,
    "tag": {
      "id": 8,
      "name": "vip",
      "color": "#22c55e"
    }
  }
}

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": "conversation.untagged",
  "event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
  "timestamp": "2026-03-26T12:00:00.000000Z",
  "company_id": 1,
  "data": {
    "subject_type": "conversation_tag",
    "subject_id": 8,
    "conversation_id": 45,
    "tag": {
      "id": 8,
      "name": "vip",
      "color": "#22c55e"
    }
  }
}

Payload fields

FieldTypeDescription
subject_typestringAlways conversation_tag
subject_idintegerTag ID
conversation_idintegerID of the conversation the tag was removed from
tag.idintegerTag ID
tag.namestringTag name
tag.colorstring|nullTag color (hex code)