GET/api/v1/files/{slug}/versions

List file versions

Every version of a file you own. Replacing a file keeps the previous version.

API token required120 per minute per IPMCP: list_file_versionsCLI: markdrop versions

Guide: Replace and versions

Code samples and Try it

Path parameters

#
  • slugstringRequired

    The document's address: the part after markdrop.in/.

Responses

#
  • 200OK.
  • 401No token, or the token is revoked or mistyped.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
  • 429Too many requests from your IP address. Wait the seconds in Retry-After.
200 response: 1 field (FileVersionsResponse)
  • versionsarray of object
    8 fields inside
    • versioninteger
    • size_bytesinteger
    • sha256string | null
    • content_typestring
    • created_atstring (date-time) | null

      ISO 8601, for example 2026-11-30T12:00:00Z.

    • currentboolean
    • mediaobject | null
    • filenamestring | null
Did this page help?