GET
/
companies
List all companies
curl --request GET \
  --url http://staging.api.commenda.io/api/v1/companies \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "name": "Initech"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

cursor
string

Pagination cursor for the next set of results. Optional.

limit
integer
default:10

Number of items to return per page. Optional. Default is 10.

Required range: 1 <= x <= 100

Response

200
application/json

A list of companies

The response is of type object[].