---
title: "Get Default Contacts"
method: POST
path: "/v1/departments/default-contacts"
tags: ["Departments"]
---

# Get Default Contacts

`POST /v1/departments/default-contacts`

## Request

- Base URL: `https://api.avionte.com/front-office`
- URL: `https://api.avionte.com/front-office/v1/departments/default-contacts`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Returns a Dictionary with company branch IDs as keys and default contact IDs as values. Also returns a list of company branch IDs that were not found

## Headers

- `RequestId` string, uuid: Unique request identifier in UUID format used to correlate request data to log entries and events.
- `FrontOfficeTenantId` integer
- `Tenant` string

## Request body

- IntegerSchema[]

## Response `200`

The default contacts for the specified company branches.

- DepartmentDefaultContactsDictionary
  - `branch_default_contacts` object
  - `nonexistent_branches` integer[]

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Access Denied
- `404`: Not found
- `405`: Unsupported method
- `406`: Unsupported format(s) indicated by Accept header
- `415`: Unsupported format(s) indicated by the Content-Type header
- `429`: Too many requests
- `500`: An unexpected error occurred
- `502`: Service Unavailable
- `504`: Gateway Timeout

---

[API](https://skmtc.dev/avionte/apis/bold-front-office-api.md) - [All operations](https://skmtc.dev/avionte/apis/bold-front-office-api/llms.txt) - [OpenAPI document](https://skmtc.dev/avionte/apis/bold-front-office-api/revisions/bd5996cbaa0f?raw)
