This API request returns a list of all segments that a specific user is a member of.
Request Type: GET
Response Format: JSON
useriq-api-key (required): Your valid API key generated from the Site settings page
- user_id: The user_id of the account to be updated with the associated custom data attribute (Note: this should match the value passed in the UserIQ tracking code as 'user-id').
Example cURL Request:
curl \Example Result
-H "Content-type: application/json" \
-H "useriq-api-key: 572d7372829a3211a73d9c2cb790ffe3" \
"member_segments": [ ... ]
200: OK. Request processed successfully
400: Bad Request. API request could not be understood by the server.
401: Unauthorized. Invalid API access token.