cio_list_segments
Pack: customer-io · Endpoint: https://gateway.pipeworx.io/customer-io/mcp
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, or use one-click install buttons:
{
"mcpServers": {
"customer-io": {
"url": "https://gateway.pipeworx.io/customer-io/mcp"
}
}
}
See Getting Started for client-specific install steps.