Struktura społeczności
Endpointy „Struktura społeczności” Zanfia Workspace API — ze schematami i przykładami kodu.
Zarządzanie kanałami i grupami. Treści społeczności — posty, komentarze, czat — obsługuje Community API. Wszystkie endpointy wymagają nagłówka Authorization: Bearer — zobacz Uwierzytelnianie.
Utwórz kanał
/communities/{communityId}/channelsAuthorization
bearerAuth API key from Dashboard → Integrations → API, MCP and CLI.
In: header
Path Parameters
Community id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/communities/string/channels" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "type": "feed" }'{ "channel": { "id": "string", "name": "string", "type": "feed", "groupId": "string", "description": "string", "readonly": true, "access": "inherit" }}{ "error": "string"}Utwórz grupę kanałów
/communities/{communityId}/groupsAuthorization
bearerAuth API key from Dashboard → Integrations → API, MCP and CLI.
In: header
Path Parameters
Community id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/communities/string/groups" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "group": { "id": "string", "name": "string", "description": "string" }}{ "error": "string"}Aktualizuj kanał
/communities/{communityId}/channels/{channelId}Authorization
bearerAuth API key from Dashboard → Integrations → API, MCP and CLI.
In: header
Path Parameters
Community id
Channel id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://example.com/communities/string/channels/string" \ -H "Content-Type: application/json" \ -d '{}'{ "channel": { "id": "string", "name": "string", "type": "feed", "groupId": "string", "description": "string", "readonly": true, "access": "inherit" }}{ "error": "string"}Usuń kanał
/communities/{communityId}/channels/{channelId}Authorization
bearerAuth API key from Dashboard → Integrations → API, MCP and CLI.
In: header
Path Parameters
Community id
Channel id
Response Body
application/json
application/json
curl -X DELETE "https://example.com/communities/string/channels/string"{ "channelId": "string"}{ "error": "string"}Aktualizuj grupę
/communities/{communityId}/groups/{groupId}Authorization
bearerAuth API key from Dashboard → Integrations → API, MCP and CLI.
In: header
Path Parameters
Community id
Channel group id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://example.com/communities/string/groups/string" \ -H "Content-Type: application/json" \ -d '{}'{ "group": { "id": "string", "name": "string", "description": "string" }}{ "error": "string"}Usuń grupę
/communities/{communityId}/groups/{groupId}Authorization
bearerAuth API key from Dashboard → Integrations → API, MCP and CLI.
In: header
Path Parameters
Community id
Channel group id
Response Body
application/json
application/json
curl -X DELETE "https://example.com/communities/string/groups/string"{ "groupId": "string"}{ "error": "string"}Zmień kolejność lub położenie kanału/grupy
/communities/{communityId}/move-nodeAuthorization
bearerAuth API key from Dashboard → Integrations → API, MCP and CLI.
In: header
Path Parameters
Community id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Flat mirror of the MoveContentNode intent (one node + one target per call).
Response Body
application/json
application/json
curl -X POST "https://example.com/communities/string/move-node" \ -H "Content-Type: application/json" \ -d '{ "nodeType": "channel", "nodeId": "string", "positionMode": "into-group" }'{ "communityId": "string"}{ "error": "string"}Czy ten artykuł był pomocny?

