by Klaviyo
Subscribe profiles to marketing
Records marketing consent for up to 1,000 profiles on email, SMS, WhatsApp or push, optionally adding them to a list.
Updated Sep 27, 2026
subscribe-profiles.md
Subscribe profiles to marketing
Records marketing consent for up to 1,000 profiles on email, SMS, WhatsApp or push, optionally adding them to a list.
Note: Also removes unsubscribe, spam-report and user suppressions, and double opt-in lists send a confirmation first. The MCP tool takes one profile per call. To add to a list without touching consent, use add_profiles_to_list.
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.
{ "mcpServers": { "klaviyo": { "url": "https://mcp.klaviyo.com/mcp" } } }
Call the MCP tool subscribe_profile_to_marketing.
Server URL: https://mcp.klaviyo.com/mcp
CLI (official)
Install the command, then confirm it runs.
go install github.com/klaviyo/klaviyo-cli/cmd/klaviyo@latest
klaviyo --version
Run klaviyo profiles bulk-subscribe-profiles.
Set $KLAVIYO_API_KEY in your environment first (get a key: https://www.klaviyo.com/create-private-api-key).
API (official)
- Base URL: https://a.klaviyo.com
- Endpoint:
POST /api/profile-subscription-bulk-create-jobs - Auth: send the header
Authorization: Klaviyo-API-Key $KLAVIYO_API_KEY - Get a key: https://www.klaviyo.com/create-private-api-key
- Docs: https://developers.klaviyo.com/en/reference/api_overview
Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
- Never print API keys.