Create a community

To create a community through the API you will need to use endpoint

POST https://gate.whapi.cloud/communities

This method is responsible for creating a community
curl --request POST \
     --url https://gate.whapi.cloud/communities \
     --header 'accept: application/json' \
     --header 'authorization: Bearer {Your_Token}' \
     --header 'content-type: application/json' \
     --data '
{
  "subject": "A new community of scientists",
  "description": "This is where we bring together all our faculties to stay connected and up to date with the latest news"
}
'

Response Format:

Please note that you will need a different ID to post to the community. Read more about it here: Important aspects of the API Community

Last updated

Was this helpful?