Skip to main content
POST
Create a New List

Authorizations

Authorization
string
header
required

Your Mailercloud API key (plain text, no Bearer prefix). Create keys in Settings → API.

Headers

Content-Type
string
default:application/json
required

Request body type

Body

application/json
list_type
number
default:1
required

Your List type .

Available Choices

Normal List: 1

name
string
required

Your List name. Only alphanumeric characters, underscore, hyphen, dot and space allowed.

Minimum: 3 Maximum: 100

Required string length: 3 - 100
Pattern: ^[a-zA-Z0-9._ \-]+$/i

Response

Created