WA Client
POST

Promote Admin

Promote participants to admin.

API endpoint
https://waclient.com/api/promote_community_admin
Example:
curl -X POST \
  'https://waclient.com/api/promote_community_admin' \
  -H 'Content-Type: application/json' \
  --data '{
    "community_id": "[email protected]",
    "participants": [
        "20100981XXXX"
    ],
    "instance_id": "6A4B02A1XXXX",
    "access_token": "EMCUH3NQQK8YXXXX"
}'
Response
{
    "status": "success",
    "message": "Success",
    "data": {
        "community_id": "[email protected]",
        "promoted": [
            "[email protected]"
        ]
    }
}
ParameterDescription
community_idCommunity JID or ID
participantsArray of phone numbers or JIDs
instance_idYour instance ID
access_tokenYour access token

Command Palette

Search documentation endpoints.

Esc