Skip to main content

Teams API

Teams endpoints exposed by the Devotel CPaaS API Base path: /api/v1/teams Endpoint count: 7

List teams for the current tenant

GET /api/v1/teams

List members of a team

GET /api/v1/teams/{id}/members
id
string
required

Create a new team

POST /api/v1/teams
name
string
required
Display name for the team; must be unique within the workspace (1–120 characters).
description
string
Optional short description of the team’s purpose (up to 500 characters).
active
boolean
Whether the team is active and eligible for routing assignment. Defaults to true.

Add a member to a team

POST /api/v1/teams/{id}/members
id
string
required
user_id
string
required
Id of the workspace user to add to the team. Must belong to your workspace roster (1–120 characters).
active
boolean
Whether the member is active and eligible for load-balanced routing assignment. Defaults to true.

Update a team

PATCH /api/v1/teams/{id}
id
string
required

Delete a team

DELETE /api/v1/teams/{id}
id
string
required

Remove a member from a team

DELETE /api/v1/teams/{id}/members/{userId}
id
string
required
userId
string
required