Skip to content

List user segments for a user

Request

Lists all user segments for a given userId.

Security
ZephrHmacHttp
Path
userIdstringrequired

Unique User identifier

Example:3f589a2d-86ad-4b70-a5df-68dca75a3a21
cURL
curl -i -X GET \
  https://demo.api.zephr.com/v4/users/3f589a2d-86ad-4b70-a5df-68dca75a3a21/segments \
  -H 'Authorization: ZEPHR-HMAC-* <YOUR_TOKEN_HERE>'

Responses

OK

Headers
any
Bodyapplication/json
itemsArray of objects(User_Segment_Response)
Response
{ "items": [ { … } ] }