Segment
communityCustomer data platform for collecting, cleaning, and routing user data to analytics and marketing tools.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
POST
https://api.segment.io/v1/trackTrack a user event
Parameters
eventevent name (stringrequireduserIduser identifier (stringrequiredtimestampISO8601 (stringoptionalpropertiesevent properties (objectoptionalReturns
success booleanPOST
https://api.segment.io/v1/identifyIdentify a user with traits
Parameters
traitsuser traits like nameoptional— email (objectuserIduser identifier (stringrequiredtimestampISO8601 (stringoptionalReturns
success booleanGET
https://profiles.segment.com/v1/spaces/{space_id}/collections/users/profiles/{user_id}/traitsGet unified user profile
Parameters
user_iduser identifier (stringrequiredspace_idspace ID (stringrequiredReturns
traits with all identified properties, computed traits, audiences