Sample payloads

conversation.closed

{
  "requestId": "HjheznXCgdmiuSTYa",
  "eventName": "conversation.closed",
  "date": "2025-06-11T09:18:14.109Z",
  "payload": {
    "shopId": "G4ag3eGyiKibrGcM7",
    "conversation": {
      "_id": "sSzxq7tMBFmCY28o8",
      "organizationId": "nM3kTrdCv5JznJHFE",
      "customerId": "YX6HM6Sfbt4GvbvZb",
      "channel": "chat",
      "type": "inbound-message",
      "status": "open",
      "assignedTo": "GKa97c5NNLzcWcHhP",
      "firstItemId": "rxxtPXZng45rALFjE",
      "lastItemId": "n2q34HQbpvGtBo8qJ",
      "createdAt": "2025-06-11T09:15:05.075Z"
    },
    "conversation_item": {
      "_id": "4BJMTqPwP7MDJis6G",
      "type": "close",
      "reference": {
        "type": "user",
        "_id": "GKa97c5NNLzcWcHhP"
      },
      "shopId": "G4ag3eGyiKibrGcM7",
      "conversationId": "sSzxq7tMBFmCY28o8",
      "createdAt": "2025-06-11T09:18:13.409Z",
      "viaApi": false,
      "updatedAt": "2025-06-11T09:18:13.409Z"
    }
  }
}

conversation.reopened

{
  "requestId": "orhn6xubCAivowSk6",
  "eventName": "conversation.reopened",
  "date": "2025-06-11T09:18:41.484Z",
  "payload": {
    "shopId": "G4ag3eGyiKibrGcM7",
    "conversation": {
      "_id": "sSzxq7tMBFmCY28o8",
      "organizationId": "nM3kTrdCv5JznJHFE",
      "customerId": "YX6HM6Sfbt4GvbvZb",
      "channel": "chat",
      "type": "inbound-message",
      "status": "closed",
      "assignedTo": "GKa97c5NNLzcWcHhP",
      "firstItemId": "rxxtPXZng45rALFjE",
      "lastItemId": "Tt25DJ7PHZ9oRMHKf",
      "createdAt": "2025-06-11T09:15:05.075Z"
    },
    "conversation_item": {
      "_id": "yL6nxp66yhYgQ7yfK",
      "type": "open",
      "reference": {
        "type": "auto"
      },
      "meta": {
        "status": "closed"
      },
      "shopId": "G4ag3eGyiKibrGcM7",
      "conversationId": "sSzxq7tMBFmCY28o8",
      "createdAt": "2025-06-11T09:18:40.431Z",
      "viaApi": false,
      "updatedAt": "2025-06-11T09:18:40.431Z"
    }
  }
}

conversation.assigned

{
  "requestId": "4q3Rem4G6pRrWt5zs",
  "eventName": "conversation.assigned",
  "date": "2025-06-11T09:17:20.936Z",
  "payload": {
    "shopId": "G4ag3eGyiKibrGcM7",
    "conversation": {
      "_id": "sSzxq7tMBFmCY28o8",
      "organizationId": "nM3kTrdCv5JznJHFE",
      "customerId": "YX6HM6Sfbt4GvbvZb",
      "channel": "chat",
      "type": "inbound-message",
      "status": "open",
      "assignedTo": "GKa97c5NNLzcWcHhP",
      "firstItemId": "rxxtPXZng45rALFjE",
      "lastItemId": "vEHvMczSiiKv2MpCk",
      "createdAt": "2025-06-11T09:15:05.075Z"
    },
    "conversation_item": {
      "_id": "sJ2KnQqJZsEJ8pci5",
      "type": "assignment",
      "reference": {
        "type": "user",
        "_id": "GKa97c5NNLzcWcHhP"
      },
      "meta": {
        "assignedTo": "hDPhQuae27KmsYREq",
        "previousUserId": "GKa97c5NNLzcWcHhP"
      },
      "shopId": "G4ag3eGyiKibrGcM7",
      "conversationId": "sSzxq7tMBFmCY28o8",
      "createdAt": "2025-06-11T09:17:20.768Z",
      "viaApi": false,
      "updatedAt": "2025-06-11T09:17:20.768Z"
    }
  }
}

conversation.created

