---
title: "Add a company member"
method: POST
path: "/companies/{companyId}/members"
tags: ["Company"]
---

# Add a company member

`POST /companies/{companyId}/members`

## Request

- Base URL: `https://api.gleap.io/v3`
- URL: `https://api.gleap.io/v3/companies/{companyId}/members`
- Auth: HTTP bearer

Link a contact to this company. `migrateTickets` opts into re-stamping the
contact's existing conversations onto this company — off by default, since
the stamp records which company a past conversation was had with.

## Path parameters

- `companyId` string, required

## Headers

- `project` string, required

## Request body

- object
  - `migrateTickets` boolean
  - `sessionId` string, required

## Response `200`

Ok

- object
  - `migrationTruncated` boolean, required
  - `migratedConversations` number, double, required

## Changes

- **2026-07-26** `a37ec8862f96`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gleap/apis/gleap-server/changes/companies/:companyId/members/post.md)

---

[API](https://skmtc.dev/gleap/apis/gleap-server.md) - [All operations](https://skmtc.dev/gleap/apis/gleap-server/llms.txt) - [OpenAPI document](https://skmtc.dev/gleap/apis/gleap-server/revisions/3b025e883cef?raw)
