---
title: "postEmailSchedule"
method: POST
path: "/postEmailSchedule"
tags: ["Emails"]
---

# postEmailSchedule

`POST /postEmailSchedule`

Creates a new email schedule for existing email template. Email template can be scheduled based on two parameters: reservationStatusChange and reservationEvent. Only one of the parameters can be used. *reservationStatusChange* schedules email to be sent when reservation status transitions to a specific one, for instance: `confirmed`. *reservationEvent* schedules email to be sent number of days prior or after a specific event, for instance: `after_check_out` at a given time This call is only available for third-party integration partners, and not for property client IDs.

## Response `200`

200 Response

- PostEmailScheduleResponse
  - `success` boolean — Returns if the request could be completed
  - `emailScheduleID` string, nullable — The ID of the created email schedule. Only present if success = true
  - `message` string, nullable — To be used in case any error occurs (if success = false). If success = true, it does not exist.

---

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