---
title: "Create a relationship"
method: POST
path: "/api/v1/relationships"
tags: ["Relationships"]
---

# Create a relationship

`POST /api/v1/relationships`

## Request

- Base URL: `https://app.parma.ai`
- URL: `https://app.parma.ai/api/v1/relationships`
- Auth: HTTP bearer

Create a new relationships in the Parma account

## Request body

- object
  - `name` string, required
  - `type` 'person' | 'company'
  - `company_id` integer
  - `group_ids` integer[], required
  - `about` string

## Response `201`

new relationship

## Other responses

- `401`: authentication failed
- `422`: validation errors

---

[API](https://skmtc.dev/parma/apis/parma-api-v1.md) · [All operations](https://skmtc.dev/parma/apis/parma-api-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/parma/apis/parma-api-v1/revisions/78481aca2285?raw)
