Customer Segments

  • List customer segments

  • Retrieve customer segment

Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In

<- Customer Segments API

Customer Segments API

All versions ->

Retrieve customer segment

GET

 /v2/customers/segments/{segment_id}

Retrieves a specific customer segment as identified by the segment_id value.

Permissions:CUSTOMERS_READ

Guide

Retrieve segment membership information for a customer

Try in API Explorer
Link to section

Path parameters

Example code

Link to section

segment_id

string

Required

The Square-issued ID of the customer segment.

Link to section

Response fields

Link to section

errors

Any errors that occurred during the request.

Link to section

segment

The retrieved customer segment.

Link to section

Examples

All versions ->

GET /v2/customers/segments/{segment_id}
curl https://connect.squareup.com/v2/customers/segments/GMNXRZVEXNQDF.CHURN_RISK \ -H 'Square-Version: 2026-11-18' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ -H 'Content-Type: application/json'

Response JSON

{ "segment": { "id": "GMNXRZVEXNQDF.CHURN_RISK", "name": "Lapsed", "created_at": "2020-01-09T19:33:24.469Z", "updated_at": "2020-04-13T23:01:13Z" } }