Skip to main content
POST
/
teams
/
{teamId}
/
users
Add user to team
curl --request POST \
  --url https://api.open.cx/teams/{teamId}/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": 123,
  "groupId": "<string>"
}
'
{
  "statusCode": 123,
  "message": "<string>",
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

teamId
string
required

Body

application/json
userId
number
required
groupId
string
required

Response

Successfully added user to team