curl --request POST \
--url https://api.twitterapi.io/twitter/create_community_v2 \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"login_cookie": "<string>",
"name": "<string>",
"description": "<string>",
"proxy": "<string>"
}'
{
"community_id": "<string>",
"status": "<string>",
"msg": "<string>"
}
Create a community.You must set the login_cookie.You can get the login_cookie from /twitter/user_login_v2.Trial operation price: $0.003 per call.
curl --request POST \
--url https://api.twitterapi.io/twitter/create_community_v2 \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"login_cookie": "<string>",
"name": "<string>",
"description": "<string>",
"proxy": "<string>"
}'
{
"community_id": "<string>",
"status": "<string>",
"msg": "<string>"
}
Login response
The response is of type object
.