Look up a user's profile traits from the Segment Profiles API (Unify)

domain: segment.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Enable Unify in the Segment workspace and note the Space ID from the Unify settings page.
  2. Authenticate using HTTP Basic Authentication with a Profile API access token as the username and an empty string as the password.
  3. Query a user's traits by sending GET https://profiles.segment.com/v1/spaces/{space_id}/collections/users/profiles/{id_type}:{id_value}/traits — where id_type can be user_id, anonymous_id, or a custom external ID.
  4. Use the include query parameter (e.g., ?include=email,plan) to request only the specific traits you need, improving latency; append ?limit=200 to retrieve up to 200 traits in one response.
  5. Parse the traits object from the response; if a trait is absent, the user profile exists but that trait has not been set.

Known gotchas

Related routes

Look up a unified individual profile using the Salesforce Data Cloud Profile API
developer.salesforce.com · 6 steps · unrated
Query unified profile data from Salesforce Data Cloud using the Query API
developer.salesforce.com · 6 steps · unrated
Retrieve association profile information via the CINC Systems API
cincapidocumentation.netlify.app · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans