---
title: "Approve Reservation"
method: POST
path: "/reservations/{reservation_code}/approve"
tags: ["Reservations"]
---

# Approve Reservation

`POST /reservations/{reservation_code}/approve`

Approve a pending reservation request. The reservation must be in `wait_accept` status. This endpoint communicates with the channel to confirm the booking.

## Path parameters

- `reservation_code` string, required

## Response `200`

The reservation has been successfully approved.

- CommonResponse
  - `request_id` string, required — Unique identifier for the request.
  - `error_code` integer, required — Numeric error code representing the status of the response. A value of `200` indicates success. <br> See the [Error Codes](/reference/error-manual#error-codes) section for more information.
  - `error_msg` string, required — Message detailing the status of the response.

## Other responses

- `400` — The reservation is not in pending status, the account authorization has been revoked, or the account is disconnected.
- `404` — The reservation or thirdparty account was not found.

---

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