Create Topic
create-topicCreate a subscription topic to organize email categories, setting a default opt-in or opt-out preference for new contacts.
Instructions
Create a new topic in Resend. Topics allow contacts to manage their subscription preferences for different types of emails.
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>",
"defaultSubscription": "<defaultSubscription>"
},
"name": "create-topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Topic name (max 50 characters) | |
| description | No | Topic description (max 200 characters) | |
| defaultSubscription | Yes | Default subscription preference for new contacts. Cannot be modified after creation. |