Export flow
Call the Data API
Send a
GET request to https://portal.webless.ai/query-data with:companystart_dateend_datex-api-keyin the request headers
Store the pre-signed URL
A successful request returns
202 Accepted and a presigned_url. That URL
becomes valid once the export file is written.Poll until the file is ready
Poll the
presigned_url every 10 seconds with the Range: bytes=0-0
header. Stop polling when the response returns 200 OK or
206 Partial Content.Download the full file
Reuse the same pre-signed URL to download the completed file.
Request parameters
Example request
Example response
Sample code
Error handling
For assistance, email tech@webless.ai. The source
guide states a business-day response target of 4 hours.