Update an action

Partially update an existing action (letter or form). All request body fields are optional — only the fields you supply are changed. Fields omitted from the request retain their current values.

source_list_id — optional source list change:

  • Pass 0 to revert to automatic (letter: source = the send's target list; form: source = the form's parent list).
  • Pass a specific list ID to fix the source list.
  • Omit entirely to keep the current source list setting unchanged.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

ID of the action

Body Params

All fields are optional — only supplied fields are updated. Works for both letter actions and form actions.

string
enum

The type can only be changed among subscribe, unsubscribe, update, external and delete; the type of an ai_prompt, task, ticket, payment or voice action is fixed at creation.

string
string
enum

Letter trigger (applicable to letter actions only).

Allowed:
integer

Source list change. Optional.

  • 0: revert to automatic — for letter actions: source = the send's target list; for form actions: source = the form's parent list.
  • Specific ID: fix the source list to this value.
  • Omit: keep the current source list setting unchanged.
integer

New target list — the contact will be subscribed to / unsubscribed from / updated in / deleted from this list.

fields
array of objects
fields
string
string
enum
Allowed:
string
string
boolean
source_segments
array of integers

New source segment IDs (form actions only). Update semantics:

  • Omit: keep existing segments unchanged.
  • [] (empty array): clear all segments (disable filtering).
  • Non-empty array: replace existing segments.
source_segments
string
enum

Logical connector between source segments — form actions only (omit to keep existing).

Allowed:
source_segment_negated_ids
array of integers

Subset of source_segments to negate. Must be a subset of the source_segments provided.

source_segment_negated_ids
target_segments
array of integers

New target segment IDs. Update semantics:

  • Omit: keep existing segments unchanged.
  • [] (empty array): clear all segments (disable filtering).
  • Non-empty array: replace existing segments.
target_segments
string
enum

Logical connector between target segments (omit to keep existing).

Allowed:
target_segment_negated_ids
array of integers

Subset of target_segments to negate. Must be a subset of the target_segments provided.

target_segment_negated_ids
source_condition
object | null

Custom condition of one side of an action, in the same structure as the conditions of the Segments API (see the Segments API for field types and operators).
On create and update: {"groups": []} or null means no condition (on update it removes the existing one). The side must not also have *_segments.

target_condition
object | null

Custom condition of one side of an action, in the same structure as the conditions of the Segments API (see the Segments API for field types and operators).
On create and update: {"groups": []} or null means no condition (on update it removes the existing one). The side must not also have *_segments.

boolean

Only for update actions — subscribe the contact to the target list when it is not on it yet ("Ha nincs a listán, iratkoztassa fel"). Omit to keep the stored value.

execution
object

The execution settings of an action ("Végrehajtás módja"). In a response every setting is present (overwrite_mode only for update actions). In a create or update request every setting is optional; an omitted one keeps its stored value (a new action: every_occurrence, first, non_empty_values, all flags false).

external
object

Every setting of an external action, in the keys the action editor stores them. All values are strings. Which keys apply depends on ea_type:

ea_typeSettings
rest (RESTful, általános)ea_rest_url (required), ea_rest_username, ea_rest_password*, ea_rest_dataformat (json, post, get, shoprenter), ea_senddata, ea_headerdata
taskmanas rest; ea_rest_url must be one of the account's own Taskman scripts
cm (Cégmenedzser, letter actions only)ea_cm_username, ea_cm_password*, ea_cm_function (RegisterPartner, HirlevelLeirat), ea_senddata, ea_headerdata
membermouseea_membermouse_apiurl, ea_membermouse_username(API key), ea_membermouse_password (API secret), ea_membermouse_method (create_member, update_membership_status, add_bundle, remove_bundle), ea_membermouse_membership_levelid, ea_membermouse_update_mstatus (1–5), ea_membermouse_bundleid
restrictcontentproea_restrictcpro_apiurl, ea_restrictcpro_username, ea_restrictcpro_password*, ea_restrictcpro_method (create_member, delete_member, add_membership_level, delete_membership_level, update_membership_level), ea_restrictcpro_membership_levelid, ea_restrictcpro_update_mstatus (active, pending, cancelled, expired)
webshippyea_webshippy_method (create, update, delete) — the source list must be an order list with the integration
boxyea_boxy_method (create, update, delete) — as webshippy
unasea_unas_shopid (an own shop), ea_unas_endpoint, ea_unas_requestbody (all required)
salesautopilot (SalesAutopilot API)sa_api_target (0 own account, 1 another account), ea_rest_username_sa and ea_rest_password_sa* (another account only), ea_rest_method (subscribe, saveOrder, update, delete), ea_rest_nl_id (target list), ea_rest_ns_id (form; not for delete), ea_rest_insert_type (0 same field names, 1 field pairs), ea_rest_field_pairs ({"<target field>": "<source field>"}, with insert type 1)

* secret: never returned. In a response saved_secrets lists the secrets that are set. In a request an omitted or empty secret keeps the stored one; clear_secrets deletes it.

crm

The settings of a create_task or a create_ticket action.

payment
object

The settings of a set_recurring_date, set_recurring_price or set_recurring_frequency action; see the introduction for the keys of each type.

eleven_labs
object
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json