Every message has the event’s id, its type, when it happened, and data with the ids involved. On client and matter events, by says who did it: user: then the user_id of the person, or of the API key when it came through the API.
Clients and matters
desk.client.createdclient_id- A client was added.
desk.client.updatedclient_id- A client’s details changed.
desk.matter.openedclient_id, matter_id, stream_id- A matter was opened.
desk.matter.updatedclient_id, matter_id, change, stage- A matter moved on a stage (change is stage, with the new stage) or its details changed (change is details).
desk.matter.closedclient_id, matter_id- A matter was closed.
desk.matter.contact_addedclient_id, matter_id, party_id, role- Someone was added to a matter, in a role.
Things coming in
desk.item.createditem_id, client_id, matter_id- Something new came in: an upload, an email attachment, a document from a portal.
desk.item.decideditem_id, client_id, matter_id, outcome- Someone decided what to do with it.
desk.letter.requestedletter_id, matter_id, file_url, to- A letter was sent to be printed and posted, with a link to the file and the address it goes to.
desk.item.created
Something new came in: an upload, an email attachment, a portal document. A test you send yourself from Settings looks the same, with "test": true.
{
"created_at": "2026-11-24T10:20:41.512Z",
"data": {
"client_id": "cli_01jb2r5z1c3e5g7j9k1m3p5r7w",
"item_id": "itm_01jb2r5z1c3e5g7j9k1m3p5r7z",
"matter_id": "mat_01jb2r5z1c3e5g7j9k1m3p5r7x"
},
"id": "evt_01jb2r6x8k4m7q9s2t5v8w1y3z",
"type": "desk.item.created"
}desk.item.decided
Someone decided what to do with something that came in. A test you send yourself from Settings looks the same, with "test": true.
{
"created_at": "2026-11-24T10:20:41.512Z",
"data": {
"client_id": "cli_01jb2r5z1c3e5g7j9k1m3p5r7w",
"item_id": "itm_01jb2r5z1c3e5g7j9k1m3p5r7z",
"matter_id": "mat_01jb2r5z1c3e5g7j9k1m3p5r7x",
"outcome": "Filed"
},
"id": "evt_01jb2r6x8k4m7q9s2t5v8w1y3z",
"type": "desk.item.decided"
}desk.letter.requested
A letter was sent to be printed and posted. A test you send yourself from Settings looks the same, with "test": true.
{
"created_at": "2026-11-24T10:20:41.512Z",
"data": {
"colour": false,
"duplex": true,
"file_url": "https://api.torlie.com/letters/dlt_01jb2r6x8k4m7q9s2t5v8w1y3h/file?t=sample",
"filename": "Completion letter.pdf",
"letter_id": "dlt_01jb2r6x8k4m7q9s2t5v8w1y3h",
"matter_id": "mat_01jb2r5z1c3e5g7j9k1m3p5r7x",
"pages": 2,
"return_address": null,
"service": "uk_first_class",
"to": {
"country": "GB",
"lines": [
"14 Mill Lane",
"Harrogate"
],
"name": "Ms Eleanor Harper",
"postcode": "HG1 2AB"
},
"update_url": "https://api.torlie.com/letters/dlt_01jb2r6x8k4m7q9s2t5v8w1y3h/state?t=sample"
},
"id": "evt_01jb2r6x8k4m7q9s2t5v8w1y3z",
"type": "desk.letter.requested"
}desk.client.created
A client was added. A test you send yourself from Settings looks the same, with "test": true.
{
"created_at": "2026-11-24T10:20:41.512Z",
"data": {
"by": "user:user_01jb2r5z1c3e5g7j9k1m3p5r7y",
"client_id": "cli_01jb2r5z1c3e5g7j9k1m3p5r7w",
"matter_id": null
},
"id": "evt_01jb2r6x8k4m7q9s2t5v8w1y3z",
"type": "desk.client.created"
}desk.client.updated
A client's details changed. A test you send yourself from Settings looks the same, with "test": true.
{
"created_at": "2026-11-24T10:20:41.512Z",
"data": {
"by": "user:user_01jb2r5z1c3e5g7j9k1m3p5r7y",
"client_id": "cli_01jb2r5z1c3e5g7j9k1m3p5r7w",
"matter_id": null
},
"id": "evt_01jb2r6x8k4m7q9s2t5v8w1y3z",
"type": "desk.client.updated"
}desk.matter.opened
A matter was opened. A test you send yourself from Settings looks the same, with "test": true.
{
"created_at": "2026-11-24T10:20:41.512Z",
"data": {
"by": "user:user_01jb2r5z1c3e5g7j9k1m3p5r7y",
"client_id": "cli_01jb2r5z1c3e5g7j9k1m3p5r7w",
"matter_id": "mat_01jb2r5z1c3e5g7j9k1m3p5r7x",
"stream_id": "wst_01jb2r6x8k4m7q9s2t5v8w1y3j"
},
"id": "evt_01jb2r6x8k4m7q9s2t5v8w1y3z",
"type": "desk.matter.opened"
}desk.matter.updated
A matter moved to another stage, or its details changed. A test you send yourself from Settings looks the same, with "test": true.
{
"created_at": "2026-11-24T10:20:41.512Z",
"data": {
"by": "user:user_01jb2r5z1c3e5g7j9k1m3p5r7y",
"change": "stage",
"client_id": "cli_01jb2r5z1c3e5g7j9k1m3p5r7w",
"matter_id": "mat_01jb2r5z1c3e5g7j9k1m3p5r7x",
"stage": "Exchange"
},
"id": "evt_01jb2r6x8k4m7q9s2t5v8w1y3z",
"type": "desk.matter.updated"
}desk.matter.closed
A matter was closed. A test you send yourself from Settings looks the same, with "test": true.
{
"created_at": "2026-11-24T10:20:41.512Z",
"data": {
"by": "user:user_01jb2r5z1c3e5g7j9k1m3p5r7y",
"client_id": "cli_01jb2r5z1c3e5g7j9k1m3p5r7w",
"matter_id": "mat_01jb2r5z1c3e5g7j9k1m3p5r7x"
},
"id": "evt_01jb2r6x8k4m7q9s2t5v8w1y3z",
"type": "desk.matter.closed"
}desk.matter.contact_added
Someone was added to a matter. A test you send yourself from Settings looks the same, with "test": true.
{
"created_at": "2026-11-24T10:20:41.512Z",
"data": {
"by": "user:user_01jb2r5z1c3e5g7j9k1m3p5r7y",
"client_id": "cli_01jb2r5z1c3e5g7j9k1m3p5r7w",
"matter_id": "mat_01jb2r5z1c3e5g7j9k1m3p5r7x",
"party_id": "cli_01jb2r6x8k4m7q9s2t5v8w1y3k",
"role": "Buyer"
},
"id": "evt_01jb2r6x8k4m7q9s2t5v8w1y3z",
"type": "desk.matter.contact_added"
}