Laposta icon

Laposta

Interact with Laposta API

Member → Create or Update

AI-generated

Summary

Upsert a member into a Laposta list, creating a new record or updating an existing one matched by email

Inputs

  • listId (required) — The ID of the Laposta list
  • email (required) — Email address of the member
  • options — Behaviour flags affecting the upsert logic; each flag is mapped to body.options keys in the API request
  • customFieldsUi — Additional custom fields to associate with the member; if provided with values, they are sent as body.custom_fields

Output shape

JSON response from the Laposta API representing the member record after creation or update

The returned JSON contains the member data as stored/updated in Laposta, including any applied options (e.g., opt-in status, suppression flags)

Examples

Example 1: Create a new member in list L123 with email test@example.com, ignoring double opt-in

listId=L123, email=test@example.com, options={ignore_doubleoptin:true}, customFieldsUi empty

Links

Discussion