Enrich companies
Match companies with our database and enrich it with additional information.
Webhook result: Documentation
Query Parameters
Header Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.ocean.io/v2/enrich/companies" \ -H "Content-Type: application/json" \ -d '{ "companyDataMapping": { "property1": {}, "property2": {} }, "webhookUrl": "https://some-url.com" }'{
"status": "in progress"
}{
"detail": "Conflicting API tokens provided in query parameters and headers"
}{
"detail": "Insufficient email credits"
}{
"detail": "API token should be provided in headers or query parameters"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}