companies

Embed
Preview of the card
<a href="https://hermeticor.com/docs/ref-companies"><img src="https://hermeticor.com/docs/_api/public/orgs/5fcd8b3c-a27c-4688-972f-de710125592f/spaces/caf5dc05-15f7-4e0c-bdb8-ab29ede6211e/pages/70bd484c-0981-412d-a992-ae3c792e4982/social-card.svg?v=3e7ae33eec8b" alt="companies" width="600" height="315"></a>
POSThttps://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
fieldstringrequired
opstringrequired
eq | ne | gt | gte | lt | lte | contains | starts_with | in | is_null | not_null
valuestring | number | boolean | string | number[]
orderByobject[]
= []
Show child parameters
fieldstringrequired
dirstring
asc | desc = asc
limitinteger
= 50
offsetinteger
= 0
{
  "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[]required
fieldsstring[]required
hasMorebooleanrequired
4XX Default Response
Example
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  }
}
Schema
errorobjectrequired
Show child parameters
codestringrequired
messagestringrequired
detailsobject
5XX Default Response

Same as 4XX · POST /v1/leads/companies/query

Updated