curl -X POST https://app.drime.cloud/api/v1/file-entries/123456/shareable-link \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "password": "secret123", "expires_at": "2024-03-01T00:00:00.000000Z", "allow_download": true, "allow_edit": false }'
{ "status": "success", "link": { "id": 789, "hash": "3h8N1nxZq7WtyRmXDIosFupSl9MCrD", "user_id": 15843, "entry_id": 123456, "password": "$2y$10$BI8kz6zFeB0CA...", "expires_at": "2024-03-01T00:00:00.000000Z", "allow_edit": false, "allow_download": true } }
Create a shareable link for an entry
success
https://app.drime.cloud/drive/shares/{hash}