Create a List

Create a new subscriber list by submitting general details, optional sender defaults, notification preferences information. Required fields must be included for a successful request.

➕ Create a List

Create a new subscriber list under your account.

🔹 HTTP Request

POST API-URL/lists

🔸 Authorization Header

Include your customer API key:

X-API-KEY: your-api-key-here

📝 POST Parameters

Parameter
Type
Required
Description

data

array

Yes

Array containing list details. Accepts general, defaults, and notifications blocks.


📦 general Block (Required)

Parameter
Type
Required
Description

name

string

Yes

Name of the list.

description

string

No

List description


📦 defaults Block (Optional)

Parameter
Type
Required
Description

from_name

string

Yes

Sender's name.

from_email

string

Yes

Sender's email address.

reply_to

string

Yes

Reply-to email address.

subject

string

No

Default subject line.


📦 notifications Block (Optional)

Parameter
Type
Required
Description

subscribe

Yes/No

No

Notify on new subscriber (yes or no).

unsubscribe

Yes/No

No

Notify on unsubscribe (yes or no).

subscribe_to

string

No

Email address to receive subscribe notifications.

unsubscribe_to

string

No

Email address to receive unsubscribe notifications.


💻 PHP Example

📦 Sample JSON Response


Last updated