---
title: "Create or update a GHL calendar mapping for a category/coach/group"
method: PUT
path: "/api/coach/scheduling/calendar-mappings"
tags: ["coach-scheduling"]
---

# Create or update a GHL calendar mapping for a category/coach/group

`PUT /api/coach/scheduling/calendar-mappings`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/coach/scheduling/calendar-mappings`
- Auth: HTTP bearer

## Request body

- UpsertCalendarMappingDto
  - `category` 'coaching_1on1' | 'group_coaching' | 'sales' | 'workshop' | 'community' | 'reward', required
  - `groupId` number
  - `coachId` number
  - `ghlCalendarId` string, required

## Response `200`

## Changes

- **2026-10-27** `5231b7914987`: 1 info
  - added the new `reward` enum value to the request property `category`
- **2026-09-12** `0d5ef02a4fbe`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/changes/api/coach/scheduling/calendar-mappings/put.md)

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
