Social

X/Twitter Community Manager

Manage X/Twitter Communities as a connected account: create a new community, join or leave an existing one, or delete a community you own.

post/api/tools/x_community

Request

  • Base URL: https://twitr.sh
  • URL: https://twitr.sh/api/tools/x_community
  • Auth: none declared. Required headers: Idempotency-Key

Headers

Idempotency-Keystring required

Unique key per logical action. A retry with the same key replays the original result (10-minute window) instead of acting or charging twice.

Request body

action'create' | 'join' | 'leave' | 'delete' required

Which community action.

accountstring required

A connected X handle owned by this wallet (no @).

namestring

create: the community name.

descriptionstring

create: optional community description.

community_idstring

join|leave|delete: the community ID.

community_namestring

delete: the community name, as confirmation.

Response

Result dataset.

itemsobject[] required

Array of returned items. Shape varies per tool — see each tool's documentation.

runIdstring

Run ID for debugging/audit.

durationinteger

Run duration in seconds.

Changes

No recorded changes to this operation across all 1 revision of this API.