Skip to main content

Document saved

When a document is saved in a workspace, Expertli will send a document.saved event to your webhook endpoint.

Payload

The full JSON payload is described below. Note that the data property contains the same object as the document response found in our Restful API.

{
"type": "document.saved",
"organisationId": "o1234567890",
"workspaceId": "w1234567890",
"data": {
filename: "document.pdf",
mimetype: "application/pdf",
size: 123456,
downloadUrl: "https://api.expertli.com/v1/workspaces/w1234567890/documents/document.pdf",
category: "TFN Declaration",
}
}