---
title: "Update user's team"
method: PUT
path: "/users/team"
tags: ["Users"]
---

# Update user's team

`PUT /users/team`

REQUIRED SCOPES <code>['users:write']</code><br>The API endpoint helps to update team id and choose another message inbox which will be used for the conversations by default. <br><br>This becomes needed in case the user wants to switch between teams (inboxes) that they wish to receive messages and notifications from. <br><br>If the users skip updating their team, messages will be sent and received within the currently active team.

## Query parameters

- `id` integer

## Response `200`

OK

- object
  - `id` string
  - `currentInboxId` integer
  - `currentInboxTypeId` integer
  - `currentInboxType` string
  - `unread` integer
  - `unread_calls` integer
  - `unread_messages_count` integer
  - `unread_mentions_count` integer

---

[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)
