List published documents in a channel
const url = 'https://your-orimora-instance.example.com/api/v1/published/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/documents?limit=50';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://your-orimora-instance.example.com/api/v1/published/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/documents?limit=50' \ --header 'Authorization: Bearer <token>'Returns published documents accessible via a publishing channel. Authentication uses a channel token (not a user API key) — create one in Settings → Publishing → Channels → Tokens.
Supports cursor-based pagination via cursor (ISO timestamp of the last seen updatedAt). Use updatedSince for incremental sync.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”ISO timestamp — returns documents updated before this point (pagination)
ISO timestamp — returns documents updated before this point (pagination)
ISO 8601 — return only documents updated after this timestamp
ISO 8601 — return only documents updated after this timestamp
Responses
Section titled “Responses”Paginated list of published documents
object
object
Plain-text content
Markdown body — only present when requested via channel format settings
Pass as cursor in the next request to get the next page
Example generated
{ "data": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "title": "example", "emoji": "example", "text": "example", "collectionId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "publishedAt": "2026-04-15T12:00:00Z", "updatedAt": "2026-04-15T12:00:00Z", "markdownText": "example" } ], "nextCursor": "example"}Unauthorized (missing or invalid channel token)
object
Human-readable error message
Example generated
{ "error": "example"}Token does not match the requested channel
object
Human-readable error message
Example generated
{ "error": "example"}