Workflows
List information about the workflow
Changed onReturns the workflow and its steps in order — each with its position (0 is the trigger), type (e.g. trigger-rss, generate-text, post-to-facebook), name, the channel it acts on, and its options.
get/workflow/{workflowId}
Request
- Base URLhttps://www.app.ocoya.com/api/_public/v1
- AuthAPI key in header X-API-Key
Path parameters
workflowIdstring required
Example:cmajvvb9q0003ja5vh0538j6r
Ocoya workflow ID.
Response
Success
Example response
{
"id": "cmajvvb9q0003ja5vh0538j6r",
"createdAt": "2024-01-01T00:00:00Z",
"name": "RSS to LinkedIn",
"on": true,
"steps": [
{
"id": "cmajvvbcc0005ja5v8f0d2k3m",
"type": "trigger-rss",
"name": "RSS feed",
"channel": {
"id": "clh49poxf008x8kov4ncbjty9",
"name": "Ocoya",
"provider": "linkedin"
},
"options": {
"url": "https://example.com/feed.xml"
}
}
]
}Changes
- breaking
removed the required property
//from the response with the status - info
added the required property
//to the response with the status
- breaking
- info
api operation id
getWorkflowwas added - info
api tag
Workflowsadded - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info