POST/api/v1/documents/{slug}/comments/attachments/urls

Get links to files in comments

Personal, expiring links to files in the item's comments, for people who can see its comments. Files of deleted comments aren't served.

Token optional240 per minute per IP

Guide: Comments

Code samples and Try it

Path parameters

#
  • slugstringRequired

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

Headers

#
  • X-Read-Passwordstring

    The password of a password-protected document.

  • X-Markdrop-Workspacestring

    A workspace's id: answer only if the document is in that workspace, else 404. Workspace domains send it; you rarely need it.

Request body

#

application/json, required

  • idsarray of string

    Up to 100 items.

Responses

#
  • 200OK.
  • 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.
Did this page help?