# New Customers API Features in GA 😃

**URL:** <https://developer.squareup.com/forums/t/new-customers-api-features-in-ga/7940>\
**Category:** Announcements\
**Tags:** customers-api\
**Created:** [December 14, 2022, 6:46pm UTC](https://developer.squareup.com/forums/t/new-customers-api-features-in-ga/7940 "2022-12-14T18:46:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wootmoot](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/wootmoot/32/21_2.png) [@wootmoot](https://developer.squareup.com/forums/u/wootmoot)\
**Post date:** [December 14, 2022, 6:46pm UTC](https://developer.squareup.com/forums/t/new-customers-api-features-in-ga/7940/1 "2022-12-14T18:46:46Z")

</div>

We’re excited to announce 2 fresh new GA releases for Customers API - Search by Custom Attributes and Search by Segment ID.

## Customers API: Search by Custom Attributes

Use the SearchCustomers endpoint to search and return customer profiles based on their custom attributes. Look up customer profiles with specific allergies, preferences, or any other custom attributes stored in the Square Customer Directory to take personalized actions.

Check out [the docs](https://developer.squareup.com/docs/customers-api/use-the-api/search-customers#search-by-custom-attribute).

> **[Search for Customer Profiles](https://developer.squareup.com/docs/customers-api/use-the-api/search-customers#search-by-custom-attribute)**
>
> Use the Square Customers API to search for customers using one or more supported query filters.

## Customers API: Search by Segment ID

We’ve added a new Segment ID filter to the SearchCustomer endpoint, enabling you to search for customer profiles based on segments created in the Square Customer Directory. Filter for customer profiles based on purchasing history segments, loyalty account segments, or other segments to be used for running targeted initiatives and unlocking robust insights.

Check out [the docs](https://developer.squareup.com/docs/customers-api/use-the-api/search-customers).

> **[Search for Customer Profiles](https://developer.squareup.com/docs/customers-api/use-the-api/search-customers)**
>
> Use the Square Customers API to search for customers using one or more supported query filters.

---

<div class="post-metadata">

**Author:** ![wootmoot](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/wootmoot/32/21_2.png) [@wootmoot](https://developer.squareup.com/forums/u/wootmoot)\
**Post date:** [December 14, 2022, 6:46pm UTC](https://developer.squareup.com/forums/t/new-customers-api-features-in-ga/7940/2 "2022-12-14T18:46:54Z")

</div>

Pinned globally on December 14, 2022, 6:46pm UTC


