create_topic
Create a subscription topic for contacts to opt into individually through the preference center.
Instructions
Create a new subscription topic. Contacts opt into topics individually via the preference center.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "create_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name shown to contacts | |
| slug | No | URL-safe slug (auto-derived from name if omitted) | |
| apiKey | No | Send16 API key (overrides SEND16_API_KEY env var) | |
| isDefault | No | Auto-subscribe new contacts to this topic | |
| description | No | Description shown in the preference center |