Skip to main content
POST
/
api
/
workflow_manager
/
start
const myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");
myHeaders.append("Authorization", "your token");

const raw = JSON.stringify({
  "workflow": "company_primer",
  "permalink": "wokelo-ai",
  "workbook_name": "wokelo-ai"
});

const requestOptions = {
  method: "POST",
  headers: myHeaders,
  body: raw,
  redirect: "follow"
};

fetch("{{path}}/api/workflow_manager/start/", requestOptions)
  .then((response) => response.text())
  .then((result) => console.log(result))
  .catch((error) => console.error(error));
{
    "report_id": 123345
}

Overview

Starts generating a Company Research report for a specific company.

Endpoint Details

  • Method: POST
  • Endpoint: /api/workflow_manager/start/

Authentication requirements

  • Include a valid JWT token in your request header
  • If you don’t have a token yet, you can get one from the /auth/token/ endpoint first.

Request

Request Parameters

Header Parameters

token
string
required
JWT token obtained from the Authentication request

Body Parameters

industry
string
Company’s industry. If not provided, Wokelo will auto-detect the industry
Crunchbase permalink of the company
website
string
required
website of the company
workflow
string
required
company_primer
custom_files
array of objects
Files to include in the report. Use fileName values from the file upload response
Note: Either of company’s permalink or website is required for the company-based workflows

Response

Successful response will include the report_id of the Company Research report

Successful Response Fields

report_id
integer
Report id for the initiated Company Research report
const myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");
myHeaders.append("Authorization", "your token");

const raw = JSON.stringify({
  "workflow": "company_primer",
  "permalink": "wokelo-ai",
  "workbook_name": "wokelo-ai"
});

const requestOptions = {
  method: "POST",
  headers: myHeaders,
  body: raw,
  redirect: "follow"
};

fetch("{{path}}/api/workflow_manager/start/", requestOptions)
  .then((response) => response.text())
  .then((result) => console.log(result))
  .catch((error) => console.error(error));
{
    "report_id": 123345
}