GET
/api/v1/files/{slug}Get file details
A published file's size, type, current version, SHA-256 and, for video and audio, its duration and dimensions.
Path parameters
#slugstringRequiredThe document's address: the part after
markdrop.in/.
Responses
#200OK.401No token, or the token is revoked or mistyped.422The request didn't validate.detaillists each problem, with where it is (loc) and why (msg).429Too many requests from your IP address. Wait the seconds inRetry-After.
200 response: 15 fields (FileInfoResponse)
slugstringurlstringmarkdrop_urlstring | nullworkspace_urlstring | nulltitlestring | nullShown on the page and in link previews.
content_typestringsize_bytesintegersha256string | nullversionintegerupdated_atstring (date-time)ISO 8601, for example
2026-11-30T12:00:00Z.created_atstring (date-time)ISO 8601, for example
2026-11-30T12:00:00Z.mediaobject | null5 fields inside
duration_snumber | nullwidthinteger | nullheightinteger | nullvideo_codecstring | nullaudio_codecstring | null
poster_urlstring | nulldownload_urlstring | nullaccessstring