---
ref: tool:hubspot/add-to-segment
name: Add records to a segment
company: company:hubspot
workflows: []
access: [mcp, api]
tags: [capability:build-audience, category:crm, has:api, has:mcp]
docs: https://developers.hubspot.com/docs/api-reference/latest/crm/lists/memberships/add-to-list
updated: 2026-09-26
---

# Add records to a segment

Adds contacts or other records, by ID, to a static segment (list).

HubSpot now calls lists segments. Add records to `MANUAL` or `SNAPSHOT` segments; `DYNAMIC` segments are kept in line with their filters. The MCP tool can also create a static segment, and it asks the user to confirm each write.

## Set up

Use the first option your agent supports.

### MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

```json
{ "mcpServers": { "hubspot": { "url": "https://mcp.hubspot.com" } } }
```

Call the MCP tool `manage_segment`.

Server URL: https://mcp.hubspot.com

### API (official)

- Base URL: https://api.hubapi.com
- Endpoint: `PUT /crm/lists/2026-09/{listId}/memberships/add`
- Auth: send the header `Authorization: Bearer $HUBSPOT_API_KEY`
- Docs: https://developers.hubspot.com/docs/api-reference/latest/overview

Before doing anything else, make one read-only call to confirm access.

## Rules

- Ask the user before anything that sends messages, costs money, or changes data.
- Never print API keys.
