Skip to main content
WEBHOOK
webhooks
/
fileChanges
{
  "eventTimestamp": "<string>",
  "action": "CREATED",
  "clientId": "cmf41ajzv003706un4i99q19z",
  "workspaceId": "cmf41ajzv003706un4i99q19z",
  "resource": "FILE",
  "data": {
    "id": "cmf41ajzv003706un4i99q19z",
    "createdAt": "2021-01-01T00:00:00Z",
    "updatedAt": "2021-01-01T00:00:00Z",
    "name": "document.pdf",
    "documentDate": "2021-01-01T00:00:00Z",
    "mimetype": "application/pdf",
    "size": 1024,
    "folderId": "cmf41ajzv003706un4i99q19z",
    "labelIds": [
      "cmf41ajzv003706un4i99q19z"
    ]
  }
}

Body

application/json

File Webhooks

  • Option 1
  • Option 2
  • Option 3
eventTimestamp
string
required

Timestamp of when the event happened

action
enum<string>
required
Available options:
CREATED
clientId
string
required

The ID of the client

Example:

"cmf41ajzv003706un4i99q19z"

workspaceId
string | null
required

The ID of the workspace

Example:

"cmf41ajzv003706un4i99q19z"

resource
enum<string>
required
Available options:
FILE
data
object
required

Response

200

Webhook received