Skip to content
LydieDevelopers
Menu

Get a download URL for an attachment

View as Markdown
GET/v1/attachments/{id}/download-url

A signed URL valid for an hour, usable without a session (e.g. in <img src>).

docs:readRead-only
Request
curl "https://api.lydie.co/v1/attachments/01JCQ3V5MZ8G4ZK2X7T9R6N1PB/download-url" \
  -H "Authorization: Bearer $LYDIE_TOKEN"

Path parameters

  • idULIDrequired

Response

200
{
  "url": "string",
  "expiresAt": "2026-11-12T09:30:00.000Z"
}

Errors use one envelope for every endpoint. See Errors and versions.