cio_list_segments
Pack: customer-io · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/cio_list_segments for the schema, then POST the same URL with its arguments for the data.
Return Customer.io audience segments with IDs, names, descriptions, dynamic or manual type, build progress, tags, and timestamps. Answers which audiences are available for targeting or analysis.
Example call
Arguments
{
"_apiKey": "your-customer-io-app-api-key",
"_region": "us"
}
curl
curl -X POST https://gateway.pipeworx.io/customer-io/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cio_list_segments","arguments":{"_apiKey":"your-customer-io-app-api-key","_region":"us"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('cio_list_segments', {
"_apiKey": "your-customer-io-app-api-key",
"_region": "us"
});
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the customer-io pack
{
"mcpServers": {
"customer-io": {
"url": "https://gateway.pipeworx.io/customer-io/mcp"
}
}
}
See Getting Started for client-specific install steps.