Publish workflow
POST
/api/v1/workflows/{id}/publish
const url = 'https://dashboard.justcrawl.io/api/v1/workflows/example/publish';const options = {method: 'POST', 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 POST \ --url https://dashboard.justcrawl.io/api/v1/workflows/example/publish \ --header 'Authorization: Bearer <token>'Validate and publish a workflow by ID.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
The workflow ID.
Responses
Section titled “ Responses ”Workflow published successfully.
Workflow has validation errors.
Workflow not found.