---
title: "Create a booking share link"
method: POST
path: "/v1/bookings/{publicId}/share"
tags: ["bookings"]
---

# Create a booking share link

`POST /v1/bookings/{publicId}/share`

## Request

- Base URL: `https://api.getmyhotels.com`
- URL: `https://api.getmyhotels.com/v1/bookings/{publicId}/share`
- Auth: HTTP bearer

Runs `booking.createShareLink`; owner-only. Returns a `shareUrl` for the system share sheet — without it the app can only share plain text (#926). Calling again ROTATES the token, so every previously shared link dies immediately. Both PII opt-ins default to false: `includeGuests` adds the guest names and `includeRequests` the special requests to the public page, so only send them when the customer asked for it. Send `{}` to share the stay without either.

## Path parameters

- `publicId` string, required

## Request body

- object
  - `includeGuests` boolean
  - `includeRequests` boolean

## Response `200`

Success

- unknown

## Other responses

- `400`: Request validation failed or the router rejected the input
- `401`: Missing or invalid bearer session token
- `404`: Resource not found
- `426`: Reported X-GMH-App-Version is below the supported minimum — the app must update
- `500`: Unexpected server error (opaque; details stay in logs)

---

[API](https://skmtc.dev/getmyhotels/apis/getmyhotels-rest-api.md) · [All operations](https://skmtc.dev/getmyhotels/apis/getmyhotels-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getmyhotels/apis/getmyhotels-rest-api/revisions/cba24a9c13f0?raw)
