# Segment

Twilio Segment is a customer data platform that helps businesses collect, clean, and control their customer data.

- **Category:** analytics
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 17
- **Triggers:** 0
- **Slug:** `SEGMENT`
- **Version:** 20260429_00

## Tools

### Add Labels to Source

**Slug:** `SEGMENT_ADD_LABELS_TO_SOURCE`

Tool to add existing labels to a Source. Use when you have the source ID and want to tag it with metadata labels.

### Segment Alias

**Slug:** `SEGMENT_ALIAS`

Tool to alias a previous user ID to a new user ID. Use when merging anonymous and known identities.

### Batch Segment Analytics Events

**Slug:** `SEGMENT_BATCH`

Tool to send multiple analytics calls in a single batch request. Use when you want to reduce HTTP overhead by batching Identify/Track/Page/Screen/Group calls into one request.

### Delete Source

**Slug:** `SEGMENT_DELETE_SOURCE`

Tool to delete a Segment Source. Use when you need to permanently remove a Source by its ID after confirmation.

### Get Daily Per Source API Calls Usage

**Slug:** `SEGMENT_GET_DAILY_PER_SOURCE_API_CALLS_USAGE`

Tool to fetch daily API call counts per source for a given period. Use when you need daily breakdown of API usage by source after determining the reporting period.

### Get Destination

**Slug:** `SEGMENT_GET_DESTINATION`

Tool to retrieve a Destination by ID. Use when you need to fetch the full configuration of a Segment Destination instance by its unique identifier. Falls back US→EU public API and legacy app endpoint; returns minimal envelope on legacy HTML or parse errors.

### Segment Group

**Slug:** `SEGMENT_GROUP`

Tool to associate an identified user with a group via Segment HTTP Tracking API. Use when grouping users with traits.

### Segment Identify

**Slug:** `SEGMENT_IDENTIFY`

Tool to identify a user and set/update traits via Segment HTTP Tracking API.

### Import Historical Data

**Slug:** `SEGMENT_IMPORT_HISTORICAL_DATA`

Tool to import historical data in bulk with support for historical timestamps. Use when you need to backfill or import past events with their original timestamps into Segment.

### List Connected Warehouses From Source

**Slug:** `SEGMENT_LIST_CONNECTED_WAREHOUSES_FROM_SOURCE`

Tool to list warehouses connected to a Source. Use when you need to retrieve warehouses for a given source ID.

### List Delivery Metrics Summary from Destination

**Slug:** `SEGMENT_LIST_DELIVERY_METRICS_SUMMARY_FROM_DESTINATION`

Get an event delivery metrics summary from a Destination. Primary attempt uses Segment Public API; fallback to legacy app host if needed. On HTML fallback responses, returns a minimal valid envelope to maintain contract.

### List Schema Settings in Source

**Slug:** `SEGMENT_LIST_SCHEMA_SETTINGS_IN_SOURCE`

Retrieve schema configuration settings for a Source.

### Segment Page View

**Slug:** `SEGMENT_PAGE`

Tool to record a page view via Segment HTTP Tracking API. Use when sending page views with optional page name and properties.

### Remove Source Write Key

**Slug:** `SEGMENT_REMOVE_SOURCE_WRITE_KEY`

Tool to remove a write key from a Source. Use when you need to revoke an existing write key for security or rotation.

### Segment Screen Event

**Slug:** `SEGMENT_SCREEN`

Tool to record a mobile app screen view. Use when tracking screen views in a mobile app via Segment HTTP Tracking API.

### Segment Track Event

**Slug:** `SEGMENT_TRACK`

Tool to record a custom user event via Segment HTTP Tracking API. Use when sending events to Segment with valid identity.

### Update Source

**Slug:** `SEGMENT_UPDATE_SOURCE`

Tool to update a Source's metadata and settings. Use when you need to modify an existing Source after confirming its ID.
