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 arequest_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/
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/jsonBody Parameters
string
required
Name of the company to add.Example:
Aditi Solarstring
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, PrivateResponse
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).Retrieving the Result
Once the request status isCOMPLETED, use the request result endpoint to fetch the output.
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.
OpenAPI
POST