---
title: "Update event type mappings"
method: PUT
path: "/api/calendly/event-type-mappings"
tags: ["Calendly"]
---

# Update event type mappings

`PUT /api/calendly/event-type-mappings`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/calendly/event-type-mappings`
- Auth: HTTP bearer

Map Calendly event types by duration (E22-6):
- 20 min — check-ins
- 45 min — 1:1 coaching sessions (45 min)
- 60 min — 1:1 coaching sessions (60 min)

## Request body

- object
  - `calendly_event_type_uri_20min` string, nullable: Calendly event type URI for 20-minute sessions (check-ins)
  - `calendly_event_type_uri_45min` string, nullable: Calendly event type URI for 45-minute sessions
  - `calendly_event_type_uri_60min` string, nullable: Calendly event type URI for 60-minute sessions

## Response `200`

Mappings updated

## Other responses

- `400`: A mapped event type has an enabled required question (MED-1363). The message names the question.
- `401`: Authentication required
- `404`: Coach profile not found

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
