POST/api/v1/documents/{slug}/comments/{thread_id}/replies

Reply

Adds a reply. Replying to a resolved thread opens it again. Everyone in the thread and the people in mentions are notified.

API token required60 per minute per IP1000 per day per IPMCP: reply_comment

Guide: Comments

Code samples and Try it

Path parameters

#
  • slugstringRequired

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

  • thread_idstringRequired

    Matches ^[0-9a-f]{24}$.

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

  • bodystringRequired

    1–5,000 characters.

  • mentionsarray of string

    Up to 20 items.

  • attachmentsarray of string

    Up to 10 items.

  • suggestionstring

    Up to 5,000 characters.

Responses

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