Get a fresh download URL

Returns a new download URL for a previously uploaded file.

post/v1/upload/{uploadId}/download-url

Request

  • Base URL: https://api.payaion.com
  • URL: https://api.payaion.com/v1/upload/{uploadId}/download-url
  • Auth: API key in header X-Aion-Key

Path parameters

uploadIdstring required

Upload ID from the upload endpoint

Request body

object required

Response

Fresh download URL

uploadIdstring required
downloadUrlstring uri required
expiresAtstring date-time required
readyboolean required

Example response

{
  "uploadId": "up_a1b2c3d4e5f6g7h8",
  "downloadUrl": "https://payaion.com/d/abc123xyz789"
}

Changes

No recorded changes to this operation across all 1 revision of this API.