Skip to main content
POST
/
contact-lists
curl --request POST \
  --url https://api.autosend.com/v1/contact-lists \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Newsletter Subscribers",
  "description": "Users who signed up for the weekly newsletter",
  "type": "list"
}'
{
  "success": true,
  "data": {
    "id": "60d5ec49f1b2c72d9c8b4567",
    "name": "Newsletter Subscribers",
    "description": "Users who signed up for the weekly newsletter",
    "type": "list",
    "contactCount": 0,
    "createdAt": "2026-03-17T10:30:00.000Z",
    "updatedAt": "2026-03-17T10:30:00.000Z"
  }
}
curl --request POST \
  --url https://api.autosend.com/v1/contact-lists \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Newsletter Subscribers",
  "description": "Users who signed up for the weekly newsletter",
  "type": "list"
}'
{
  "success": true,
  "data": {
    "id": "60d5ec49f1b2c72d9c8b4567",
    "name": "Newsletter Subscribers",
    "description": "Users who signed up for the weekly newsletter",
    "type": "list",
    "contactCount": 0,
    "createdAt": "2026-03-17T10:30:00.000Z",
    "updatedAt": "2026-03-17T10:30:00.000Z"
  }
}

Authorizations

Authorizations
string | header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

Contact list or segment data
name
string
required
Name of the contact list (max 200 characters). Must be unique within the project.Maximum length: 200Example: "Newsletter Subscribers"
description
string
Description of the contact list (max 500 characters).Maximum length: 500Example: "Users who signed up for the weekly newsletter"
type
string
Type of contact list.Allowed values: list, segmentDefault: "list"Example: "list"
filterCriteria
object
Filter criteria for segments. Required when type is segment.
parentId
string
ID of the parent contact list (for creating sub-segments).Example: "60d5ec49f1b2c72d9c8b4567"

Response

Contact list created successfully
success
boolean
Indicates if the request was successfulExample: true
data
object
The created contact list object