Skip to main content

Document uploaded

When a document is uploaded to a workspace, Expertli will send a document.uploaded 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.uploaded",
"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",
}
}