v1Resources/Distribution/postGet an upload URL for a file
Get an upload URL for a file
Returns a signed URL, valid for one hour, to PUT one pushed file to. Send the returned headers with the upload, then finish it with POST /api/v1/distribution/assets/{id}/complete.
post
distribution:write/api/v1/distribution/assets/{id}/upload-urlQuery parameters
idstringrequired
The assetId from the import's pendingUploads.
Response
dataobjectoptional
urlstringoptional
methodstring (PUT)optional
headersobjectoptional
expiresInSecondsintegeroptional
Errors
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
409The request conflicts with the current state of the resource — for example, changing the email or phone of a recipient who has already been messaged, or a team invite that was already accepted (or hasn't been accepted yet).
post/api/v1/distribution/assets/{id}/upload-url
Your API key
id *
{
"data": {
"url": "https://storage.example.com/distribution/das_124?X-Signature=...",
"method": "PUT",
"headers": {
"Content-Type": "image/jpeg"
},
"expiresInSeconds": 3600
}
}