---
title: "Get lists"
method: GET
path: "/people/2/persons/{personId}/lists"
tags: ["customer-engagement", "people", "custom-attributes-lists"]
deprecated: true
---

# Get lists

`GET /people/2/persons/{personId}/lists`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/people/2/persons/{personId}/lists`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

> **Deprecated.**

Returns all items of a single list or sets of items of a set of lists.

## Path parameters

- `personId` integer, required

## Query parameters

- `listNames` string[], required

## Response `200`

Lists found

## Other responses

- `400`: Bad request: missing or invalid parameter
- `401`: Unauthorized
- `403`: Forbidden
- `404`: <ul><li>no profile with a given personId</li><li>no custom attributes with given listNames</li><li>no instances of list with given listNames</li></ul>
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
