---
title: "Get account relationships"
method: GET
path: "/accounts/{account_id}/relationships"
tags: ["accounts"]
---

# Get account relationships

`GET /accounts/{account_id}/relationships`

Returns the parent-child and partner-client relationships where the account is the child or client.

**Rate limit:** 60 requests per minute

## Path parameters

- `account_id` string, required

## Response `200`

- GetAccountRelationshipsResponseBody
  - `data` AccountRelationship[] — The data payload of the response.
    - `child_account_id` string — The ID of the account on the child or client side of the relationship.
    - `created_at` string — The creation time of the relationship.
    - `id` string — The ID of the relationship.
    - `parent_account_id` string — The ID of the account on the parent or partner side of the relationship.
    - `related_object_id` string — The ID of the related parent or partner account.
    - `relationship_type` string — The relationship type. One of "parent_account" or "partner_account".
    - `updated_at` string — The time the relationship was last updated.
  - `request_id` string — The request ID for tracking.

## Other responses

- `400` — The request was invalid or could not be completed.
- `404`
- `500` — An unexpected internal error occurred.

---

[API](https://skmtc.net/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.net/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usepylon/pylon-api/versions/7b6ea6af992a/schema)
