# Add agent to team

**POST** `/teams/{id}/agents`

Assigns a user to the team so they can work conversations routed there.

Authentication: bearerAuth
Required scopes: `team:assign_user`
Allowed roles: `owner`, `admin`
Authorization: Add an agent to a team.

## Parameters

- `id` (path string, required)

## Request body

- `application/json`: `AddAgentToTeamRequest` required.

## Responses

- `201`: Agent added
- `default`: Error
