latestOpenAPI 3.0.02026-08-10416661.5 MB

e96b3e58b041

Users

Update user's 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.

put/users/team

Query parameters

idinteger

Team ID

Response

OK

idstring
currentInboxIdinteger
currentInboxTypeIdinteger
currentInboxTypestring
unreadinteger
unread_callsinteger
unread_messages_countinteger
unread_mentions_countinteger