---
title: "Get Location allowlist IDs, in ascending order, one cursor-paginated page at a time."
method: GET
path: "/allowlist"
tags: ["Allowlist"]
---

# Get Location allowlist IDs, in ascending order, one cursor-paginated page at a time.

`GET /allowlist`

## Request

- Base URL: `https://terra.tripadvisor.com/api`
- URL: `https://terra.tripadvisor.com/api/allowlist`
- Auth: API key in header `X-API-Key`

Get Location allowlist IDs, in ascending order, one cursor-paginated page at a time.

## Query parameters

- `size` integer
- `cursor` string

## Response `200`

location IDs from the allowlist and the cursor of the next page, if any

- CursorPageResponseInteger: One page of a cursor-paginated collection. To read the following page, send <code>pagination.next_cursor</code> back as the <code>cursor</code> request parameter; the end of the collection is reached when it is absent. A page can be shorter than <code>pagination.size</code> while <code>next_cursor</code> is still present, but never empty.
  - `data` integer[], required
  - `pagination` CursorPageMetadata, required
    - `next_cursor` string: Opaque cursor for the next page. Absent when there are no more pages. Do not parse or build it; only send it back unchanged.
    - `size` integer: Maximum number of items requested for this page.

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

---

[API](https://skmtc.dev/tripadvisor/apis/account-api.md) - [All operations](https://skmtc.dev/tripadvisor/apis/account-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tripadvisor/apis/account-api/revisions/71b828dc252e?raw)
