Companies

List companies

The location's companies, oldest first, one page at a time. To find one, filter on its organisation number or your own reference.

get/v1/locations/{locationId}/companies

Request

  • Base URL: https://api.cliento.com
  • URL: https://api.cliento.com/v1/locations/{locationId}/companies
  • Auth: HTTP bearer

Path parameters

locationIdstring required

Query parameters

organisationNumberstring

Only companies with exactly this organisation number, ten digits.

externalReferencestring

Only the company you created with this externalReference.

limitinteger

Page size, 1 to 200. Default 50.

afterstring

The nextCursor of the previous page.

Response

OK

nextCursorstring

Pass as after to fetch the next page. Absent on the last page.

Example response

{
  "data": [
    {
      "address": {
        "city": "Stockholm",
        "country": "SE",
        "line1": "Storgatan 12",
        "line2": "Lgh 1102",
        "postCode": "111 51"
      },
      "department": "Used cars",
      "email": "info@example.com",
      "externalReference": "crm-88121",
      "id": "com_6Tn3wRd8Kq1Vb5Xs9LmPyA",
      "locationId": "loc_4fK9xQ2mLr8TzB1vNc7HdW",
      "name": "Bilfirman AB",
      "organisationNumber": "5560360793",
      "otherPhoneNumber": "+4686543210",
      "phoneNumber": "+46701234567"
    }
  ],
  "nextCursor": "com_6Tn3wRd8Kq1Vb5Xs9LmPyA"
}

Changes

No recorded changes to this operation across all 1 revision of this API.