skills/clock-in/SKILL.md
# Clock In Records a clock-in event for a specific time card in a team's schedule. Updates the time card with the clock-in timestamp and location approval status. ## API Details - **API**: Microsoft Teams API - **Method**: POST - **Path**: `/teams/{team-id}/schedule/timeCards/{timeCard-id}/clockIn` - **Operation ID**: `clockIn` - **Tag**: Shifts - **OpenAPI**: [microsoft-teams-openapi.yaml](../../openapi/microsoft-teams-openapi.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/m
npx skillsauth add naftiko/microsoft-teams-sandbox skills/clock-inInstall 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.
Records a clock-in event for a specific time card in a team's schedule. Updates the time card with the clock-in timestamp and location approval status.
/teams/{team-id}/schedule/timeCards/{timeCard-id}/clockInclockInMock server URL: http://localhost:8080/rest/microsoft-teams-api/1.0.0/teams/{team-id}/schedule/timeCards/{timeCard-id}/clockIn
Authorization: Bearer {access-token}Content-Type: application/json| Name | In | Type | Required | Description |
|---|---|---|---|---|
| team-id | path | string | Yes | The unique identifier of the team |
| timeCard-id | path | string | Yes | The unique identifier of the time card |
| Field | Type | Required | Description |
|---|---|---|---|
| atApprovedLocation | boolean | No | Whether the clock-in is at an approved location |
| notes | object | No | Notes for the clock-in event (ItemBody object with content and contentType) |
{
"atApprovedLocation": true,
"notes": {
"content": "Starting morning shift",
"contentType": "text"
}
}
curl -s -X POST \
"http://localhost:8080/rest/microsoft-teams-api/1.0.0/teams/e1b3c5a7-9d2f-4b6e-8c1a-3f5d7e9b2a4c/schedule/timeCards/timecard-001/clockIn" \
-H "Authorization: Bearer {access-token}" \
-H "Content-Type: application/json" \
-d '{
"atApprovedLocation": true,
"notes": {
"content": "Starting morning shift",
"contentType": "text"
}
}'
{
"id": "timecard-001",
"userId": "user-001",
"state": "clockedIn",
"clockInEvent": {
"dateTime": "2025-01-22T08:00:00Z",
"atApprovedLocation": true
},
"createdDateTime": "2025-01-22T08:00:00Z",
"lastModifiedDateTime": "2025-01-22T08:00:00Z"
}
When the user wants to clock in or record a clock-in event for a time card, use this operation. Provide the team ID and time card ID as path parameters, along with the optional location approval status and notes in the request body. The response returns the updated time card with the clock-in event details.
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}`