---
title: "Get relationship on a role"
method: GET
path: "/matters/{matterId}/roles/{roleId}/relationships/{id}"
tags: ["Relationships"]
---

# Get relationship on a role

`GET /matters/{matterId}/roles/{roleId}/relationships/{id}`

## Request

- Base URL: `https://api.smokeball.com`
- URL: `https://api.smokeball.com/matters/{matterId}/roles/{roleId}/relationships/{id}`
- Auth: API key in header `x-api-key` and API key in header `Authorization`

Returns a relationship with a specified role in a matter.

## Path parameters

- `matterId` string, uuid, required
- `roleId` string, uuid, required
- `id` string, uuid, required

## Response `200`

When request is successful. Returns a 'Relationship' object.

- Relationship
  - `href` string, nullable
  - `relation` string, nullable
  - `method` string, nullable
  - `self` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `id` string, nullable: Unique identifier of the relationship.
  - `name` string, nullable: Name of the relationship.
  - `contact` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `representatives` Link[], nullable: List of hypermedia links of the associated representatives.
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable

## Other responses

- `404`: When the specified matter, role group or role (within the specified role group) does not exist.

---

[API](https://skmtc.dev/smokeball/apis/smokeball-api.md) - [All operations](https://skmtc.dev/smokeball/apis/smokeball-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smokeball/apis/smokeball-api/revisions/6e350cf667d4?raw)
