Create
Create List
POST
/tw-v2/list/createDescription
Create a list for the authenticated Twitter/X account.
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
| authToken | string | required | Account authentication token (auth_token cookie value) |
| name | string | required | List name, up to 25 characters |
| description | string | optional | Optional list description, up to 100 characters. Defaults to an empty string. |
| isPrivate | boolean | optional | Whether the list should be private. Defaults to true. |
Code Examples
const body = {
authToken: 'YOUR_AUTH_TOKEN',
name: 'Market Watch',
description: 'Accounts to monitor for market updates',
isPrivate: true
};
const response = await fetch('https://api.tweetapi.com/tw-v2/list/create', {
method: 'POST',
headers: {
'X-API-Key': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify(body)
});
const data = await response.json();
console.log(data);
Response
Success Response (200 OK)
200
{
"data": {
"id": "9004718786321977501",
"name": "Market Watch",
"description": "Accounts to monitor for market updates",
"mode": "private",
"memberCount": 0,
"subscriberCount": 0,
"createdAt": "2026-06-22T10:12:00.000Z",
"owner": {
"id": "10017528",
"username": "sample_user_96991",
"name": "Sample User 96991",
"avatar": "https://example.com/images/sample-avatar-96991.jpg",
"verified": false,
"isBlueVerified": true,
"isProtected": false
},
"bannerUrl": null,
"defaultBannerMedia": null,
"facepileUrls": [],
"slug": "",
"uri": ""
}
}API Playground
POST
/tw-v2/list/createSensitive Credentials Required
Requires your Twitter authToken. Use a test account.
Press ⌘ + Enter to execute
curl -X POST "https://api.tweetapi.com/tw-v2/list/create" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json"Response
Click "Try It!" to see the response