Datasaur
Search…
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

PUT

Request Headers

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

Request Body

1
{
2
"userId": 1, // user who triggers export
3
"fileUrl": "https://url-to-file/file.zip",
4
"projectId": "projectId",
5
"documentId": "documentId" // document_id is optional when we select Export Project
6
}
Copied!

Expected Response

1
HTTP 1.1 200 OK
2
Content-Type: application/json
3
{
4
}
Copied!
Last modified 3mo ago