Skip to main content

When it fires

  • A thread’s assignee is removed through the Inbox UI
  • A thread is unassigned via the API by setting assigneeId to null

Payload

thread
Thread
required
The thread associated with this event.
{
  "id": "ck9v2m5nj0xp4wq7ybftrae8",
  "seq": 20,
  "teamId": "hzcai5t59nn9vsck3rbuepyg",
  "type": "thread.unassigned",
  "timestamp": "2025-01-15T14:25:00.000Z",
  "version": "1.0",
  "data": {
    "thread": {
      "id": "l44e15irdq4db30i77cgphhx",
      "platform": "twitter",
      "platformId": "1566123362161725440:1876543210987654321",
      "done": false,
      "assigneeId": null,
      "lastMessageTimestamp": "2025-01-15T14:15:00.000Z",
      "computedSortTimestamp": "2025-01-15T14:15:00.000Z",
      "createdAt": "2025-01-14T09:00:00.000Z",
      "status": "active",
      "variant": "xChat",
      "accountLinkId": "df6jbw4h36qm5d9iu2sgn7kx",
      "isSyncing": false,
      "isRequest": false,
      "typingIndicatorsEnabled": null,
      "lastMessage": {
        "id": "p8rvk2m5j0xn4wq7ybftcael",
        "content": "Can you send over the pricing details?",
        "authorId": "1876543210987654321",
        "createdAt": "2025-01-15T14:15:00.000Z",
        "userId": null,
        "campaignId": null
      },
      "prospect": {
        "platform": "twitter",
        "platformId": "1876543210987654321",
        "externalId": "n7kxqm5d9iu2sgdf6jbw4h36",
        "displayName": "Sarah Chen",
        "username": "sarahchen",
        "handle": "@sarahchen",
        "image": "https://pbs.twimg.com/profile_images/example/photo.jpg",
        "context": {
          "tags": ["l44e15irdq4db30i77cgphhx"],
          "statusId": "x9wq5p2bvnhfdteolyr3km7j",
          "valuation": 2500,
          "notes": "Interested in enterprise plan"
        }
      }
    }
  }
}