# Get company details 1.1

`GET /public/api/v1.1/Tenants/{tenantId}/Companies/{companyId}`

User API · Companies · base URL `https://user-api.ancon.io` · auth: `Access-Token` header · docs: https://ancon.dev/api/user/companies/get-company-details-1-1

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `tenantId` | string (uuid) | yes |  |
| `companyId` | string (uuid) | yes |  |

## Header parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `correlationId` | string | no | Correlation Id for the request |

## Responses

| Status | Description |
| --- | --- |
| 200 | OK |
| 401 | Unauthorized |
| 404 | Not Found |

### 200 response (`application/json`)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `company` | object or null | no |  |
| `company.id` | string (uuid) | no |  |
| `company.created` | string (date-time) | no |  |
| `company.modified` | string (date-time) | no |  |
| `company.tenantId` | string (uuid) | no |  |
| `company.name` | string or null | no |  |
| `company.businessNumber` | string or null | no |  |
| `company.addressId` | string (uuid) | no |  |
| `company.invoiceAddress` | object or null | no |  |
| `company.invoiceAddress.street` | string or null | no |  |
| `company.invoiceAddress.street2` | string or null | no |  |
| `company.invoiceAddress.zipCode` | string or null | no |  |
| `company.invoiceAddress.city` | string or null | no |  |
| `company.countryCode` | string or null | no |  |
| `company.phoneNumber` | string or null | no |  |
| `company.invoiceEmail` | string or null | no |  |
| `company.defaultInvoiceReferenceNote` | string or null | no |  |
| `company.isDeleted` | boolean | no |  |
| `company.originatingOutletId` | string (uuid) or null | no |  |
| `company.originatingOutletName` | string or null | no |  |
| `company.originatingIntegrationType` | integer (int32) or null | no | Allowed values: `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `17`, `18`, `19`, `20`, `21`, `22`, `23`, `24`, `25`, `26`, `27`, `28`, `29`, `30`, `31`, `32`, `-2`, `-1`. |
| `company.gln` | string or null | no |  |
| `company.companyReference` | string or null | no |  |
| `company.guestGroupId` | string (uuid) or null | no |  |
| `company.integrationExternalIds` | array<object> or null | no |  |
| `company.integrationExternalIds[].integrationId` | string (uuid) or null | no |  |
| `company.integrationExternalIds[].externalId` | string or null | no |  |
| `guestGroup` | object or null | no |  |
| `guestGroup.id` | string (uuid) | no |  |
| `guestGroup.name` | string or null | no |  |

#### Example

```json
{
  "company": {
    "id": "bdd0b338-c413-4509-94f1-d3a7f81d1fd2",
    "created": "2026-10-23T14:33:35.4684853Z",
    "modified": "2026-10-23T14:33:35.4684853Z",
    "tenantId": "960003f0-5bd3-4fbf-a657-735831b357df",
    "name": "Nice food AB",
    "businessNumber": "551245-1523",
    "addressId": "74651262-0cd1-46dc-87fb-c0fd09e71d74",
    "invoiceAddress": {
      "street": "Kompanigatan 36",
      "street2": "Höhögatan 69",
      "zipCode": "666 69",
      "city": "Höhs"
    },
    "countryCode": "SE",
    "phoneNumber": "",
    "invoiceEmail": "example@company.io",
    "defaultInvoiceReferenceNote": "Conference room 12",
    "isDeleted": false,
    "originatingOutletId": "9904d12c-f9a9-4234-994b-bc88bf68409b",
    "originatingOutletName": null,
    "originatingIntegrationType": 3,
    "gln": "1234567890123",
    "companyReference": "Example Company",
    "guestGroupId": null,
    "integrationExternalIds": []
  },
  "guestGroup": null
}
```

### 404 response (`application/json`)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `message` | string or null | no |  |
| `errorCode` | string (uuid) | no |  |

#### Example (from schema)

```json
{
  "message": "string",
  "errorCode": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
```

## Example request

```bash
curl -X GET "https://user-api.ancon.io/public/api/v1.1/Tenants/{tenantId}/Companies/{companyId}" \
  -H "Access-Token: $ANCON_TOKEN"
```
