---
title: "Get hotel ids mapped for your account"
method: GET
path: "/api/v1/hotelcontent/ids"
tags: ["HotelContent"]
---

# Get hotel ids mapped for your account

`GET /api/v1/hotelcontent/ids`

Returns 1000 hotel ids at a time. Use nextKey for retrieving more ids

## Query parameters

- `nextKey` string, nullable
- `lastSyncDate` string, date-time, required
- `idType` 'New' | 'Modified' | 'Removed', required

## Headers

- `api-key` string, required
- `customer-id` string, required
- `affiliate-id` string, required
- `user-ip` string, required
- `correlation-id` string, required

## Response `200`

Success

- HotelIdsResponse — Hotel Ids response
  - `ids` string[], nullable
  - `nextKey` string, nullable

## Other responses

- `400` — ClientSideError
- `500` — ServerSideError

---

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