Method
POST /v1/comms/lists
Bearer token (requires comms:write).
Body Parameters
Name of the list (max 255 characters).
Optional description (max 1000 characters).
Source of the list: manual, import, signup_form, api. Defaults to manual.
Enable double opt-in for new subscribers. Defaults to false.
Request Example
curl -X POST "https://api.voyantcloud.com/v1/comms/lists" \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Newsletter Subscribers",
"description": "Main newsletter list",
"doubleOptIn": true
}'
Response Example
{
"id": "lists_01J0CBFPXW7SP2N8A9Q7T2048Q",
"workspace_id": "workspaces_01HZYPM2QF2R8X9SZQ0J9SYBCN",
"name": "Newsletter Subscribers",
"description": "Main newsletter list",
"source": "manual",
"double_opt_in": true,
"member_count": 0,
"created_at": "2025-01-08T10:22:31.000Z",
"updated_at": "2025-01-08T10:22:31.000Z"
}