---
title: "Get contacts by type"
method: GET
path: "/contacts/type/{type}"
tags: ["Contacts"]
---

# Get contacts by type

`GET /contacts/type/{type}`

## Request

- Base URL: `https://api.faireplace.com/api`
- URL: `https://api.faireplace.com/api/contacts/type/{type}`
- Auth: HTTP bearer

Retrieve all contacts of a specific type (Individual or Company).

## Path parameters

- `type` 'Individual' | 'Company', required

## Response `200`

Contacts of type

- Contact[]
  - `id` string, uuid
  - `first_name` string, nullable
  - `last_name` string, nullable
  - `email` string, email, nullable
  - `phone` string, nullable
  - `address` object, nullable
    - `street` string, nullable
    - `city` string, nullable
    - `postal_code` string, nullable
    - `country` string, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/faireplace/apis/faireplace-property-management-api.md) · [All operations](https://skmtc.dev/faireplace/apis/faireplace-property-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faireplace/apis/faireplace-property-management-api/revisions/69de39762919?raw)
