---
title: "List relationships"
method: GET
path: "/apps/{appId}/relationships"
tags: ["Relationships"]
---

# List relationships

`GET /apps/{appId}/relationships`

List all relationships

## Path parameters

- `appId` integer, required

## Query parameters

- `limit` integer
- `search` string
- `filters` object[]
  - `name` string
  - `value` string
  - `comparator` '=' | '<' | '>' | '<=' | '>=' | '!=' | 'LIKE' | 'IN' | 'REGEX' | 'NOT LIKE' | 'NOT <=>' | '<=>'
- `order` object[]
  - `name` string — Column name
  - `direction` 'asc' | 'desc' | 'closest'
  - `value` integer — Value for closest amount

## Response `200`

Success

- Relationship[]
  - `id` integer
  - `is_customer` boolean
  - `is_supplier` boolean
  - `is_prospect` boolean
  - `importance_level` integer, nullable
  - `rating` integer, nullable
  - `is_notifying` boolean
  - `note` string, nullable
  - `accounting_infos` object
    - `balance_initial_amount` integer
    - `reference` string, nullable
    - `customer_id` string
    - `supplier_id` string
  - `metadata` unknown[], nullable
    - unknown

## Other responses

- `400` — Bad request
- `404` — Not found

---

[API](https://skmtc.net/sinao/apis/sinao-api.md) · [All operations](https://skmtc.net/sinao/apis/sinao-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sinao/sinao-api/revisions/436b47b78bf4/schema)
