GET
https://www.app.ocoya.com/api/_public/v1/workflow
List all workflows
curl --request GET \
  --url https://www.app.ocoya.com/api/_public/v1/workflow \
  --header 'X-API-Key: <api-key>'
[
  {
    "id": "cmajvvb9q0003ja5vh0538j6r",
    "createdAt": "2024-01-01T00:00:00Z",
    "name": "RSS to LinkedIn",
    "on": true
  }
]

Authorizations

X-API-Keystringheaderrequired

Your API key. Create one in Ocoya. Authorization: Bearer <key> works too.

Query Parameters

brandIdstringrequired

Ocoya brand ID. Get one from GET /brands.

Example:"cmayvq3hk00017apshay5qezu"

Response

application/json

Success. Newest first.

object[]
idstring

Workflow ID.

Example:"cmajvvb9q0003ja5vh0538j6r"
createdAtstring

When the workflow was created.

Example:"2024-01-01T00:00:00Z"
namestring | null

Workflow name.

Example:"RSS to LinkedIn"
onboolean

Whether the workflow is turned on.

Example:true