Skip to main content

Overview

Add a company to the Wokelo database when it cannot be found using the Company Search API. This is an asynchronous request that returns a request_id. Once the request is completed, the result contains the permalink of the newly added company, which can then be used across other Wokelo APIs.

Endpoint Details

  • Method: POST
  • Endpoint: /api/enterprise/company/add/
NOTE: This is an asynchronous API. After submitting a request, poll the request status endpoint and retrieve the output using the request result endpoint. Learn more in How Async APIs work.

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

Header Parameters

string
required
JWT token obtained from the Authentication request
string
required
Must be set to application/json

Body Parameters

string
required
Name of the company to add.Example: Aditi Solar
string
required
Full URL of the company’s website.Example: https://aditisolar.in/
string
Product or industry category of the company.
string
Type of the company. Supported values: Public, Private
Sample Request Body

Response

Successful Response Fields Returns a JSON object with the following structure:
string
Unique identifier for the request. Use this to check status and retrieve the result.
string
Current status of the request (e.g., PENDING, PROCESSING, COMPLETED, FAILED, CANCELLED).
Sample Response

Retrieving the Result

Once the request status is COMPLETED, use the request result endpoint to fetch the output.
Completed Result Fields
string
Unique identifier for the request.
string
Status of the request — COMPLETED when the company has been added.
object
Result object containing the outcome of the add operation.
  • status"success" if the company was added successfully.
  • permalink — Unique identifier/slug for the newly added company.
number
Number of credits consumed by the request.
Sample Completed Result

OpenAPI

POST