Add Contact to Segment
add-contact-to-segmentAdd a contact to a Resend segment using a contact ID or email address to organize recipients for targeted email sending.
Instructions
Add a contact to a segment in Resend (by contact ID or email).
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": {
"segmentId": "<segmentId>"
},
"name": "add-contact-to-segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Contact email address | ||
| contactId | No | Contact ID | |
| segmentId | Yes | Segment ID to add the contact to |