---
title: "POST /travel_profile/{user_id}/hotel_loyalty"
method: POST
path: "/travel_profile/{user_id}/hotel_loyalty"
tags: ["travel_profile"]
---

# POST /travel_profile/{user_id}/hotel_loyalty

`POST /travel_profile/{user_id}/hotel_loyalty`

## Request

- Base URL: `https://app.getgoing.com`
- URL: `https://app.getgoing.com/travel_profile/{user_id}/hotel_loyalty`
- Auth: API key in header `Authorization`

## Request body

- AddHotelLoyalty (unresolved $ref)

## Response `200`

add hotel loyalty program

- DetailedHotelLoyaltySchema
  - `id` integer
  - `loyalty_program_id` integer
  - `user_id` integer
  - `loyalty_program_code` string
  - `loyalty_program` BaseLoyaltyProgram (unresolved $ref)

## Other responses

- `422`: Success

---

[API](https://skmtc.dev/getgoing/apis/getgoing-api.md) - [All operations](https://skmtc.dev/getgoing/apis/getgoing-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getgoing/apis/getgoing-api/revisions/7546f102cf69?raw)
