Skip to main content
PUT
https://api2.ecomailapp.cz
/
lists
/
{list_id}
curl -X PUT https://api2.ecomailapp.cz/lists/2 \
  -H "key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Updated name",
    "from_name": "Ecomailapp.cz",
    "from_email": "test@ecomailapp.cz",
    "reply_to": "support@ecomail.cz"
  }'
{
  "id": 2,
  "name": "Updated name",
  "from_name": "Ecomailapp.cz",
  "from_email": "test@ecomailapp.cz",
  "reply_to": "support@ecomail.cz",
  "sub_success_page": null,
  "sub_confirmed_page": null,
  "unsub_page": null,
  "double_optin": null,
  "conf_subject": null,
  "conf_message": null
}
list_id
integer
required
ID of the list.
name
string
required
List name.
from_name
string
Sender name used in emails sent from this list.
from_email
string
Sender email address used in emails sent from this list.
reply_to
string
Reply-to email address.
sub_success_page
string
URL to redirect to after submitting a sign-up form.
sub_confirmed_page
string
URL to redirect to after confirming a sign-up email.
unsub_page
string
URL to redirect to after unsubscribing from the list.
double_optin
boolean
Whether sign-up confirmation (double opt-in) is required.
conf_subject
string
Subject line of the confirmation email.
conf_message
string
HTML content of the confirmation email.
curl -X PUT https://api2.ecomailapp.cz/lists/2 \
  -H "key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Updated name",
    "from_name": "Ecomailapp.cz",
    "from_email": "test@ecomailapp.cz",
    "reply_to": "support@ecomail.cz"
  }'
{
  "id": 2,
  "name": "Updated name",
  "from_name": "Ecomailapp.cz",
  "from_email": "test@ecomailapp.cz",
  "reply_to": "support@ecomail.cz",
  "sub_success_page": null,
  "sub_confirmed_page": null,
  "unsub_page": null,
  "double_optin": null,
  "conf_subject": null,
  "conf_message": null
}