Attachments

Get an attachment download URL

Generates a presigned, time-limited download URL for the attachment; expiry is configurable via the expiresIn query parameter.

get/v1/attachments/{id}/download-url

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/attachments/{id}/download-url
  • Auth: API key in header x-api-key

Path parameters

idstring required

Query parameters

expiresInstring nullable

Response

Success

urlstring required
expiresAtstring required

Changes