v1
Companies

List companies

GET/api/v1/companies

Returns the registered companies, paginated, from newest to oldest.

The API key needs the scopeView companiescompanies.read

Parameters

NameInDescription
pageintegerqueryPage number, starting at 1.Default: 1
pageSizeintegerqueryHow many companies per page.Default: 50
ownerIdstring (uuid)queryOnly the companies owned by this user: a user id.
searchstringquerySearch text matched against the company record.
tagIdsstringqueryOnly the companies with any of these tags: ids separated by commas.
sortBystringqueryField to sort by.CreatedAtNameCityDefault: CreatedAt
sortDirstringquerySort direction.AscDescDefault: Desc

Responses

200The page of companies and the total for the filter.
application/json
{
  "items": [
    {
      "id": "d49d40b3-dfd6-4b52-af6d-a90a16830193",
      "businessId": "2ea7ad0d-8e13-4008-9fd8-7c92fe8677f2",
      "name": "Lima Consultoria",
      "legalName": "Lima Consultoria Empresarial Ltda.",
      "taxId": "12345678000190",
      "email": "[email protected]",
      "phoneNumber": "551133334444",
      "website": "https://limaconsultoria.com.br",
      "domain": "limaconsultoria.com.br",
      "profileImageUrl": null,
      "addressStreet": null,
      "addressNumber": null,
      "addressComplement": null,
      "addressDistrict": null,
      "addressCity": "São Paulo",
      "addressState": "SP",
      "addressZip": null,
      "addressCountry": "BR",
      "tags": null,
      "customFields": null,
      "ownerId": "5a3dc17c-3dc5-4770-bb35-0bff55f3151b",
      "employeeCount": 45,
      "averageRevenue12m": null,
      "responsibleContactId": null,
      "createdAt": "2026-11-23T11:45:17.88691Z",
      "updatedAt": null
    }
  ],
  "total": 37,
  "page": 1,
  "pageSize": 50
}
400Invalid request: a body that is not JSON, a missing required field or a value in the wrong format.
application/json
{
  "error": "validation_failed",
  "message": "O campo name é obrigatório."
}
401Missing or invalid credentials. The response is the same for a key that does not exist and for a wrong secret; without the X-API-KEY header, it comes with no body.
application/json
{
  "error": "unauthorized",
  "message": "Credenciais de API inválidas."
}
403The key authenticated, but it lacks the scope the route requires, or the plan does not include the feature.
application/json
{
  "error": "forbidden",
  "message": "A chave de API não tem acesso a esta rota: falta o escopo exigido, ou a rota não aceita chave de API."
}
429The requests-per-minute limit was reached. Wait for the time given in the Retry-After header.
application/json
{
  "error": "too_many_requests",
  "message": "Muitas requisições com esta chave de API. Aguarde o fim da janela e tente novamente."
}
curl -X GET "https://api.guria.io/api/v1/companies?page=1&pageSize=50" \
  -H "X-API-KEY: $GURIA_API_KEY" \
  -H "X-API-SECRET: $GURIA_API_SECRET"
Response · 200
{
  "items": [
    {
      "id": "d49d40b3-dfd6-4b52-af6d-a90a16830193",
      "businessId": "2ea7ad0d-8e13-4008-9fd8-7c92fe8677f2",
      "name": "Lima Consultoria",
      "legalName": "Lima Consultoria Empresarial Ltda.",
      "taxId": "12345678000190",
      "email": "[email protected]",
      "phoneNumber": "551133334444",
      "website": "https://limaconsultoria.com.br",
      "domain": "limaconsultoria.com.br",
      "profileImageUrl": null,
      "addressStreet": null,
      "addressNumber": null,
      "addressComplement": null,
      "addressDistrict": null,
      "addressCity": "São Paulo",
      "addressState": "SP",
      "addressZip": null,
      "addressCountry": "BR",
      "tags": null,
      "customFields": null,
      "ownerId": "5a3dc17c-3dc5-4770-bb35-0bff55f3151b",
      "employeeCount": 45,
      "averageRevenue12m": null,
      "responsibleContactId": null,
      "createdAt": "2026-11-23T11:45:17.88691Z",
      "updatedAt": null
    }
  ],
  "total": 37,
  "page": 1,
  "pageSize": 50
}