Skip to content
Create Team logo

Create Team

Creates a new team in Microsoft Teams. The operation is asynchronous and returns a 202 Accepted response with a Location header that can be used to check the status of the team creation.

SKILL.md

Full skill instructions

Create Team

Creates a new team in Microsoft Teams. The operation is asynchronous and returns a 202 Accepted response with a Location header that can be used to check the status of the team creation.

API Details

Sandbox

Mock server URL: http://localhost:8080/rest/microsoft-teams-api/1.0.0/teams

Required Headers

  • Authorization: Bearer {access-token}
  • Content-Type: application/​json

OAuth Scopes

  • Team.Create

Request Body

FieldTypeRequiredDescription
displayNamestringYesThe display name of the team
descriptionstringNoA description of the team
visibilitystringNoThe visibility of the team (private or public)
membersarrayNoList of members to add to the team
channelsarrayNoList of channels to create in the team
{
  "displayName": "New Project Team",
  "description": "Team for the new project initiative",
  "visibility": "private"
}

Example Request

curl -s -X POST \
  "http://localhost:8080/rest/microsoft-teams-api/1.0.0/teams" \
  -H "Authorization: Bearer {access-token}" \
  -H "Content-Type: application/​json" \
  -d '{
    "displayName": "New Project Team",
    "description": "Team for the new project initiative",
    "visibility": "private"
  }'

Example Response

The response is 202 Accepted with a Location header pointing to the team creation status.

Status Code: 202

Headers:

Location: /​teams/​e1b3c5a7-9d2f-4b6e-8c1a-3f5d7e9b2a4c/​operations/​abc123

Instructions

When the user wants to create a new team in Microsoft Teams, use this operation. Provide the team display name, optional description, and visibility setting. The operation is asynchronous, so the response includes a Location header to track the creation progress.