Skip to main content
Glama

Mailmodo

Official
by mailmodo

broadcastCampaignToList

Trigger email campaigns to specific contact lists or segments using a single API request. Personalize content with dynamic variables and ensure safe retries with unique idempotency keys.

Instructions

The broadcast campaign API allows the user to trigger campaigns to the entire contact list using a single API request.

Input Schema

NameRequiredDescriptionDefault
campaignIdYesCampaign id of the campaign to be triggered
campaign_dataNoOptional set of personalization parameters for the campaign. Each key represents a variable (e.g., "first_name") to be used in the email template. If a key is missing, the backend will fetch values from contact properties or default to an empty string.
idempotencyKeyNoOptional unique key to allow retries of the same campaign within 24 hours. Allows safe resending. For example: "2024-09-05T17:00:00Z".
listIdYesId of the contact list or segment for which the campaign should be triggered.
subjectNoOptional subject line of the campaign. This will appear as the subject of the email sent to recipients.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "campaignId": { "description": "Campaign id of the campaign to be triggered", "type": "string" }, "campaign_data": { "additionalProperties": { "type": "string" }, "description": "Optional set of personalization parameters for the campaign. Each key represents a variable (e.g., \"first_name\") to be used in the email template. If a key is missing, the backend will fetch values from contact properties or default to an empty string.", "type": "object" }, "idempotencyKey": { "description": "Optional unique key to allow retries of the same campaign within 24 hours. Allows safe resending. For example: \"2024-09-05T17:00:00Z\".", "type": "string" }, "listId": { "description": "Id of the contact list or segment for which the campaign should be triggered.", "type": "string" }, "subject": { "description": "Optional subject line of the campaign. This will appear as the subject of the email sent to recipients.", "type": "string" } }, "required": [ "campaignId", "listId" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mailmodo/mailmodo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server