Documents
Get a download link
The link expires in 30 minutes. The file itself never goes through this API.
get/api/v1/documents/{id}/download-url
Request
- Base URL: https://app.sellerassistant.app (the document declares no server; this is the origin it was published from)
- URL: https://app.sellerassistant.app/api/v1/documents/{id}/download-url
- Auth: one of:
- API key in query parameter api_key
- API key in header X-Api-Key
Path parameters
idinteger required
Example:5
Response
The link
Example response
{
"data": {
"url": "https://files.example.com/documents/4/po_42/invoice.pdf?signature=...",
"expires_in": 1800
}
}Changes
No recorded changes to this operation across all 1 revision of this API.