Segment is a customer data platform that helps companies collect, clean, and route customer data to hundreds of tools used for analytics, marketing, and data warehousing.
APIs.json: https://raw.githubusercontent.com/api-evangelist/segment/refs/heads/main/apis.yml
- Modified: 2026-05-19
The Segment Public API allows developers to programmatically manage Segment workspaces and their resources. It supports full CRUD operations for sources, destinations, warehouses, tracking plans, and catalog entries. The API follows REST conventions with standard HTTP methods and predictable resource-oriented URLs. It is available for Team and Business tier customers and is the recommended API going forward, replacing the older Config API.
- Human URL: https://docs.segmentapis.com/
- Base URL:
https://api.segmentapis.com
- Analytics
- Customer Data
- Destinations
- Sources
- Workspace Management
- Documentation
- OpenAPI — OpenAPI Specification
- Postman Collection — Postman Collection 2.1
- Open Collection — Open Collection 1.0
The Segment HTTP Tracking API enables developers to record analytics data from any website or application by sending HTTP requests directly to Segment servers. It supports identify, track, page, screen, group, and alias calls, and Segment routes the collected data to configured destinations. The API accepts batch requests up to 500 KB and requires each payload to include a userId or anonymousId. It is a server-side alternative to Segment's client-side SDKs.
- Human URL: https://www.twilio.com/docs/segment/connections/sources/catalog/libraries/server/http-api
- Base URL:
https://api.segment.io
- Analytics
- Customer Data
- Events
- Tracking
- Documentation
- OpenAPI — OpenAPI Specification
- Postman Collection — Postman Collection 2.1
- Open Collection — Open Collection 1.0
- AsyncAPI — AsyncAPI Specification
The Segment Profile API provides a single endpoint to read user-level and account-level customer data from Segment Unify. Developers can query the entire user or account object programmatically, including external IDs, traits, and events that make up a user's journey. The API uses basic authentication and typically delivers p95 response times under 200ms for the traits endpoint. It is commonly used for real-time personalization and customer data retrieval.
- Human URL: https://www.twilio.com/docs/segment/unify/profile-api
- Base URL:
https://profiles.segment.com
- Customer Data
- Identity Resolution
- Profiles
- Unify
- Documentation
- OpenAPI — OpenAPI Specification
- Postman Collection — Postman Collection 2.1
- Open Collection — Open Collection 1.0
The Segment Config API allows programmatic management of Segment workspaces, sources, destinations, and other configuration resources. It provides endpoints to list workspace sources and destinations, create or delete destinations, and manage tracking plans. As of early 2024, Segment has stopped issuing new Config API tokens and recommends migrating to the Public API for access to the latest features. The Config API remains functional for existing users but is no longer actively developed.
- Human URL: https://www.twilio.com/docs/segment/api/config-api
- Base URL:
https://platform.segmentapis.com
- Configuration
- Destinations
- Legacy
- Sources
- Workspace Management
- Documentation
- OpenAPI — OpenAPI Specification
- Postman Collection — Postman Collection 2.1
- Open Collection — Open Collection 1.0
The Segment Pixel Tracking API provides a way to collect analytics data using image pixel requests, which is useful in environments where JavaScript cannot execute, such as email clients. It supports identify, track, page, screen, group, and alias calls through pixel endpoints under the api.segment.io domain. This API is particularly suited for tracking email opens, ad impressions, and other contexts where embedding a tracking pixel is the only viable data collection method.
- Human URL: https://www.twilio.com/docs/segment/connections/sources/catalog/libraries/server/pixel-tracking-api
- Base URL:
https://api.segment.io
- Analytics
- Pixel
- Tracking