Add List

The section describes the JSON request to add a new list

Required to Submit JSON Request

Username

The email that account holder uses to login SMTP PLANS

API Token

The API token user has generated using API Configuration section

Method

POST

Path

https://portal.smtp-plans.com/API/addList


Field Details

Label/ Variable

Priority

Description

list_name

Required

Name of the subscriber list you are going to add.

list_owner_name

Required

Name of the person who owns the list

list_reply_email

Required

The email address where you want to receive and collect the replies from the recipients.  

list_bounce_email

Required

Bounce email address where you want to receive and collect the bounced/ non-delivery report for this list.

list_owner_email

Required

Email address associated with the owner of the list, it is also used as “From Email” of the list owner.

Success Response

You’ll get the following JSON response upon submitting valid information to add subscriber list.

Status value for successfully added list will be- “success”
Data Returned-"List ID" 

{"status":"success","response":{"List ID":"8"}}

Erroneous Response

When you submit request with inappropriate, incorrect information.

Status value for unsuccessful submission will be-"error” 
Data Returned- Text based message describing reason of unsuccessful response

{"status":"error","response":"Owner Email is required to create list"}
{"status":"error","response":"List Name is required to create list"}

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Add Subscriber

The section describes the JSON request to add a new subscriber to a list Required to Submit...

Delete Subscriber

The section describes the JSON request to delete a subscriber from a list Required to Submit...

Get Subscriber

The section describes the JSON request to get a subscriber detail Required to Submit JSON...

Get Subscribers

The section describes the JSON request to get multiple subscribers Required to Submit JSON...

Update Subscriber

The section describes the JSON request to update a subscriber Required to Submit JSON Request...