File

verifyCustomDownloadUrl

Verify that a custom download URL is valid and has not expired.

Use this endpoint to validate custom download URLs before redirecting users. Custom download URLs include a signature and expiration time for security.

post/v1/files/download:verify

Request

  • Base URL
    https://file.sls.epilot.io
  • URL
    https://file.sls.epilot.io/v1/files/download:verify
  • Auth
    • HTTP bearer
    • or API key in cookie token

Request body

custom_download_urlstring required

Custom external download url with signature and expiration time

Example request

{
  "custom_download_url": "https://some-api-url.com?file_id=123&expires_at=1699273500029&signature=abcdefg"
}

Response

Verification result

validboolean

Whether the URL is valid and not expired

Changes

No recorded changes to this operation across all 10 revisions of this API.