POST: upload_async
Last updated
Last updated
POST
/api/upload_async
This endpoint will return the response as a webhook to your specified callback URL.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Note that the extraction response will not be part of this response. Rather, it will be sent via webhook to the provided callback URL.
Authorization*
string
Your provided bearer token API Key
files*
binary
The file to be extracted. We currently support .pdf
, .jpg
, .jpeg
, .png
,.xlsx
, .csv
Note that this needs to be sent over as multipart/form-data
(more information here)
tsSchema*
object
The JSON response schema expected for data extraction
callbackUrl*
string
The callback URL that Cohesive will send the response webhook to
tabularData
boolean
Optional parameter (will default to false
).
If true
value is provided, then Cohesive will optimize for extracting table-based data. We recommend this if you know that your import file(s) will primarily be tables, like startup cap tables.