Get document by username and slug
GET /@{username}/{slug}
GET
/@{username}/{slug}
Retrieves a publicly shared document via a user-scoped URL (e.g. /@alice/my-doc). Available for Pro+ users who set custom filenames. Returns 410 if the document has expired. No authentication required.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” username
required
string
Author username
slug
required
string
Document slug
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