{
"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"
]
}
}Webhooks
File changes
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"
]
}
}Authorizations
Bearer token authentication
Body
application/json
File Webhooks
- Option 1
- Option 2
- Option 3
Timestamp of when the event happened
Available options:
CREATED The ID of the client
Example:
"cmf41ajzv003706un4i99q19z"
The ID of the workspace
Example:
"cmf41ajzv003706un4i99q19z"
Available options:
FILE Show child attributes
Show child attributes
Response
200
Webhook received