Get all the companies of the authenticated user

GET /company/companies

Request

Authentication

This endpoint requires authentication.

Header Value
Authorization Set the value to Bearer + + access_token

Example request 1 Retrieve companies

GET /company/companies HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer cb66f431b8b9581ab4e70685412eefef361cad11b4d6b5dc00394c294cb32c61164c85bb0726ec3f753ca5d2cd19fc53fc598fe6439f0bf4c96e6ec80d94d99825d70280cccf859cdacbdfa373cc00f2e789f9c192d5172411f719401f5376440da0010f
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Response

Array of Company: [Company]

Company

Field Type Description
id Int Id of the company
name [Language: String] Name of the company
active Bool Whether this company is activated

Example response 1 Retrieve companies

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 465

[
    {
        "id": 2823,
        "name": {
            "nl": "Vermeersch VOF"
        },
        "active": true
    },
    {
        "id": 2824,
        "name": {
            "nl": "Meunier"
        },
        "active": true
    },
    {
        "id": 2825,
        "name": {
            "nl": "Sahin"
        },
        "active": true
    },
    {
        "id": 2826,
        "name": {
            "nl": "Bertrand BVBA"
        },
        "active": true
    }
]
Version update available Please adjust your integration to the latest stable version (1.5.2)
1.5.0 stable