---
title: "Add team members"
method: POST
path: "/teams/{team}/members"
tags: ["Teams"]
---

# Add team members

`POST /teams/{team}/members`

REQUIRED SCOPES <code>['teams:write']</code><br>This request adds a user object as a team member to a particular team by user id. Additionally, the API is used to define team member roles in the team.

## Path parameters

- `team` integer, required

## Request body

- object
  - `members` object[] — The IDs of the Members
    - `id` integer

## Response `200`

OK

- UserResource[]
  - `id` integer
  - `email` string
  - `first_name` string
  - `last_name` string
  - `full_name` string
  - `role` string
  - `inbox_id` integer
  - `organization_id` integer
  - `photo_url` string
  - `unread` integer
  - `number` string
  - `formatted_number` string
  - `isRingEverywhere` boolean
  - `organizationNumber` object[]
    - `id` integer
    - `country` string
    - `number` string
    - `formatted_number` string
    - `mms` string
  - `userPermissions` string[]

## Other responses

- `404` — Not Found
- `422` — Unprocessable Entity

---

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