---
title: "Get a list of custom attributes"
method: GET
path: "/people/2/customAttributes"
tags: ["customer-engagement", "people", "custom-attributes"]
---

# Get a list of custom attributes

`GET /people/2/customAttributes`

## 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/customAttributes`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`
  - API key in header `Authorization`
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`

Get a list of custom attributes using this method.

## Query parameters

- `limit` integer
- `page` integer
- `includeTotalCount` boolean
- `orderBy` string

## Response `200`

successful response

- 0797f98960a9d1f4df946ffe53c3c4e3e5cdc1dc56732cd123c79fa96c6ddca1CustomAttributesResponse
  - `customAttributes` 0797f98960a9d1f4df946ffe53c3c4e3e5cdc1dc56732cd123c79fa96c6ddca1IamCustomAttribute[]: List of custom attributes.
    - `createdAt` string: Date and time of creation. Has the following format: yyyy-MM-dd'T'HH:mm:ss.
    - `dataType` 'STRING' | 'DECIMAL' | 'INTEGER' | 'BOOLEAN' | 'DATE' | 'DATE_TIME' | 'LIST_OF_OBJECTS'
    - `modifiedAt` string: Date and time of last modification. Has the following format: yyyy-MM-dd'T'HH:mm:ss.
    - `name` string: Custom attribute name, 256 characters max. Invalid characters: `{}[]`.
    - `objectSchema` object: Object schema for `LIST_OF_OBJECTS` type. Defines the shape of the list items.
  - `limit` integer: Limit how many rows will be returned (but possibly less, if the query itself yields fewer rows)
  - `orderBy` string: Results ordering
  - `page` integer: Page number
  - `totalCount` integer: Total amount of rows

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests
- `500`: Internal Server Error
- `4XX`: Error responses
- `5XX`: Error responses

---

[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)
