NAiOS IconNAiOS Logo
Contacto
Contacto

Suscríbete a la newsletter

Novedades de IA y de producto. Sin spam, puedes darte de baja cuando quieras.

Consejo: usa tu email de empresa para una respuesta más relevante.

Comprobando seguridad…
NAiOS Icon
NAiOS Logo

El primer integrador de IA para empresas reales. Conecta todas tus herramientas de IA de forma segura y escalable.

+34 695482054info@naios.netinfo@netretina.ai
LinkedInNAiOS AcademyNetretina.AiContact UsX

Plataforma

  • Características
  • Integraciones
  • Planes y precios

Empresa

  • Sobre nosotros
  • Blog
  • Contacto

Compliance

  • Reglamento Europeo de IA
  • Transparencia de IA

Legal

  • Aviso legal
  • Política de privacidad
  • Términos y condiciones
  • Política de cookies
  • Devoluciones

© 2026 NAiOS. Todos los derechos reservados.

Un producto de Netretina.Ai

    Volver al catálogo

    Lettr

    lettr

    Lettr is an email and messaging platform for transactional delivery, templates, audiences, campaigns, domains, and webhooks.

    Transactional EmailMarketing AutomationWeb del proveedor
    Acciones
    60
    Triggers
    0
    Autenticación
    —
    OAuth gestionado
    No
    Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

    Acciones disponibles (60)

    Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

    Attach Contacts to ListsLETTR_ATTACH_CONTACTS_TO_LISTSAcción

    Attach every combination of 1-1000 contacts and 1-50 audience lists, processing up to 50,000 contact-list pairs and reporting new and existing memberships.

    Parámetros de entrada

    • list_idsstring[]Obligatorio

      IDs of 1-50 team-owned audience lists. Every contact in contact_ids is attached to every list.

    • contact_idsstring[]Obligatorio

      IDs of 1-1000 team-owned contacts to attach. Every contact is attached to every list in list_ids.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Bulk Create Audience ContactsLETTR_BULK_CREATE_AUDIENCE_CONTACTSAcción

    Create or recognize up to 1000 normalized, deduplicated contacts. Shared properties affect only newly created contacts; list_id applies to all contacts, including those that already exist.

    Parámetros de entrada

    • emailsstring[]Obligatorio

      Email addresses to normalize, deduplicate, and create (1-1000).

    • list_idstringuuid

      Optional team-owned audience list UUID to attach every contact to.

    • propertiesobject

      Custom property values applied identically only to newly created contacts; existing contacts are not updated. Each value is at most 1000 characters.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Cancel Scheduled EmailLETTR_CANCEL_SCHEDULED_EMAILAcción

    Cancel a scheduled email before its delivery time; cancellation is unavailable once processing has begun.

    Parámetros de entrada

    • transmission_idstringObligatorio

      Transmission ID returned by SCHEDULE_EMAIL.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create Audience ContactLETTR_CREATE_AUDIENCE_CONTACTAcción

    Create one audience contact with optional properties and list membership.

    Parámetros de entrada

    • emailstringObligatorioemail

      Contact email address.

    • list_idstringuuid

      Optional team-owned audience list UUID to attach the new contact to.

    • propertiesobject

      Custom values keyed by property names already defined for the team; each value is at most 1000 characters.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create Audience Contact With Double Opt-InLETTR_CREATE_AUDIENCE_CONTACT_WITH_DOUBLE_OPT_INAcción

    Create an unverified audience contact and irreversibly send an external confirmation email; the contact becomes subscribed only after confirming.

    Parámetros de entrada

    • emailstringObligatorioemail

      Contact email address.

    • list_idstringuuid

      Optional team-owned audience list UUID to attach the new contact to.

    • propertiesobject

      Custom values keyed by property names already defined for the team; each value is at most 1000 characters.

    • double_opt_inobjectObligatorio

      Required confirmation-email settings. The contact remains unverified until the recipient confirms.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create Audience ListLETTR_CREATE_AUDIENCE_LISTAcción

    Create a uniquely named audience list for grouping contacts.

    Parámetros de entrada

    • namestringObligatorio

      List name, which must be unique within the team.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create Audience PropertyLETTR_CREATE_AUDIENCE_PROPERTYAcción

    Define a custom contact property with an immutable name and value type. Changing either later requires deleting and recreating the property.

    Parámetros de entrada

    • namestringObligatorio

      Immutable property key. It must start with a lowercase letter and use only lowercase letters, numbers, and underscores.

    • property_typestringObligatorioenum

      Immutable value type. The optional fallback_value remains a string and is interpreted according to this type.

      stringnumberbooleandatejson
    • fallback_valuestring

      Optional fallback string interpreted according to property_type, or null for no fallback.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create Audience SegmentLETTR_CREATE_AUDIENCE_SEGMENTAcción

    Create a dynamic audience segment whose condition groups are ANDed while conditions inside each group are ORed.

    Parámetros de entrada

    • namestringObligatorio

      Segment name.

    • list_idstringuuid

      Optional team-owned audience list restriction. Omit or pass null to evaluate contacts across all lists.

    • conditionsobjectObligatorio

      Dynamic segment definition using ANDed groups of ORed conditions.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create Audience TopicLETTR_CREATE_AUDIENCE_TOPICAcción

    Create a public or private subscription topic with an immutable opt-in or opt-out default.

    Parámetros de entrada

    • namestringObligatorio

      Topic name.

    • visibilitystringenum

      Whether the topic appears on public subscription pages.

      privatepublic
    • descriptionstring

      Optional explanation shown for the topic.

    • default_subscriptionstringenum

      Immutable default for newly created contacts: opt_in requires explicit subscription; opt_out subscribes contacts by default.

      opt_inopt_out

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create DomainLETTR_CREATE_DOMAINAcción

    Register a sending domain and return the DNS configuration needed to verify it.

    Parámetros de entrada

    • domainstringObligatorio

      Root or subdomain to register as a sending domain.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create TemplateLETTR_CREATE_TEMPLATEAcción

    Create and publish an email template from either custom HTML or Topol editor JSON, extracting its merge tags.

    Parámetros de entrada

    • htmlstring

      Custom HTML content; provide exactly one of html or editor_json.

    • namestringObligatorio

      Template name.

    • folder_idinteger

      Destination folder; defaults to the project's first folder.

    • project_idinteger

      Destination project; defaults to the team's default project.

    • editor_jsonstring

      Topol editor JSON string; provide exactly one of editor_json or html.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create WebhookLETTR_CREATE_WEBHOOKAcción

    Create an active event webhook using no authentication, HTTP Basic credentials, or OAuth 2 client credentials.

    Parámetros de entrada

    • urlstringObligatoriouri

      Public HTTPS callback URL where Lettr sends webhook events.

    • namestringObligatorio

      Human-readable webhook name.

    • eventsstring[]

      Canonical fully-prefixed event names; required when events_mode is selected.

    • auth_typestringObligatorioenum

      Authentication Lettr uses when calling the webhook.

      nonebasicoauth2
    • events_modestringObligatorioenum

      Receive all event types or only the event types listed in events.

      allselected
    • auth_passwordstring

      Basic-auth password; required when auth_type is basic.

    • auth_usernamestring

      Basic-auth username; required when auth_type is basic.

    • oauth_client_idstring

      OAuth 2 client ID; required when auth_type is oauth2.

    • oauth_token_urlstringuri

      HTTPS OAuth 2 token URL; required when auth_type is oauth2.

    • oauth_client_secretstring

      OAuth 2 client secret; required when auth_type is oauth2.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete Audience ContactLETTR_DELETE_AUDIENCE_CONTACTAcción

    Permanently delete one audience contact and its associated memberships.

    Parámetros de entrada

    • contact_idstringObligatoriouuid

      Contact ID to permanently delete.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete Audience ListsLETTR_DELETE_AUDIENCE_LISTSAcción

    Permanently delete between 1 and 50 audience lists in one request.

    Parámetros de entrada

    • list_idsstring[]Obligatorio

      IDs of 1-50 audience lists to permanently delete; every list must belong to the connected team.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete Audience PropertyLETTR_DELETE_AUDIENCE_PROPERTYAcción

    Permanently delete a custom contact-property definition.

    Parámetros de entrada

    • property_idstringObligatoriouuid

      Property ID to permanently delete.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete Audience SegmentLETTR_DELETE_AUDIENCE_SEGMENTAcción

    Permanently delete one dynamic audience segment.

    Parámetros de entrada

    • segment_idstringObligatoriouuid

      Segment ID to permanently delete.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete Audience TopicLETTR_DELETE_AUDIENCE_TOPICAcción

    Permanently delete one audience subscription topic.

    Parámetros de entrada

    • topic_idstringObligatoriouuid

      Topic ID to permanently delete.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete DomainLETTR_DELETE_DOMAINAcción

    Permanently remove a sending domain from Lettr and SparkPost so it can no longer send email.

    Parámetros de entrada

    • domainstringObligatorio

      Registered domain to permanently remove.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete TemplateLETTR_DELETE_TEMPLATEAcción

    Permanently delete an email template and all of its versions.

    Parámetros de entrada

    • project_idinteger

      Project containing the template; defaults to the team's default project.

    • template_slugstringObligatorio

      Template slug to permanently delete.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete WebhookLETTR_DELETE_WEBHOOKAcción

    Permanently remove a webhook so Lettr stops delivering events to it.

    Parámetros de entrada

    • webhook_idstringObligatorio

      Webhook ID to permanently remove.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Detach Contacts from ListsLETTR_DETACH_CONTACTS_FROM_LISTSAcción

    Detach every combination of 1-1000 contacts and 1-50 audience lists, reporting removed and absent memberships.

    Parámetros de entrada

    • list_idsstring[]Obligatorio

      IDs of 1-50 team-owned audience lists. Every contact in contact_ids is detached from every list.

    • contact_idsstring[]Obligatorio

      IDs of 1-1000 team-owned contacts to detach. Every contact is detached from every list in list_ids.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get Audience ContactLETTR_GET_AUDIENCE_CONTACTAcción

    Retrieve one contact's email, status, custom properties, list memberships, and topic subscriptions by ID.

    Parámetros de entrada

    • contact_idstringObligatoriouuid

      Contact ID returned by CREATE_AUDIENCE_CONTACT or LIST_AUDIENCE_CONTACTS.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get Audience ListLETTR_GET_AUDIENCE_LISTAcción

    Retrieve one audience list and its current contact count by ID.

    Parámetros de entrada

    • list_idstringObligatoriouuid

      Audience list ID returned by CREATE_AUDIENCE_LIST or LIST_AUDIENCE_LISTS.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get Audience PropertyLETTR_GET_AUDIENCE_PROPERTYAcción

    Retrieve one custom contact-property definition and its fallback value.

    Parámetros de entrada

    • property_idstringObligatoriouuid

      Property ID returned by CREATE_AUDIENCE_PROPERTY or LIST_AUDIENCE_PROPERTIES.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get Audience SegmentLETTR_GET_AUDIENCE_SEGMENTAcción

    Retrieve one dynamic segment's list restriction, complete AND-of-OR condition definition, and cached contact count.

    Parámetros de entrada

    • segment_idstringObligatoriouuid

      Segment ID returned by CREATE_AUDIENCE_SEGMENT or LIST_AUDIENCE_SEGMENTS.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get Audience TopicLETTR_GET_AUDIENCE_TOPICAcción

    Retrieve one subscription topic's defaults, visibility, and current contact count.

    Parámetros de entrada

    • topic_idstringObligatoriouuid

      Topic ID returned by CREATE_AUDIENCE_TOPIC or LIST_AUDIENCE_TOPICS.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get CampaignLETTR_GET_CAMPAIGNAcción

    Retrieve one campaign's name, subject, sender and reply-to configuration, schedule, rendered HTML, lifecycle state, recipient counts, and engagement statistics. The campaign's audience definition is not returned.

    Parámetros de entrada

    • campaign_idstringObligatoriouuid

      Campaign ID returned by LIST_CAMPAIGNS.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get DomainLETTR_GET_DOMAINAcción

    Retrieve one sending domain's send readiness, DNS records, provider detection, and verification status.

    Parámetros de entrada

    • domainstringObligatorio

      Registered sending domain name.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get EmailLETTR_GET_EMAILAcción

    Retrieve a sent email's delivery state, recipients, schedule metadata, and events by request ID. The configurable event date range defaults to the last 10 days, not the email's complete event history.

    Parámetros de entrada

    • to_datestringdate

      End of the event date range; defaults upstream to now.

    • from_datestringdate

      Start of the event date range; defaults upstream to 10 days ago.

    • request_idstringObligatorio

      Request ID returned by SEND_EMAIL.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get Scheduled EmailLETTR_GET_SCHEDULED_EMAILAcción

    Retrieve a scheduled email's current state and events by transmission ID, including after it has been processed.

    Parámetros de entrada

    • transmission_idstringObligatorio

      Transmission ID returned by SCHEDULE_EMAIL.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get TemplateLETTR_GET_TEMPLATEAcción

    Retrieve an email template's metadata, active HTML or editor JSON content, and version counts by slug.

    Parámetros de entrada

    • project_idinteger

      Project containing the template; defaults to the team's default project.

    • template_slugstringObligatorio

      Template slug returned by CREATE_TEMPLATE or LIST_TEMPLATES.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get Template Merge TagsLETTR_GET_TEMPLATE_MERGE_TAGSAcción

    Return required and optional merge tags for a template's active or specified version before sending with substitution data.

    Parámetros de entrada

    • versioninteger

      Template version; defaults to the active version.

    • project_idinteger

      Project containing the template; defaults to the team's default project.

    • template_slugstringObligatorio

      Template slug whose variables should be inspected.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get WebhookLETTR_GET_WEBHOOKAcción

    Retrieve one webhook's target, enabled state, event selection, authentication mode, and latest delivery status.

    Parámetros de entrada

    • webhook_idstringObligatorio

      Webhook ID returned by CREATE_WEBHOOK or LIST_WEBHOOKS.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List Audience ContactsLETTR_LIST_AUDIENCE_CONTACTSAcción

    Return one cursor-controlled page of contacts, optionally filtered by search text, status, list, or segment.

    Parámetros de entrada

    • cursorstring

      Pass the previous response's next_cursor to fetch the next page; omit for the first page.

    • searchstring

      Search text matched against the contact's email address or name.

    • statusstringenum

      Only return contacts with this subscription or delivery status.

      subscribedunsubscribedbouncedcomplainedunverified
    • list_idstringuuid

      Only return contacts attached to this team-owned audience list UUID.

    • per_pageinteger

      Maximum contacts to return in this page (1-100).

    • segment_idstringuuid

      Only return contacts matching this team-owned audience segment UUID.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List Audience ListsLETTR_LIST_AUDIENCE_LISTSAcción

    Return one cursor-controlled page of audience lists with each list's contact count.

    Parámetros de entrada

    • cursorstring

      Pass the previous response's next_cursor to fetch the next page; omit for the first page.

    • per_pageinteger

      Maximum audience lists to return in this page (1-100).

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List Audience PropertiesLETTR_LIST_AUDIENCE_PROPERTIESAcción

    Return one cursor-controlled page of custom contact-property definitions and fallback values.

    Parámetros de entrada

    • cursorstring

      Pass the previous response's next_cursor to fetch the next page; omit for the first page.

    • per_pageinteger

      Maximum property definitions to return in this page (1-100).

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List Audience SegmentsLETTR_LIST_AUDIENCE_SEGMENTSAcción

    Return one cursor-controlled page of dynamic audience segments, including their complete AND-of-OR condition definitions, optionally filtered by list.

    Parámetros de entrada

    • cursorstring

      Pass the previous response's next_cursor to fetch the next page; omit for the first page.

    • list_idstringuuid

      Only return segments restricted to this team-owned audience list UUID.

    • per_pageinteger

      Maximum segments to return in this page (1-100).

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List Audience TopicsLETTR_LIST_AUDIENCE_TOPICSAcción

    Return one cursor-controlled page of subscription topics with defaults, visibility, and contact counts.

    Parámetros de entrada

    • cursorstring

      Pass the previous response's next_cursor to fetch the next page; omit for the first page.

    • per_pageinteger

      Maximum topics to return in this page (1-100).

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List Campaign EventsLETTR_LIST_CAMPAIGN_EVENTSAcción

    Return one cursor-controlled page of a campaign's delivery and engagement events, with event, recipient, and time filters. An empty items page can still have a next_cursor; continue until next_cursor is null.

    Parámetros de entrada

    • emailstringemail

      Only return events for this recipient email address.

    • limitinteger

      Maximum campaign events to return in this page (1-100).

    • cursorstring

      Pass the previous response's next_cursor to fetch the next page; omit for the first page.

    • end_datestring

      Inclusive ISO 8601 upper bound. A date-only value includes the entire UTC day.

    • event_typestringenum

      Only return events of this type.

      injectiondeliverybouncespam_complaintopenclicklist_unsubscribe
    • start_datestring

      Inclusive ISO 8601 lower bound. A date-only value means the start of that UTC day.

    • campaign_idstringObligatoriouuid

      Campaign whose events should be returned.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List CampaignsLETTR_LIST_CAMPAIGNSAcción

    Return one cursor-controlled page of campaigns with complete delivery and engagement statistics, optionally filtered by lifecycle status.

    Parámetros de entrada

    • cursorstring

      Pass the previous response's next_cursor to fetch the next page; omit for the first page.

    • statusstringenum

      Only return campaigns in this lifecycle state.

      draftscheduledpreparingin_reviewsendingsentfailed
    • per_pageinteger

      Maximum campaigns to return in this page (1-100).

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List DomainsLETTR_LIST_DOMAINSAcción

    Return all sending domains with approval, DNS verification, and send-readiness status.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List Email EventsLETTR_LIST_EMAIL_EVENTSAcción

    Return one cursor-controlled page of delivery and engagement events across sent emails, with event, recipient, transmission, bounce, and date filters.

    Parámetros de entrada

    • cursorstring

      Pass the previous response's next_cursor to fetch the next page; omit for the first page.

    • to_datestring

      End of the ISO 8601 date range; defaults upstream to now.

    • per_pageinteger

      Maximum events to return in this page (1-100).

    • from_datestring

      Start of the ISO 8601 date range; defaults upstream to 10 days ago.

    • recipientsstring[]

      Recipient email addresses to include.

    • event_typesstring[]

      Event types to include.

    • bounce_classesinteger[]

      Bounce classification codes to include.

    • transmission_idstring

      Only include events for this email request or transmission ID.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List Sent EmailsLETTR_LIST_EMAILSAcción

    Return one cursor-controlled page of sent emails, optionally filtered by recipient and date range.

    Parámetros de entrada

    • cursorstring

      Pass the previous response's next_cursor to fetch the next page; omit for the first page.

    • to_datestring

      Include emails sent on or before this ISO 8601 date.

    • per_pageinteger

      Maximum sent-email records to return in this page (1-100).

    • from_datestring

      Include emails sent on or after this ISO 8601 date; defaults upstream to 10 days ago.

    • recipientstring

      Only include emails sent to this recipient email address.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List ProjectsLETTR_LIST_PROJECTSAcción

    Return one cursor-controlled page of Lettr projects and their IDs for use with template operations.

    Parámetros de entrada

    • cursorstring

      Pass the previous response's next_cursor to fetch the next page; omit for the first page.

    • per_pageinteger

      Maximum projects to return in this page (1-100).

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List TemplatesLETTR_LIST_TEMPLATESAcción

    Return one cursor-controlled page of email templates for a project or the team's default project.

    Parámetros de entrada

    • cursorstring

      Pass the previous response's next_cursor to fetch the next page; omit for the first page.

    • per_pageinteger

      Maximum templates to return in this page (1-100).

    • project_idinteger

      Project to list; defaults to the team's default project.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List WebhooksLETTR_LIST_WEBHOOKSAcción

    Return all event webhooks with target, enabled state, event selection, authentication mode, and latest delivery status.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Publish Template VersionLETTR_PUBLISH_TEMPLATE_VERSIONAcción

    Create and activate a new version of an existing email template from exactly one of HTML or Topol editor JSON, optionally renaming the template atomically.

    Parámetros de entrada

    • htmlstring

      HTML content for the new active version; provide exactly one content format.

    • namestring

      Optional new template name applied atomically with the published version.

    • project_idinteger

      Project containing the template; defaults to the team's default project.

    • editor_jsonstring

      Topol editor JSON for the new active version; provide exactly one content format.

    • template_slugstringObligatorio

      Template slug to update.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Schedule CampaignLETTR_SCHEDULE_CAMPAIGNAcción

    Schedule a campaign for future delivery or reschedule it. The campaign dispatches automatically at that time unless it is unscheduled first.

    Parámetros de entrada

    • campaign_idstringObligatoriouuid

      Campaign ID to schedule or reschedule.

    • scheduled_atstringObligatoriodate-time

      Future delivery time in ISO 8601 format. Include a timezone offset or Z; Lettr interprets a value without an offset as UTC.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Schedule EmailLETTR_SCHEDULE_EMAILAcción

    Create a transactional email scheduled 5 minutes to 3 days in the future; it remains cancellable until processed.

    Parámetros de entrada

    • ccstring[]

      Carbon-copy recipient email addresses.

    • tostring[]Obligatorio

      Recipient email addresses, up to 50.

    • bccstring[]

      Blind-carbon-copy recipient email addresses.

    • tagstring

      Tracking and analytics tag.

    • htmlstring

      HTML body; provide html, text, or template_slug.

    • textstring

      Plain-text body; provide html, text, or template_slug.

    • headersobject

      Up to 10 custom email headers. Envelope, Lettr-managed, X-MSYS-API, List-Unsubscribe, and List-Unsubscribe-Post headers are forbidden.

    • optionsobject

      Email tracking, rendering, and delivery options.

    • subjectstring

      Subject line; required unless template_slug is provided.

    • amp_htmlstring

      Optional AMP HTML body.

    • metadataobject

      Custom string metadata for tracking.

    • reply_tostringemail

      Reply-to email address.

    • from_namestring

      Sender display name.

    • from_emailstringObligatorioemail

      Verified sender email address.

    • project_idinteger

      Project containing template_slug; defaults to the team's default project.

    • attachmentsobject[]

      File attachments with filename, MIME type, and base64 data.

    • scheduled_atstringObligatoriodate-time

      Send time in ISO 8601 format with a timezone offset, at least 5 minutes and at most 3 days in the future. Any offset is accepted and converted to UTC before it is sent to Lettr.

    • reply_to_namestring

      Reply-to display name.

    • template_slugstring

      Template whose active HTML and default subject should be used.

    • template_versioninteger

      Specific template version; defaults to the active version.

    • substitution_dataobject

      Values for template substitution in email content.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Send CampaignLETTR_SEND_CAMPAIGNAcción

    Immediately and irreversibly start sending a sendable draft campaign to its resolved audience. Only call after confirming the campaign's audience, subject, sender email, and content. A successful 202 response transitions the campaign asynchronously to preparing and the external send cannot be undone.

    Parámetros de entrada

    • campaign_idstringObligatoriouuid

      Draft campaign ID to send now. Before calling, verify its audience, subject, sender email, and content because a successful request starts an irreversible external send.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Send EmailLETTR_SEND_EMAILAcción

    Immediately queue a transactional email to up to 50 recipients using inline content or a Lettr template. This is an irreversible external send.

    Parámetros de entrada

    • ccstring[]

      Carbon-copy recipient email addresses.

    • tostring[]Obligatorio

      Recipient email addresses, up to 50.

    • bccstring[]

      Blind-carbon-copy recipient email addresses.

    • tagstring

      Tracking tag, up to 64 characters.

    • htmlstring

      HTML body; provide html, text, or template_slug.

    • textstring

      Plain-text body; provide html, text, or template_slug.

    • headersobject

      Up to 10 custom email headers. Envelope headers and Lettr-managed headers cannot be set.

    • optionsobject

      Tracking, transactional, CSS, and substitution options.

    • subjectstring

      Subject line; required unless template_slug supplies one.

    • amp_htmlstring

      Optional AMP HTML body.

    • metadataobject

      Custom string metadata for tracking.

    • reply_tostringemail

      Reply-to email address.

    • from_namestring

      Sender display name.

    • from_emailstringObligatorioemail

      Verified sender email address.

    • project_idinteger

      Project containing template_slug; defaults to the team's default project.

    • attachmentsobject[]

      Attachments containing a filename, MIME type, and base64 data.

    • reply_to_namestring

      Reply-to display name.

    • template_slugstring

      Template whose active HTML and default subject should be used.

    • template_versioninteger

      Specific template version; defaults to the active version.

    • substitution_dataobject

      Values for template merge tags.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Unschedule CampaignLETTR_UNSCHEDULE_CAMPAIGNAcción

    Cancel a scheduled campaign send and return the campaign to draft. The campaign must still be scheduled; this cannot stop one already preparing or sending.

    Parámetros de entrada

    • campaign_idstringObligatoriouuid

      Currently scheduled campaign ID to return to draft.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update Audience ContactLETTR_UPDATE_AUDIENCE_CONTACTAcción

    Change a contact's email, subscribed or unsubscribed status, or selected custom property values. Provide at least one of email, status, or properties; a null value inside properties removes that property.

    Parámetros de entrada

    • emailstringemail

      New email address, which must remain unique within the team.

    • statusstringenum

      New subscription status. Bounced, complained, and unverified cannot be assigned with this action.

      subscribedunsubscribed
    • contact_idstringObligatoriouuid

      Contact ID to update.

    • propertiesobject

      Custom property values to update by team-defined property name. Each string is at most 1000 characters; set a value to null to remove that property.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update Audience ListLETTR_UPDATE_AUDIENCE_LISTAcción

    Rename an audience list while preserving its contacts.

    Parámetros de entrada

    • namestringObligatorio

      New list name, which must remain unique within the team.

    • list_idstringObligatoriouuid

      Audience list ID to rename.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update Audience PropertyLETTR_UPDATE_AUDIENCE_PROPERTYAcción

    Set or clear a custom contact property's fallback value. Its name and data type cannot be changed.

    Parámetros de entrada

    • property_idstringObligatoriouuid

      Property ID to update.

    • fallback_valueanyObligatorio

      New fallback value, or null to clear the fallback.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update Audience SegmentLETTR_UPDATE_AUDIENCE_SEGMENTAcción

    Change a dynamic segment's name, optional audience-list restriction, or complete AND-of-OR condition definition. Provide at least one of these mutable fields; setting list_id to null removes the list restriction.

    Parámetros de entrada

    • namestring

      New segment name.

    • list_idstringuuid

      New team-owned list restriction, or null to evaluate contacts across all lists.

    • conditionsobject

      Complete replacement condition definition.

    • segment_idstringObligatoriouuid

      Segment ID to update.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update Audience TopicLETTR_UPDATE_AUDIENCE_TOPICAcción

    Change a subscription topic's name, description, or public/private visibility. Provide at least one of these mutable fields; setting description to null clears it. Its default subscription behavior cannot be changed.

    Parámetros de entrada

    • namestring

      New topic name.

    • topic_idstringObligatoriouuid

      Topic ID to update.

    • visibilitystringenum

      Whether the topic appears on public subscription pages.

      privatepublic
    • descriptionstring

      New topic description; explicitly set this to null to clear it.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update TemplateLETTR_UPDATE_TEMPLATEAcción

    Rename an email template's metadata without publishing a new version.

    Parámetros de entrada

    • namestringObligatorio

      New template name.

    • project_idinteger

      Project containing the template; defaults to the team's default project.

    • template_slugstringObligatorio

      Template slug to update.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update WebhookLETTR_UPDATE_WEBHOOKAcción

    Partially update a webhook's name, callback URL, authentication, selected events, or active state. Provide at least one field to update.

    Parámetros de entrada

    • urlstringuri

      New public HTTPS callback URL.

    • namestring

      New webhook name.

    • activeboolean

      Whether Lettr should deliver events to this webhook.

    • eventsstring[]

      Replacement list of canonical fully-prefixed event names.

    • auth_typestringenum

      New callback authentication mode. Setting basic requires auth_username and auth_password; setting oauth2 requires oauth_token_url, oauth_client_id, and oauth_client_secret.

      nonebasicoauth2
    • webhook_idstringObligatorio

      Webhook ID to update.

    • auth_passwordstring

      Replacement Basic-auth password; required when auth_type is basic. Without auth_type, rotates credentials for an existing Basic webhook. This secret is sent to Lettr but never returned by this tool.

    • auth_usernamestring

      Replacement Basic-auth username; required when auth_type is basic. Without auth_type, rotates credentials for an existing Basic webhook.

    • oauth_client_idstring

      Replacement OAuth 2 client ID; required when auth_type is oauth2. Without auth_type, rotates credentials for an existing OAuth 2 webhook.

    • oauth_token_urlstringuri

      Replacement HTTPS OAuth 2 token endpoint URL; required when auth_type is oauth2. Without auth_type, rotates credentials for an existing OAuth 2 webhook.

    • oauth_client_secretstring

      Replacement OAuth 2 client secret; required when auth_type is oauth2. Without auth_type, rotates credentials for an existing OAuth 2 webhook. This secret is sent to Lettr but never returned by this tool.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Verify DomainLETTR_VERIFY_DOMAINAcción

    Run Lettr's DNS verification for a registered domain and return DKIM, CNAME, DMARC, SPF, and ownership results.

    Parámetros de entrada

    • domainstringObligatorio

      Registered domain whose current DNS records should be checked.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not