Skip to main content

Community Data

Get public metadata for a community.

Request

  • Method: GET
  • URL: https://chattz.net/api/v1/communities/data?id=COMMUNITY_ID
  • Auth: Not required

Access Rules

  • Only returns data for public communities.
  • Private communities return an error response.

Query Parameters

  • id (required, numeric): Community ID

Success Fields

  • community_id
  • community_name
  • community_profile_picture
  • member_count

Example Request

curl "https://chattz.net/api/v1/communities/data?id=123"

Example Success Response

{
"success": true,
"code": "community_data_fetched",
"community_id": 123,
"community_name": "Chattz Community",
"community_profile_picture": "data:image/png;base64,...",
"member_count": 42
}