Skip to main content
POST
/
x
/
communities
/
{id}
/
join
Join community
curl --request POST \
  --url https://api.example.com/x/communities/{id}/join \
  --header 'Content-Type: <content-type>' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "account": "<string>"
}
'
10 credits per call · All plans from $0.00012/credit
curl -X POST https://xquik.com/api/v1/x/communities/1893726451023847424/join \
  -H "x-api-key: xq_YOUR_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "account": "myxhandle"
  }' | jq

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.
Content-Type
string
required
Must be application/json.

Path parameters

id
string
required
The ID of the community to join.

Body

account
string
required
The connected X account to join the community with. Must be a username you have connected to your Xquik account.

Response

communityId
string
The ID of the community joined.
communityName
string
The name of the community joined.
success
boolean
Always true on success.
{
  "communityId": "1893726451023847424",
  "communityName": "Crypto Traders Hub",
  "success": true
}
Related endpoints: Leave Community to leave a community, Create Community to create a new community, Delete Community to remove a community you own.