Get public document by slug
GET /d/{slug}
GET
/d/{slug}
Retrieves a publicly shared document by its slug. Used for nanoid-based shareable links (e.g. /d/abc123). Returns 410 if the document has expired. No authentication required.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” slug
required
string
Document slug (nanoid)
Responses
Section titled “ Responses ”Public document response for rendering shared links
Public document response for rendering shared links
object
slug
required
URL-friendly identifier
string
content
required
Full markdown content
string
createdAt
required
Creation timestamp
string format: date-time
updatedAt
required
Last update timestamp
string format: date-time
Standard error response
Standard error response
object
error
required
Error code or short description
string
message
Human-readable error details
string
Standard error response
Standard error response
object
error
required
Error code or short description
string
message
Human-readable error details
string