cURL
curl --request POST \ --url https://api.twitterxapi.com/twitter/list/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "cookie": "<string>", "list_name": "<string>", "list_description": "<string>", "is_private": true }'
{ "code": 123, "msg": "<string>", "data": { "id": "<string>", "name": "<string>", "description": "<string>", "is_private": true, "member_count": 123, "subscriber_count": 123 } }
Create a list
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A list object.
The response is of type object.
object