skills/create-chat/SKILL.md
# Create Chat Create a new chat using the Microsoft Teams API. ## API Details - **API Name**: Microsoft Teams API - **OpenAPI Ref**: `../../openapi/microsoft-teams-openapi.yaml` - **Endpoint**: `POST /chats` - **operationId**: `createChat` - **Tag**: Chats ## Sandbox - **Base URL**: `http://localhost:8080/rest/microsoft-teams-api/1.0.0` ## Required Headers - `Authorization: Bearer {access_token}` - `Content-Type: application/json` ## OAuth Scopes - `Chat.Create` ## Parameters ### Requ
npx skillsauth add naftiko/microsoft-teams-sandbox skills/create-chatInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create a new chat using the Microsoft Teams API.
../../openapi/microsoft-teams-openapi.yamlPOST /chatscreateChathttp://localhost:8080/rest/microsoft-teams-api/1.0.0Authorization: Bearer {access_token}Content-Type: application/jsonChat.CreateThe request body should contain the chat properties including chat type, topic, and members.
curl -X POST "http://localhost:8080/rest/microsoft-teams-api/1.0.0/chats" \
-H "Authorization: Bearer {access_token}" \
-H "Content-Type: application/json" \
-d '{
"chatType": "group",
"topic": "Project Discussion",
"members": [
{
"@odata.type": "#microsoft.graph.aadUserConversationMember",
"roles": ["owner"],
"[email protected]": "https://graph.microsoft.com/v1.0/users/user-id-001"
},
{
"@odata.type": "#microsoft.graph.aadUserConversationMember",
"roles": ["owner"],
"[email protected]": "https://graph.microsoft.com/v1.0/users/user-id-002"
}
]
}'
{
"id": "19:[email protected]",
"topic": "Project Discussion",
"chatType": "group",
"createdDateTime": "2025-01-15T09:00:00Z",
"lastUpdatedDateTime": "2025-01-20T14:30:00Z"
}
Chat.Create scope.development
# Update Workforce Integration Update the properties of an existing workforce integration using the Microsoft Teams API. ## API Details - **API Name**: Microsoft Teams API - **OpenAPI Ref**: `../../openapi/microsoft-teams-openapi.yaml` - **Endpoint**: PATCH /teamwork/workforceIntegrations/{workforceIntegration-id} - **Operation ID**: updateWorkforceIntegration - **Tag**: WorkforceIntegrations ## Sandbox - **Base URL**: `http://localhost:8080/rest/microsoft-teams-api/1.0.0` - **Full URL**: `
development
# Update Team Tag Update the properties of an existing tag in a Microsoft Teams team. ## API Details - **API Name**: Microsoft Teams API - **OpenAPI Ref**: `../../openapi/microsoft-teams-openapi.yaml` - **Endpoint**: PATCH /teams/{team-id}/tags/{tag-id} - **Operation ID**: updateTeamworkTag - **Tag**: Tags ## Sandbox - **Base URL**: `http://localhost:8080/rest/microsoft-teams-api/1.0.0` ## Required Headers - `Authorization: Bearer {access_token}` - `Content-Type: application/json` ## OAu
development
# Update Team Updates the properties of a specific team. Only the properties included in the request body are updated. ## API Details - **API**: Microsoft Teams API - **Method**: PATCH - **Path**: `/teams/{team-id}` - **Operation ID**: `updateTeam` - **Tag**: Teams - **OpenAPI**: [microsoft-teams-openapi.yaml](../../openapi/microsoft-teams-openapi.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-teams-api/1.0.0/teams/{team-id}` ## Required Headers - `Authorization:
development
# Update Tab Update the properties of a specific tab in a channel within a team using the Microsoft Teams API. ## API Details - **API Name**: Microsoft Teams API - **OpenAPI Ref**: `../../openapi/microsoft-teams-openapi.yaml` - **Endpoint**: `PATCH /teams/{team-id}/channels/{channel-id}/tabs/{tab-id}` - **operationId**: `updateTab` - **Tag**: Tabs ## Sandbox - **Base URL**: `http://localhost:8080/rest/microsoft-teams-api/1.0.0` ## Required Headers - `Authorization: Bearer {access_token}`