Receivables
Get a short-lived download URL for the document file
Changed onpost/receivables/{id}/documents/{document_id}/download
Request
- Base URLhttps://core.sivo.com
- Auth
- API key in header Authorization
- or OAuth 2Authorization codehttps://dashboard.sivo.com/oauth/authorizeClient credentialsToken URLhttps://core.sivo.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
An object ID assigned and owned by the originator
Example:acct-123
document_idstring required
An object ID assigned and owned by the originator
Example:acct-123
Headers
Idempotency-Keystring
A unique key per operation, could be V4 UUID or other high‑entropy random string. Keys can be up to 256 bytes. See Idempotent Requests.
Example:978771af-77de-4e24-ba39-f602502ceb78
Response
Successful operation
Example response
{
"url": "https://www.acme.com",
"expires_at": "2024-01-15T10:30:00Z"
}Changes
- info
endpoint added
- info