v1

latestOpenAPI 3.1.02026-07-26620219.6 KB

Get Segments API endpoint

The Get Segments endpoint fetches a list of all segments for a specified store, including metadata, from both Yotpo SMS & Email and Yotpo Loyalty.

get/core/v3/{store_id}/segments

Path parameters

store_idstring required

The store ID (app_key)

Response

200

idstring
namestring
created_atstring
updated_atstring

Example response

[
  {
    "id": "4094944",
    "name": "My new segment",
    "created_at": "2022-08-29T09:25:42",
    "updated_at": "2022-08-29T09:25:42"
  }
]