---
title: "Add companies to contact"
method: POST
path: "/api/v1/contacts/contact/{contactId}/companies"
tags: ["Contacts"]
---

# Add companies to contact

`POST /api/v1/contacts/contact/{contactId}/companies`

This API endpoint attaches a company to contact

## Path parameters

- `contactId` string, required

## Request body

- AddCompaniesRelationsDto
  - `companies` CompanyRelationsDto[], required
    - `companyId` string, required
    - `email` string
    - `status` string
    - `position` string

## Response `200`

Entity given

## Other responses

- `400` — Bad model
- `401` — Unauthorized user
- `404` — Entity not found
- `500` — Internal server error

---

[API](https://skmtc.net/getprospect/apis/calls.md) · [All operations](https://skmtc.net/getprospect/apis/calls/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getprospect/calls/revisions/5211a12644da/schema)
