Teams

Add 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.

post/teams/{team}/members

Request

  • Base URL
    https://api.salesmessage.com/pub/v2.3
  • URL
    https://api.salesmessage.com/pub/v2.3/teams/{team}/members
  • Auth
    HTTP bearer

Path parameters

teaminteger required

Team id

Request body

Example request

{
  "members": [
    {
      "id": 1
    }
  ]
}

Response

OK

idinteger
emailstring
first_namestring
last_namestring
full_namestring
rolestring
inbox_idinteger
organization_idinteger
photo_urlstring
unreadinteger
numberstring
formatted_numberstring
isRingEverywhereboolean
userPermissionsstring[]

Changes

No recorded changes to this operation across all 3 revisions of this API.