---
title: "Link Service to Calendar"
method: POST
path: "/setup/v1/services/calendar"
tags: ["Services"]
---

# Link Service to Calendar

`POST /setup/v1/services/calendar`

Use this endpoint to **Link a Service** to a calendar.

## Request body

- ServiceCalendarInputModel
  - `locationId` string, nullable
  - `serviceId` string, nullable
  - `calendarId` string, nullable

## Response `200`

Success

- ServiceCalendarViewModel
  - `id` string, nullable
  - `locationId` string, nullable
  - `calendarId` string, nullable
  - `calendarName` string, nullable
  - `serviceId` string, nullable
  - `serviceName` string, nullable

---

[API](https://skmtc.net/onsched/apis/onsched-setup-api.md) · [All operations](https://skmtc.net/onsched/apis/onsched-setup-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onsched/onsched-setup-api/revisions/c5c023458a2f/schema)
