Create an upload URL that can be used to transfere the asset
scopes:
Documentation Index
Fetch the complete documentation index at: https://docs.dintero.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication (token authentication) should be used for accessing the API.
Use Get Token to get an access token for client credentials. Pass the token in the request header:
Authorization: Bearer {access_token}where the access_token is JSON Web Tokens (JWT).
An id that uniquely identifies the account.
9Size in bytes of the asset file to be uploaded.
1 <= x <= 2000000MIME type of the asset to be uploaded
image/png, image/jpeg, application/pdf, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/csv Who can access the file?
private, public Upload URL
The public URL the asset will be made available from after the upload has completed.
An URL to upload the asset to.
mime_typesize_bytes.Upload example
curl -X PUT
-H 'Content-Type: {mime_type}' \
-H 'Content-Length: {size_bytes}' \
--upload-file <file> \
{upload_url}The number of seconds until the upload url is no longer valid