Saltar al contenido
Twexapi
Español
Esc
navegarabrir⌘Jvista previa

Crear lista de Twitter

Crear lista de Twitter.

POST/twitter/list/create
Autorización de API
AuthorizationBearer token · headerrequerido
Token Bearer global para TwexAPI. Incluido como: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
Cuerpo de la solicitud
requeridoapplication/json
cookiestringrequerido
Credenciales de sesión o auth_token autorizadas del propio usuario (BYOC — Bring Your Own Cookie). Ejecución mediante proxy sin estado y con cero retención de credenciales. Consulta [Seguridad y Autenticación](/es/authentication#write-operations--byoc-bring-your-own-cookie) y [Cómo obtener la Cookie](https://youtube-promotion.pages.dev/how-to-get-twitter-cookie).
list_namestringrequerido
The name of the list.
list_descriptionstringrequerido
The description of the list.
is_privatebooleanrequerido
Whether the list is private.
Respuestas
200A list object.
codeintegerrequerido
Código de estado HTTP (200 indica éxito)
msgstringrequerido
Mensaje de respuesta (ej. 'success')
dataListModelrequerido
Carga de datos devuelta por el endpoint
Mostrar propiedades
idstringrequerido
The ID of the list
namestringrequerido
Nombre mostrado del usuario
descriptionstringrequerido
Biografía del perfil
is_privatebooleanrequerido
Whether the list is private
member_countintegerrequerido
The number of members in the list
subscriber_countintegerrequerido
The number of subscribers in the list
422Error de validación de parámetros
detailValidationError[]
Mostrar propiedades
Array of ValidationError
locstring | integer[]requerido
Mostrar propiedades
Array of string | integer
Any of:
string
string
integer
integer
msgstringrequerido
Mensaje de respuesta (ej. 'success')
typestringrequerido
inputany
ctxobject
Consola interactivaPOST
Consola interactiva / Probar APIPOST
Live Console
🌐Servidor objetivo:https://api.twexapi.io
● Producción lista
✍️
Guía de credenciales de escritura (Clave TwexAPI + Cookie de Twitter)

1. Clave de TwexAPI (Bearer Token): Ingrésela en "Autorización API" abajo para facturación y autenticación.

2. Cookie de cuenta Twitter: Para operaciones de escritura (tuitear, dar me gusta, seguir), ingrese la Cookie (ej. auth_token=...; ct0=...) en el campo cookie abajo.

🔑Autorización API
📝Cuerpo de la solicitudapplication/json
📡
暂无响应数据

请在「请求配置」中确认参数后,点击底部的「发送请求」按钮。

Solicitud
curl -X POST "https://api.twexapi.io/twitter/list/create" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "cookie": "ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7",
  "list_name": "string",
  "list_description": "string",
  "is_private": true
}'
Respuesta
{
  "code": 0,
  "msg": "string",
  "data": {
    "id": "string",
    "name": "string",
    "description": "string",
    "is_private": true,
    "member_count": 0,
    "subscriber_count": 0
  }
}