{
  "requestId": "NMbsKcBA64MchrKjQ",
  "eventName": "conversation.created",
  "date": "2025-06-11T09:15:09.159Z",
  "payload": {
    "shopId": "G4ag3eGyiKibrGcM7",
    "conversation": {
      "_id": "sSzxq7tMBFmCY28o8",
      "organizationId": "nM3kTrdCv5JznJHFE",
      "customerId": "YX6HM6Sfbt4GvbvZb",
      "channel": "chat",
      "type": "inbound-message",
      "status": "open",
      "assignedTo": "GKa97c5NNLzcWcHhP",
      "firstItemId": "rxxtPXZng45rALFjE",
      "lastItemId": "dcwYb87TJumYte4Ad",
      "createdAt": "2025-06-11T09:15:05.075Z"
    },
    "conversation_item": {
      "_id": "rxxtPXZng45rALFjE",
      "type": "message",
      "body": "test chat",
      "reference": {
        "type": "customer",
        "_id": "YX6HM6Sfbt4GvbvZb"
      },
      "pageUrl": "https://app.belco.io/inbox/BK7topgDhXL9Tawy2/conversation/WKxHFuePDhnrwmzA7",
      "pageTitle": "Inbox",
      "pageReferrer": "https://app.belco.io/inbox/all",
      "shopId": "G4ag3eGyiKibrGcM7",
      "conversationId": "sSzxq7tMBFmCY28o8",
      "createdAt": "2025-06-11T09:15:05.095Z",
      "viaApi": false,
      "updatedAt": "2025-06-11T09:15:05.096Z"
    }
  }
}

conversation.replied

{
  "requestId": "o2aniTywtD9uw7YG8",
  "eventName": "conversation.replied",
  "date": "2025-06-11T09:15:42.299Z",
  "payload": {
    "shopId": "G4ag3eGyiKibrGcM7",
    "conversation": {
      "_id": "sSzxq7tMBFmCY28o8",
      "organizationId": "nM3kTrdCv5JznJHFE",
      "customerId": "YX6HM6Sfbt4GvbvZb",
      "channel": "chat",
      "type": "inbound-message",
      "status": "open",
      "assignedTo": "GKa97c5NNLzcWcHhP",
      "firstItemId": "rxxtPXZng45rALFjE",
      "lastItemId": "bojadgRivFJxQTFHG",
      "createdAt": "2025-06-11T09:15:05.075Z"
    },
    "conversation_item": {
      "_id": "bojadgRivFJxQTFHG",
      "via": "web",
      "body": "reactie!",
      "attachments": [],
      "reference": {
        "type": "user",
        "_id": "GKa97c5NNLzcWcHhP"
      },
      "createdAt": "2025-06-11T09:15:38.426Z",
      "preSaveId": "sSzxq7tMBFmCY28o8-ee194b7a82805dcc137def8447449129",
      "type": "message",
      "shopId": "G4ag3eGyiKibrGcM7",
      "conversationId": "sSzxq7tMBFmCY28o8",
      "viaApi": false,
      "updatedAt": "2025-06-11T09:15:38.619Z"
    }
  }
}

conversation.note.added

{
  "requestId": "b9ZqcXCPQKWmSYsrb",
  "eventName": "conversation.note.added",
  "date": "2025-06-11T09:16:35.660Z",
  "payload": {
    "shopId": "G4ag3eGyiKibrGcM7",
    "conversation": {
      "_id": "sSzxq7tMBFmCY28o8",
      "organizationId": "nM3kTrdCv5JznJHFE",
      "customerId": "YX6HM6Sfbt4GvbvZb",
      "channel": "chat",
      "type": "inbound-message",
      "status": "open",
      "assignedTo": "GKa97c5NNLzcWcHhP",
      "firstItemId": "rxxtPXZng45rALFjE",
      "lastItemId": "doTAEkFeeEE2xMRiz",
      "createdAt": "2025-06-11T09:15:05.075Z"
    },
    "conversation_item": {
      "_id": "RJ7AQkAayEaHJv8XA",
      "body": "note added",
      "type": "note",
      "reference": {
        "type": "user",
        "_id": "GKa97c5NNLzcWcHhP"
      },
      "shopId": "G4ag3eGyiKibrGcM7",
      "conversationId": "sSzxq7tMBFmCY28o8",
      "createdAt": "2025-06-11T09:16:32.829Z",
      "viaApi": false,
      "updatedAt": "2025-06-11T09:16:32.830Z"
    }
  }
}