Lists

Add new subscriber to list

Changed on

Subscribe a new contact to a specific list.

post/lists/{list_id}/subscribe

Request

  • Base URL
    https://api2.ecomailapp.cz
  • URL
    https://api2.ecomailapp.cz/lists/{list_id}/subscribe
  • Auth
    API key in header key

Path parameters

list_idinteger required

ID of the list.

Request body

trigger_autorespondersboolean

Trigger automations when the subscriber is added.

trigger_notificationboolean

Send a notification about the new subscriber if configured in list settings.

update_existingboolean

Update the subscriber if they already exist in the list.

skip_confirmationboolean

Skip double opt-in confirmation. If false, the system sends a double opt-in email and the subscriber is added with status 6 (unconfirmed).

resubscribeboolean

Force resubscribe if the subscriber was previously unsubscribed (status 2). If status is provided in subscriber_data, it takes precedence. For resubscribe to work, the status must be 1.

Response

OK

idinteger
namestring
surnamestring
emailstring
genderunknown
bounce_softinteger
bounced_hardinteger
bounce_messageunknown
inserted_atstring
already_subscribedboolean

Changes

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /