companies
POST
https://hermeticor.com /v1/leads/companies/query Filter companies with a typed where / orderBy / limit / offset (fields are an allowlist; read "fields" in the result)
Request body
application/json
whereWhereItem[]Show child parameters
fieldstringrequiredopstringrequiredvaluestring | number | boolean | string | number[]orderByobject[]Show child parameters
fieldstringrequireddirstringlimitintegeroffsetinteger{
"where": [],
"orderBy": [],
"limit": 50,
"offset": 0
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/leads/companies/query" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"where":[],"orderBy":[],"limit":50,"offset":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{}
],
"fields": [
"string"
],
"hasMore": true
}Schema
itemsobject[]requiredfieldsstring[]requiredhasMorebooleanrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectUpdated