---
title: "POST /domains/{DomainName}/profiles/objects"
method: POST
path: "/domains/{DomainName}/profiles/objects"
---

# POST /domains/{DomainName}/profiles/objects

`POST /domains/{DomainName}/profiles/objects`

Returns a list of objects associated with a profile of a given ProfileObjectType.

## Path parameters

- `DomainName` string, required

## Query parameters

- `next-token` string
- `max-results` integer

## Request body

- object
  - `ObjectTypeName` string, required — The name of the profile object type.
  - `ProfileId` string, required — The unique identifier of a customer profile.
  - `ObjectFilter` object — The filter applied to ListProfileObjects response to include profile objects with the specified index values. This filter is only supported for ObjectTypeName _asset, _case and _order.
    - `KeyName` string — A searchable identifier of a standard profile object. The predefined keys you can use to search for _asset include: _assetId, _assetName, _serialNumber. The predefined keys you can use to search for _case include: _caseId. The predefined keys you can use to search for _order include: _orderId.
    - `Values` String1To255[] — A list of key values.

## Response `200`

Success

- ListProfileObjectsResponse
  - `Items` ListProfileObjectsItem[] — The list of ListProfileObject instances.
    - `ObjectTypeName` string — Specifies the kind of object being added to a profile, such as "Salesforce-Account."
    - `ProfileObjectUniqueKey` string — The unique identifier of the ProfileObject generated by the service.
    - `Object` string — A JSON representation of a ProfileObject that belongs to a profile.
  - `NextToken` string — The pagination token from the previous call to ListProfileObjects.

## Other responses

- `480` — BadRequestException
- `481` — AccessDeniedException
- `482` — ResourceNotFoundException
- `483` — ThrottlingException
- `484` — InternalServerException

---

[API](https://skmtc.net/aws/apis/customer-profiles.md) · [All operations](https://skmtc.net/aws/apis/customer-profiles/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/customer-profiles/versions/471944106c88/schema)
