# Twilio SendGrid Marketing Campaigns Segments API API

> Twilio SendGrid Marketing Campaigns Segments API API on Apizie: 3 endpoints (Get List of Segments, Get Segment by ID, Delete Segment) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/communication:sendgrid-mc-segments-v3/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `communication:sendgrid-mc-segments-v3`
- Category: Communication
- Status: byok
- Source: https://www.twilio.com/docs/sendgrid/api-reference
- Page: https://apizie.tech/api/communication/sendgrid-mc-segments-v3
- OpenAPI: https://apizie.tech/api/communication/sendgrid-mc-segments-v3/openapi.json

This API was deprecated on December 31, 2022. Following deprecation, all segments created in the Marketing Campaigns user interface began using the [Segmentation v2…

## Endpoints

### Get List of Segments
`GET https://apizie.tech/v1/communication:sendgrid-mc-segments-v3/list-segment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| ids | array | no | A list of segment IDs to retrieve. When this parameter is included, the `no_parent_list_ids` and `parent_list_ids` parameters are ignored… |
| parent_list_ids | string | no | A comma separated list of list ids to be used when searching for segments with the specified parent_list_id, no more than 50 is allowed |
| no_parent_list_id | boolean | no | If set to `true` segments with an empty value of `parent_list_id` will be returned in the filter. If the value is not present it defaults… |

### Get Segment by ID
`GET https://apizie.tech/v1/communication:sendgrid-mc-segments-v3/get-segment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| segment_id | string | yes |  |
| query_json | boolean | no | Defaults to `false`. Set to `true` to return the parsed SQL AST as a JSON object in the field `query_json` |

### Delete Segment
`POST https://apizie.tech/v1/communication:sendgrid-mc-segments-v3/delete-segment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| segment_id | string | yes |  |

## Example
```
curl "https://apizie.tech/v1/communication:sendgrid-mc-segments-v3/list-segment" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Twilio SendGrid Marketing Campaigns Segments API API?
Create a free Apizie key, then send GET https://apizie.tech/v1/communication:sendgrid-mc-segments-v3/list-segment with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Twilio SendGrid Marketing Campaigns Segments API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Twilio SendGrid Marketing Campaigns Segments API itself also needs your own key from sendgrid.com.

### Can AI agents use the Twilio SendGrid Marketing Campaigns Segments API API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key communication:sendgrid-mc-segments-v3.

### What is the status of the Twilio SendGrid Marketing Campaigns Segments API API?
Needs your own provider key (bring your own key)
