Skip to main content
GET
https://app.ocoya.com/api/_public/v1
/
post
List all posts
curl --request GET \
  --url https://app.ocoya.com/api/_public/v1/post \
  --header 'X-API-Key: <api-key>'

Authorizations

X-API-Key
string
header
required

Query Parameters

workspaceId
string
required

Ocoya workspace ID. Get one from GET /workspaces.

Example:

"cmayvq3hk00017apshay5qezu"

statuses
array

Post statuses to include in the result.

Example:
["DRAFT"]
page
integer

Zero-based page number for paginated results.

Example:

0

perPage
integer

Maximum number of items to return per page.

Example:

10

Response

Success