cURL
curl --request GET \ --url https://api.embedreach.com/api/segments/user/{externalId}
{ "success": true, "message": "<string>", "data": { "segments": [ { "id": "<string>", "name": "<string>", "conditions": [ { "field": "userId", "value": [ "<string>" ], "operator": "equals", "type": "property" } ], "type": "all_users", "createdAt": "<string>", "updatedAt": "<string>", "description": "<string>" } ] } }
Get all segments a user belongs to by their external ID
Documentation IndexFetch the complete documentation index at: https://docs.embedreach.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.embedreach.com/llms.txt
Use this file to discover all available pages before exploring further.
If using a platform scoped JWT, you can pass in a header to impersonate a specific tenant to impersonate the request as.
The external ID of the user
Status 200 response
Show child attributes