Get a download URL for an attachment
View as MarkdownGET
/v1/attachments/{id}/download-urlA signed URL valid for an hour, usable without a session (e.g. in <img src>).
docs:readRead-only
curl "https://api.lydie.co/v1/attachments/01JCQ3V5MZ8G4ZK2X7T9R6N1PB/download-url" \
-H "Authorization: Bearer $LYDIE_TOKEN"Path parameters
Response
{
"url": "string",
"expiresAt": "2026-11-12T09:30:00.000Z"
}Errors use one envelope for every endpoint. See Errors and versions.