v1

latestOpenAPI 3.0.02026-07-14800227.2 KB
Companies

Return a list of companies.

Returns a list of the existing companies in Kenjo.

get/companies

Query parameters

namestring
Example:ACME Ltd

The name of the company.

citystring
Example:Madrid

The city of the company.

countrystring
Example:ES

The country code of the company in ISO 3166-1 alpha-2.

Headers

Authorizationstring required
Example:Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwczovL2FwaS5rZW5qby5pbyIsInN1YiI6IjYwZjBhOTE2MjE0OTg3MjU2YmU5YzhmZiIsImF1ZCI6Imh0dHBzOi8vYXBpLmtlbmpvLmlvIiwiaWF0IjoxNjI2Mzg1MTE1LCJuYmYiOjE2MjYzODUxMTUsImV4cCI6MTYyNjU1NzkxNSwiYWNjZXNzVHlwZSI6IkFwaUFjY2VzcyIsInNfb3JnSWQiOiI2MGYwNGVhN2RmN2JhMjFlY2U0YmYzYzIifQ.cxG_7dIS-VbmDXdJuLkekoyuyCIzQG2fMcgc0nkfbWE8cihhcb5FnALbQkjU9b5-qVcEoMHZlSuUA-jMEBMMVQ

A valid bearer token.

Response

OK

_idstring

The Kenjo _id of the company.

namestring

The name of the company.

citystring

The city of the company.

countrystring

The country code of the company in ISO 3166-1 alpha-2.

Example response

[
  {
    "_id": "40a2db290da29e126a18789a",
    "name": "ACME Ltd"
  },
  {
    "_id": "40a2db290da29e126a18789b",
    "name": "ACME SA"
  }
]