---
title: "Create partner"
method: POST
path: "/partners"
tags: ["Partners"]
---

# Create partner

`POST /partners`

Create a partner

## Request body

- object
  - `company_id` integer, nullable — Company id; required when contact_id is not sent
  - `contact_id` integer, nullable — Contact id; required when company_id is not sent
  - `isThirdParty` 'yes' | 'no', nullable

## Response `201`

Successful operation

- object
  - `message` string
  - `partner` object
    - `id` integer
    - `company_id` integer, nullable
    - `contact_id` integer, nullable
    - `isThirdParty` string
    - `type` string
    - `name` string
    - `label` string

## Other responses

- `401` — Unauthenticated
- `403` — Forbidden
- `422` — Validation Error
- `500` — Internal Server Error

---

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