update_campaign
Update Campaign
Updates an existing campaign's properties in Laposta. Only the provided fields will be changed.
update_campaign
Updates an existing campaign's properties in Laposta. Only the provided fields will be changed.
delete_subscriber
Permanently removes a subscriber from a Laposta mailing list. This is irreversible.
get_lists
Retrieves mailing lists from Laposta. Provide a **listId** to get a specific list, or omit it to retrieve all lists. Returns list details including subscriber counts by status.
get_segments
Retrieves segments defined on a Laposta mailing list. Provide a **segmentId** to get a specific segment, or omit it to get all segments for the list.
add_subscriber
Adds a new subscriber to a Laposta mailing list. Supports **upsert** mode to update an existing subscriber if the email already exists. Can suppress double opt-in confirmation emails, reactivation of unsubscribed contacts, and email notifications.
delete_field
Permanently deletes a custom field from a Laposta mailing list. All data stored in this field is removed.
update_subscriber
Updates an existing subscriber's data in a Laposta mailing list. Can change email, state, and custom field values.
update_webhook
Updates an existing webhook on a Laposta mailing list. Can change the event type, URL, or blocked state.
delete_list
Permanently deletes a mailing list from Laposta. This removes the list and all associated subscriber data. Use **purge** mode to remove all active subscribers without deleting the list itself.
get_campaign_report
Retrieves performance statistics for sent Laposta campaigns. Provide a **campaignId** to get a specific report, or omit it to get reports for all campaigns. Includes delivery metrics, engagement rates, bounces, and unsubscribes.
get_fields
Retrieves custom fields defined on a Laposta mailing list. Provide a **fieldId** to get a specific field, or omit it to retrieve all fields for the list.
create_field
Creates a new custom field on a Laposta mailing list. Supports text, numeric, date, single-select, and multi-select data types. For select types, provide the available options.
update_segment
Updates an existing segment on a Laposta mailing list. Can change the name and/or the definition.
delete_segment
Permanently deletes a segment from a Laposta mailing list.
send_campaign
Sends or schedules a Laposta campaign. Send immediately or schedule for a specific date and time. You can also send a test email to preview the campaign before dispatching. Re-sending a campaign only delivers to subscribers added since the last send.
set_campaign_content
Sets the HTML content for a Laposta campaign. Content can be provided as raw HTML or imported from a URL. If both are provided, the raw HTML takes precedence. Optionally inlines CSS when importing from a URL.
create_segment
Creates a new segment on a Laposta mailing list based on custom field conditions. Segment definitions use JSON format referencing field values.
update_list
Updates an existing mailing list's properties in Laposta. Only the provided fields will be changed; omitted fields remain unchanged.
get_webhooks
Retrieves webhooks configured on a Laposta mailing list. Provide a **webhookId** to get a specific webhook, or omit it to list all webhooks for the list.
create_list
Creates a new mailing list in Laposta. You can configure notification emails for subscribe/unsubscribe events and optionally lock the list to prevent UI modifications.
create_campaign
Creates a new email campaign in Laposta. After creation, use **Set Campaign Content** to add HTML content and **Send Campaign** to dispatch it. The sender email must be a pre-approved address in your account.
get_campaigns
Retrieves email campaigns from Laposta. Provide a **campaignId** to get a specific campaign, or omit it to list all campaigns.
get_subscribers
Retrieves subscribers from a Laposta mailing list. Provide a **memberId** to fetch a specific subscriber, or retrieve all subscribers optionally filtered by state (active, unsubscribed, cleaned).
delete_webhook
Permanently deletes a webhook from a Laposta mailing list.
update_field
Updates an existing custom field on a Laposta mailing list. Can modify name, data type, display settings, options, and visibility. **Warning:** Changing a field's data type deletes all existing data for that field.
bulk_sync_subscribers
Performs bulk add, update, or unsubscribe operations on subscribers in a Laposta mailing list. Supports up to 500,000 subscribers per request (paid accounts only). The **unsubscribeExcluded** action will unsubscribe all list members not present in the request.
create_webhook
Creates a new webhook on a Laposta mailing list. Webhooks fire when subscriber data changes (subscribe, modify, deactivate). Each webhook targets a single event type and URL.
delete_campaign
Permanently deletes a campaign from Laposta. The campaign can no longer be retrieved after deletion.
Create, send, and track email newsletter campaigns. Manage mailing lists with subscriber counts and notification settings. Add, update, delete, and bulk-synchronize subscribers across lists with support for upsert and double opt-in control. Define custom fields (text, numeric, date, select) on lists and manage select options. Create segments based on custom field conditions. Build campaign content from HTML or URL import with optional CSS inlining, schedule or send campaigns immediately, and send test emails. Retrieve campaign performance reports including opens, clicks, bounces, and unsubscribes. Configure webhooks for subscriber events (subscribed, modified, deactivated).
Common questions about connecting Laposta to AI agents with Metorial.