Tool
mail_contact_create
Add a contact to an audience
Add a contact to an audience
Behavior
- HTTP
POST /mail/audiences/:audienceId/contacts
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| string | • | Contact email address | |
| properties | object | — | Custom key/value properties (e.g. first_name, last_name) |
| audience_id | string | • | Audience the contact belongs to |
| unsubscribed | boolean | — | Marketing opt-out flag |
Response
| Field | Type | Always | Description |
|---|---|---|---|
| id | string | • | |
| string | • | ||
| createdAt | string | • | |
| updatedAt | string | • | |
| audienceId | string | • | |
| properties | string | — | |
| unsubscribed | boolean | • |
Try it
Add a contact to an audience.