Skip to main content
GET
/
public
/
v1
/
docs
/
{docId}
/
md
Get Document Content
curl --request GET \
  --url https://api.copera.ai/public/v1/docs/{docId}/md \
  --header 'Authorization: Bearer <token>'
{
  "content": "<string>"
}

Overview

Retrieves the current Markdown content of a document. The authenticated user must own the document or be a participant.

Response

Returns the document body as Markdown text.

Authorizations

Authorization
string
header
required

Bearer token

Path Parameters

docId
string
required

ObjectId

Required string length: 24
Pattern: ^[0-9a-fA-F]{24}$

Response

Default Response

content
string
required