Custom Webhook

Exporting data via API to a webhook can be helpful for transferring files directly from Datasaur to the URL destination of your choice.

Request Method


Request Headers

X-Datasaur-Signature: HMAC-SHA256(secret, body)
Content-Type: application/json

Request Body

   "userId": 1, // user who triggers export
   "fileUrl": "https://url-to-file/",
   "projectId": "projectId",
   "documentId": "documentId" // required only exportTextProjectDocument query

Expected Response

HTTP 1.1 200 OK
Content-Type: application/json

Last updated