Community
Community posts let customers ask questions, share feedback, and vote on feature requests. Agents can manage posts, set statuses, and moderate content.
The Community Post object
Unique post identifier
Always "community_post"
Topic the post is in
The topic's name
Post title
URL-friendly slug
Post body text
Post status "open" | "answered" | "officially_answered" | "planned" | "not_planned" | "completed" | "under_review"
Post visibility "public" | "members_only"
Number of upvotes
Number of visible comments
Whether the post is pinned to the top
Whether the post is featured
Whether new comments are refused
Whether comments are on for this post
Custom field values as key-value pairs (field definition ID → value). Only fields assigned to the post's topic are accepted. Always returned ({} when there are none).
Image attachments (max 10 per post, 5 per comment). Each object: {filename, content_type, size_bytes, storage_path}. Images only (JPEG, PNG, GIF, WebP), 4 MB max per file (the upload limit). storage_path must be an existing image in your team's folder ({teamId}/...) of the community-attachments bucket, uploaded from the dashboard or the help widget. API keys can't upload there, so through the API you can only reuse the storage_path of an existing post or comment attachment.
Last post, comment or status change
When the post was created
When the post last changed
Endpoints
/api/v1/teams/{teamId}/community/postsList posts
List the team's posts in the key's mode, pinned first. Filters combine; an invalid value is a 400 naming the param.
Query Parameters
topicId uuid Only posts in this topic
topic string Only posts in the topic with this slug
status string Only posts with this status: open, answered, officially_answered, planned, not_planned, completed or under_review
pinned boolean true for pinned posts only, false for the rest
locked boolean true for posts locked to new comments, false for the rest
search string Text in the title or body (any case)
sort string Order after pinned posts: recent (last activity), votes or comments
Default: recent
page integer Page number (1-indexed)
Default: 1
pageSize integer Results per page (max 100)
Default: 20
Code Examples
curl "https://www.cstar.help/api/v1/teams/{teamId}/community/posts?sort=votes" \
-H "Authorization: Bearer sk_live_your_key" Responses
{
"success": true,
"data": [
{
"id": "...",
"object": "community_post",
"topicId": "...",
"topicName": "Feature Requests",
"title": "Add dark mode",
"status": "planned",
"voteCount": 42,
"commentCount": 7,
"isPinned": false,
"isLocked": false,
"customFields": {}
}
],
"pagination": {
"total": 142,
"page": 1,
"pageSize": 20,
"hasMore": true
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key provided is invalid or has been revoked",
"doc_url": "https://www.cstar.help/developers/errors#invalid_api_key",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "insufficient_permissions",
"message": "Your API key does not have permission for this operation",
"doc_url": "https://www.cstar.help/developers/errors#insufficient_permissions",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "rate_limit_error",
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Try again in 60 seconds.",
"retryAfter": 60,
"doc_url": "https://www.cstar.help/developers/errors#rate_limit_exceeded",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} /api/v1/teams/{teamId}/community/postsCreate post
Create a new community post as the member who made the key. A key acts for the member who made it; a key whose creator is no longer an owner or admin on the team (or that has none) gets 403.
Request Body
title string requiredPost title
body string Post body text
topicId uuid requiredTopic category ID
visibility string public or members_only
Default: public
customFields object Custom field values as {fieldDefinitionId: value}. Only fields assigned to the topic are accepted. Required fields (per topic config) must be included.
attachments array Image attachments (max 10). Each: {filename, content_type, size_bytes, storage_path}. Images only, 4 MB max each.
Code Examples
curl -X POST "https://www.cstar.help/api/v1/teams/{teamId}/community/posts" \
-H "Authorization: Bearer sk_live_your_key" \
-H "Content-Type: application/json" \
-d '{"title":"Tutorial Video","topicId":"topic-uuid","customFields":{"field-def-id":"https://youtube.com/watch?v=abc"}}' Responses
{
"success": true,
"data": {
"id": "...",
"title": "New feature idea",
"status": "open"
}
} {
"success": false,
"error": {
"feature": "community",
"enable_url": "https://www.cstar.help/team/acme/settings?panel=team§ion=community",
"type": "invalid_request_error",
"code": "feature_disabled",
"message": "Community is turned off for this team. An owner or admin can turn it on in Settings > Team Settings > Community.",
"doc_url": "https://www.cstar.help/developers/errors#feature_disabled",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"type": "invalid_request_error",
"code": "idempotency_key_in_use",
"message": "A request with this Idempotency-Key is still being processed. Retry after it finishes.",
"doc_url": "https://www.cstar.help/developers/errors#idempotency_key_in_use",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "invalid_request_error",
"code": "idempotency_key_reused",
"message": "The Idempotency-Key was already used for a request with a different body. Generate a new key for this request.",
"doc_url": "https://www.cstar.help/developers/errors#idempotency_key_reused",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key provided is invalid or has been revoked",
"doc_url": "https://www.cstar.help/developers/errors#invalid_api_key",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "rate_limit_error",
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Try again in 60 seconds.",
"retryAfter": 60,
"doc_url": "https://www.cstar.help/developers/errors#rate_limit_exceeded",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} /api/v1/teams/{teamId}/community/posts/{postId}Update post status
Update a community post status or properties.
Path Parameters
postId uuid requiredPost ID
Request Body
title string Post title
body string Post body text
status string New status (open, planned, completed, etc.)
topicId uuid Move the post to another topic. Its custom fields then keep only the new topic's.
visibility string public or members_only
isPinned boolean Pin to top of topic
isLocked boolean Lock comments
isHidden boolean Hide the post
commentsEnabled boolean Allow new comments
customFields object Custom field values as {fieldDefinitionId: value}, merged with the stored values. Only the topic's fields with string values are kept, and a required field can't be emptied (400).
attachments array Replace post attachments (images only, max 10, 4 MB max each)
Code Examples
curl -X PATCH "https://www.cstar.help/api/v1/teams/{teamId}/community/posts/{postId}" \
-H "Authorization: Bearer sk_live_your_key" \
-H "Content-Type: application/json" \
-d '{"status":"planned","customFields":{"field-id":"new-value"}}' Responses
{
"success": true,
"data": {
"id": "...",
"status": "planned"
}
} {
"success": false,
"error": {
"type": "not_found_error",
"code": "resource_not_found",
"message": "Community post not found",
"doc_url": "https://www.cstar.help/developers/errors#resource_not_found",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"feature": "community",
"enable_url": "https://www.cstar.help/team/acme/settings?panel=team§ion=community",
"type": "invalid_request_error",
"code": "feature_disabled",
"message": "Community is turned off for this team. An owner or admin can turn it on in Settings > Team Settings > Community.",
"doc_url": "https://www.cstar.help/developers/errors#feature_disabled",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"type": "invalid_request_error",
"code": "idempotency_key_in_use",
"message": "A request with this Idempotency-Key is still being processed. Retry after it finishes.",
"doc_url": "https://www.cstar.help/developers/errors#idempotency_key_in_use",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "invalid_request_error",
"code": "idempotency_key_reused",
"message": "The Idempotency-Key was already used for a request with a different body. Generate a new key for this request.",
"doc_url": "https://www.cstar.help/developers/errors#idempotency_key_reused",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key provided is invalid or has been revoked",
"doc_url": "https://www.cstar.help/developers/errors#invalid_api_key",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "rate_limit_error",
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Try again in 60 seconds.",
"retryAfter": 60,
"doc_url": "https://www.cstar.help/developers/errors#rate_limit_exceeded",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} /api/v1/teams/{teamId}/community/posts/{postId}Get post
Get one community post with its visible comments, oldest first.
Path Parameters
postId uuid requiredPost ID
Code Examples
curl "https://www.cstar.help/api/v1/teams/{teamId}/community/posts/{postId}" \
-H "Authorization: Bearer sk_live_your_key" Responses
{
"success": true,
"data": {
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"object": "community_post",
"topicId": "3f2b6c1e-8a4d-4f7b-9c2e-1d5a7b9e0f12",
"topicName": "Feature requests",
"title": "Dark mode for the widget",
"slug": "dark-mode-for-the-widget",
"body": "Our site is dark. The widget is not.",
"status": "planned",
"visibility": "public",
"voteCount": 12,
"commentCount": 1,
"isPinned": false,
"isFeatured": false,
"isLocked": false,
"commentsEnabled": true,
"customFields": {},
"attachments": [],
"lastActivityAt": "2026-10-22T09:30:00Z",
"createdAt": "2026-10-20T14:00:00Z",
"updatedAt": "2026-10-22T09:30:00Z",
"comments": [
{
"id": "b1d5c0de-2f4a-4c55-9a1e-6f0d2c3b4a59",
"object": "community_comment",
"postId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"body": "Planned for next month.",
"isOfficial": true,
"voteScore": 3,
"parentCommentId": null,
"attachments": [],
"createdAt": "2026-10-22T09:30:00Z"
}
]
}
} {
"success": false,
"error": {
"type": "not_found_error",
"code": "resource_not_found",
"message": "Community post not found",
"doc_url": "https://www.cstar.help/developers/errors#resource_not_found",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key provided is invalid or has been revoked",
"doc_url": "https://www.cstar.help/developers/errors#invalid_api_key",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "insufficient_permissions",
"message": "Your API key does not have permission for this operation",
"doc_url": "https://www.cstar.help/developers/errors#insufficient_permissions",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "rate_limit_error",
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Try again in 60 seconds.",
"retryAfter": 60,
"doc_url": "https://www.cstar.help/developers/errors#rate_limit_exceeded",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} /api/v1/teams/{teamId}/community/posts/{postId}Delete post
Delete a community post and its comments. There is no undo.
Path Parameters
postId uuid requiredPost ID
Code Examples
curl -X DELETE "https://www.cstar.help/api/v1/teams/{teamId}/community/posts/{postId}" \
-H "Authorization: Bearer sk_live_your_key" Responses
{
"success": true,
"data": {
"deleted": true,
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7"
}
} {
"success": false,
"error": {
"type": "not_found_error",
"code": "resource_not_found",
"message": "Community post not found",
"doc_url": "https://www.cstar.help/developers/errors#resource_not_found",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"feature": "community",
"enable_url": "https://www.cstar.help/team/acme/settings?panel=team§ion=community",
"type": "invalid_request_error",
"code": "feature_disabled",
"message": "Community is turned off for this team. An owner or admin can turn it on in Settings > Team Settings > Community.",
"doc_url": "https://www.cstar.help/developers/errors#feature_disabled",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key provided is invalid or has been revoked",
"doc_url": "https://www.cstar.help/developers/errors#invalid_api_key",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "rate_limit_error",
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Try again in 60 seconds.",
"retryAfter": 60,
"doc_url": "https://www.cstar.help/developers/errors#rate_limit_exceeded",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} /api/v1/teams/{teamId}/community/posts/{postId}/commentsList comments
List a post's visible comments, oldest first.
Path Parameters
postId uuid requiredPost ID
Code Examples
curl "https://www.cstar.help/api/v1/teams/{teamId}/community/posts/{postId}/comments" \
-H "Authorization: Bearer sk_live_your_key" Responses
{
"success": true,
"data": [
{
"id": "b1d5c0de-2f4a-4c55-9a1e-6f0d2c3b4a59",
"object": "community_comment",
"postId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"body": "Planned for next month.",
"isOfficial": true,
"voteScore": 3,
"parentCommentId": null,
"attachments": [],
"createdAt": "2026-10-22T09:30:00Z"
}
]
} {
"success": false,
"error": {
"type": "not_found_error",
"code": "resource_not_found",
"message": "Community post not found",
"doc_url": "https://www.cstar.help/developers/errors#resource_not_found",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key provided is invalid or has been revoked",
"doc_url": "https://www.cstar.help/developers/errors#invalid_api_key",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "insufficient_permissions",
"message": "Your API key does not have permission for this operation",
"doc_url": "https://www.cstar.help/developers/errors#insufficient_permissions",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "rate_limit_error",
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Try again in 60 seconds.",
"retryAfter": 60,
"doc_url": "https://www.cstar.help/developers/errors#rate_limit_exceeded",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} /api/v1/teams/{teamId}/community/posts/{postId}/commentsAdd comment
Add a comment to a post as the member who made the key. A locked post, a post with comments off, or a team with comments turned off answers 403 comments_closed. A key acts for the member who made it; a key whose creator is no longer an owner or admin on the team (or that has none) gets 403.
Path Parameters
postId uuid requiredPost ID
Request Body
body string requiredComment text
attachments array Image attachments (max 5). Each: {filename, content_type, size_bytes, storage_path}. Images only, 4 MB max each.
Code Examples
curl -X POST "https://www.cstar.help/api/v1/teams/{teamId}/community/posts/{postId}/comments" \
-H "Authorization: Bearer sk_live_your_key" \
-H "Content-Type: application/json" \
-d '{"body":"Planned for next month."}' Responses
{
"success": true,
"data": {
"id": "b1d5c0de-2f4a-4c55-9a1e-6f0d2c3b4a59",
"object": "community_comment",
"postId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"body": "Planned for next month.",
"isOfficial": true,
"voteScore": 3,
"parentCommentId": null,
"attachments": [],
"createdAt": "2026-10-22T09:30:00Z"
}
} {
"success": false,
"error": {
"type": "invalid_request_error",
"code": "comments_closed",
"message": "This post is locked and cannot accept new comments",
"doc_url": "https://www.cstar.help/developers/errors#comments_closed",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"type": "not_found_error",
"code": "resource_not_found",
"message": "Community post not found",
"doc_url": "https://www.cstar.help/developers/errors#resource_not_found",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"type": "invalid_request_error",
"code": "idempotency_key_in_use",
"message": "A request with this Idempotency-Key is still being processed. Retry after it finishes.",
"doc_url": "https://www.cstar.help/developers/errors#idempotency_key_in_use",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "invalid_request_error",
"code": "idempotency_key_reused",
"message": "The Idempotency-Key was already used for a request with a different body. Generate a new key for this request.",
"doc_url": "https://www.cstar.help/developers/errors#idempotency_key_reused",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key provided is invalid or has been revoked",
"doc_url": "https://www.cstar.help/developers/errors#invalid_api_key",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "rate_limit_error",
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Try again in 60 seconds.",
"retryAfter": 60,
"doc_url": "https://www.cstar.help/developers/errors#rate_limit_exceeded",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} /api/v1/teams/{teamId}/community/posts/{postId}/voteToggle vote
Add the upvote of the member who created the key, or take it back if they already voted. No body. A key acts for the member who made it; a key whose creator is no longer an owner or admin on the team (or that has none) gets 403.
Path Parameters
postId uuid requiredPost ID
Code Examples
curl -X POST "https://www.cstar.help/api/v1/teams/{teamId}/community/posts/{postId}/vote" \
-H "Authorization: Bearer sk_live_your_key" Responses
{
"success": true,
"data": {
"voted": true,
"voteCount": 13
}
} {
"success": false,
"error": {
"type": "not_found_error",
"code": "resource_not_found",
"message": "Community post not found",
"doc_url": "https://www.cstar.help/developers/errors#resource_not_found",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"feature": "community",
"enable_url": "https://www.cstar.help/team/acme/settings?panel=team§ion=community",
"type": "invalid_request_error",
"code": "feature_disabled",
"message": "Community is turned off for this team. An owner or admin can turn it on in Settings > Team Settings > Community.",
"doc_url": "https://www.cstar.help/developers/errors#feature_disabled",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"type": "invalid_request_error",
"code": "idempotency_key_in_use",
"message": "A request with this Idempotency-Key is still being processed. Retry after it finishes.",
"doc_url": "https://www.cstar.help/developers/errors#idempotency_key_in_use",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "invalid_request_error",
"code": "idempotency_key_reused",
"message": "The Idempotency-Key was already used for a request with a different body. Generate a new key for this request.",
"doc_url": "https://www.cstar.help/developers/errors#idempotency_key_reused",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key provided is invalid or has been revoked",
"doc_url": "https://www.cstar.help/developers/errors#invalid_api_key",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "rate_limit_error",
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Try again in 60 seconds.",
"retryAfter": 60,
"doc_url": "https://www.cstar.help/developers/errors#rate_limit_exceeded",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} /api/v1/teams/{teamId}/community/posts/{postId}/followToggle follow
Follow the post for the member who created the key, or unfollow it if they already follow. No body. A key acts for the member who made it; a key whose creator is no longer an owner or admin on the team (or that has none) gets 403.
Path Parameters
postId uuid requiredPost ID
Code Examples
curl -X POST "https://www.cstar.help/api/v1/teams/{teamId}/community/posts/{postId}/follow" \
-H "Authorization: Bearer sk_live_your_key" Responses
{
"success": true,
"data": {
"following": true
}
} {
"success": false,
"error": {
"type": "not_found_error",
"code": "resource_not_found",
"message": "Community post not found",
"doc_url": "https://www.cstar.help/developers/errors#resource_not_found",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"feature": "community",
"enable_url": "https://www.cstar.help/team/acme/settings?panel=team§ion=community",
"type": "invalid_request_error",
"code": "feature_disabled",
"message": "Community is turned off for this team. An owner or admin can turn it on in Settings > Team Settings > Community.",
"doc_url": "https://www.cstar.help/developers/errors#feature_disabled",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"type": "invalid_request_error",
"code": "idempotency_key_in_use",
"message": "A request with this Idempotency-Key is still being processed. Retry after it finishes.",
"doc_url": "https://www.cstar.help/developers/errors#idempotency_key_in_use",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "invalid_request_error",
"code": "idempotency_key_reused",
"message": "The Idempotency-Key was already used for a request with a different body. Generate a new key for this request.",
"doc_url": "https://www.cstar.help/developers/errors#idempotency_key_reused",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key provided is invalid or has been revoked",
"doc_url": "https://www.cstar.help/developers/errors#invalid_api_key",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "rate_limit_error",
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Try again in 60 seconds.",
"retryAfter": 60,
"doc_url": "https://www.cstar.help/developers/errors#rate_limit_exceeded",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} /api/v1/teams/{teamId}/community/topicsList topics
Get all community topics for the team. Each topic includes a customFields array: the custom fields that appear on posts in that topic.
Code Examples
curl "https://www.cstar.help/api/v1/teams/{teamId}/community/topics" \
-H "Authorization: Bearer sk_live_your_key" Responses
{
"success": true,
"data": [
{
"id": "3f2b6c1e-8a4d-4f7b-9c2e-1d5a7b9e0f12",
"object": "community_topic",
"name": "Feature requests",
"slug": "feature-requests",
"description": "Ideas for what we build next",
"icon": "rocket",
"visibility": "public",
"sortOrder": 0,
"customFields": [
{
"id": "field-def-id",
"label": "Video URL",
"type": "url",
"required": true
}
],
"postCount": 12,
"createdAt": "2026-10-01T10:00:00Z"
}
]
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key provided is invalid or has been revoked",
"doc_url": "https://www.cstar.help/developers/errors#invalid_api_key",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "insufficient_permissions",
"message": "Your API key does not have permission for this operation",
"doc_url": "https://www.cstar.help/developers/errors#insufficient_permissions",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "rate_limit_error",
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Try again in 60 seconds.",
"retryAfter": 60,
"doc_url": "https://www.cstar.help/developers/errors#rate_limit_exceeded",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} /api/v1/teams/{teamId}/community/topicsCreate topic
Create a community topic. A slug another topic uses answers 409. A test key is refused with 400 (team settings are live, with no test copy).
Request Body
name string requiredTopic name
slug string URL slug, unique in the team
description string Shown under the topic name
icon string A Lucide icon name
sortOrder integer Position in the topic list
visibility string public or members_only
requireApproval boolean New posts wait for approval
postGuide string Guidance shown when writing a post
Code Examples
curl -X POST "https://www.cstar.help/api/v1/teams/{teamId}/community/topics" \
-H "Authorization: Bearer sk_live_your_key" \
-H "Content-Type: application/json" \
-d '{"name":"Feature requests","icon":"rocket"}' Responses
{
"success": true,
"data": {
"id": "3f2b6c1e-8a4d-4f7b-9c2e-1d5a7b9e0f12",
"object": "community_topic",
"name": "Feature requests",
"slug": "feature-requests",
"description": "Ideas for what we build next",
"icon": "rocket",
"visibility": "public",
"sortOrder": 0,
"customFields": [],
"postCount": 12,
"createdAt": "2026-10-01T10:00:00Z"
}
} {
"success": false,
"error": {
"feature": "community",
"enable_url": "https://www.cstar.help/team/acme/settings?panel=team§ion=community",
"type": "invalid_request_error",
"code": "feature_disabled",
"message": "Community is turned off for this team. An owner or admin can turn it on in Settings > Team Settings > Community.",
"doc_url": "https://www.cstar.help/developers/errors#feature_disabled",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"type": "invalid_request_error",
"code": "idempotency_key_in_use",
"message": "A request with this Idempotency-Key is still being processed. Retry after it finishes.",
"doc_url": "https://www.cstar.help/developers/errors#idempotency_key_in_use",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "invalid_request_error",
"code": "idempotency_key_reused",
"message": "The Idempotency-Key was already used for a request with a different body. Generate a new key for this request.",
"doc_url": "https://www.cstar.help/developers/errors#idempotency_key_reused",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key provided is invalid or has been revoked",
"doc_url": "https://www.cstar.help/developers/errors#invalid_api_key",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "rate_limit_error",
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Try again in 60 seconds.",
"retryAfter": 60,
"doc_url": "https://www.cstar.help/developers/errors#rate_limit_exceeded",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} /api/v1/teams/{teamId}/community/topics/{topicId}Get topic
Get one community topic with its custom fields.
Path Parameters
topicId uuid requiredTopic ID
Code Examples
curl "https://www.cstar.help/api/v1/teams/{teamId}/community/topics/{topicId}" \
-H "Authorization: Bearer sk_live_your_key" Responses
{
"success": true,
"data": {
"id": "3f2b6c1e-8a4d-4f7b-9c2e-1d5a7b9e0f12",
"object": "community_topic",
"name": "Feature requests",
"slug": "feature-requests",
"description": "Ideas for what we build next",
"icon": "rocket",
"visibility": "public",
"sortOrder": 0,
"customFields": [],
"postCount": 12,
"createdAt": "2026-10-01T10:00:00Z"
}
} {
"success": false,
"error": {
"type": "not_found_error",
"code": "resource_not_found",
"message": "Community topic not found",
"doc_url": "https://www.cstar.help/developers/errors#resource_not_found",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key provided is invalid or has been revoked",
"doc_url": "https://www.cstar.help/developers/errors#invalid_api_key",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "insufficient_permissions",
"message": "Your API key does not have permission for this operation",
"doc_url": "https://www.cstar.help/developers/errors#insufficient_permissions",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "rate_limit_error",
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Try again in 60 seconds.",
"retryAfter": 60,
"doc_url": "https://www.cstar.help/developers/errors#rate_limit_exceeded",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} /api/v1/teams/{teamId}/community/topics/{topicId}Update topic
Change a topic. Only the fields you send change. A test key is refused with 400 (team settings are live, with no test copy).
Path Parameters
topicId uuid requiredTopic ID
Request Body
name string Topic name
slug string URL slug, unique in the team
description string Shown under the topic name
icon string A Lucide icon name
sortOrder integer Position in the topic list
visibility string public or members_only
requireApproval boolean New posts wait for approval
postGuide string Guidance shown when writing a post
Code Examples
curl -X PATCH "https://www.cstar.help/api/v1/teams/{teamId}/community/topics/{topicId}" \
-H "Authorization: Bearer sk_live_your_key" \
-H "Content-Type: application/json" \
-d '{"name":"Ideas"}' Responses
{
"success": true,
"data": {
"id": "3f2b6c1e-8a4d-4f7b-9c2e-1d5a7b9e0f12",
"object": "community_topic",
"name": "Ideas",
"slug": "feature-requests",
"description": "Ideas for what we build next",
"icon": "rocket",
"visibility": "public",
"sortOrder": 0,
"customFields": [],
"postCount": 12,
"createdAt": "2026-10-01T10:00:00Z"
}
} {
"success": false,
"error": {
"type": "not_found_error",
"code": "resource_not_found",
"message": "Community topic not found",
"doc_url": "https://www.cstar.help/developers/errors#resource_not_found",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"feature": "community",
"enable_url": "https://www.cstar.help/team/acme/settings?panel=team§ion=community",
"type": "invalid_request_error",
"code": "feature_disabled",
"message": "Community is turned off for this team. An owner or admin can turn it on in Settings > Team Settings > Community.",
"doc_url": "https://www.cstar.help/developers/errors#feature_disabled",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"type": "invalid_request_error",
"code": "idempotency_key_in_use",
"message": "A request with this Idempotency-Key is still being processed. Retry after it finishes.",
"doc_url": "https://www.cstar.help/developers/errors#idempotency_key_in_use",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "invalid_request_error",
"code": "idempotency_key_reused",
"message": "The Idempotency-Key was already used for a request with a different body. Generate a new key for this request.",
"doc_url": "https://www.cstar.help/developers/errors#idempotency_key_reused",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key provided is invalid or has been revoked",
"doc_url": "https://www.cstar.help/developers/errors#invalid_api_key",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "rate_limit_error",
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Try again in 60 seconds.",
"retryAfter": 60,
"doc_url": "https://www.cstar.help/developers/errors#rate_limit_exceeded",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} /api/v1/teams/{teamId}/community/topics/{topicId}Delete topic
Delete a topic. Its posts (hidden and pending ones too) move to movePostsTo in the same step, so no post is lost. A topic that still has posts is refused with 409 when movePostsTo is missing. Needs the manage_community permission. A test key is refused with 400 (team settings are live, with no test copy).
Path Parameters
topicId uuid requiredTopic ID
Query Parameters
movePostsTo uuid Another of the team's topics to move this topic's posts to. Needed when the topic has posts
Code Examples
curl -X DELETE "https://www.cstar.help/api/v1/teams/{teamId}/community/topics/{topicId}?movePostsTo={otherTopicId}" \
-H "Authorization: Bearer sk_live_your_key" Responses
{
"success": true,
"data": {
"deleted": true,
"id": "3f2b6c1e-8a4d-4f7b-9c2e-1d5a7b9e0f12",
"movedPosts": 12
}
} {
"success": false,
"error": {
"type": "invalid_request_error",
"code": "resource_conflict",
"message": "This topic still has 12 posts. Pick another topic to move them to first.",
"param": "movePostsTo",
"doc_url": "https://www.cstar.help/developers/errors#resource_conflict",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "not_found_error",
"code": "resource_not_found",
"message": "Community topic not found",
"doc_url": "https://www.cstar.help/developers/errors#resource_not_found",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"feature": "community",
"enable_url": "https://www.cstar.help/team/acme/settings?panel=team§ion=community",
"type": "invalid_request_error",
"code": "feature_disabled",
"message": "Community is turned off for this team. An owner or admin can turn it on in Settings > Team Settings > Community.",
"doc_url": "https://www.cstar.help/developers/errors#feature_disabled",
"request_id": "req_abc123"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-10-23T12:00:00Z"
}
} {
"success": false,
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key provided is invalid or has been revoked",
"doc_url": "https://www.cstar.help/developers/errors#invalid_api_key",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
} {
"success": false,
"error": {
"type": "rate_limit_error",
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Try again in 60 seconds.",
"retryAfter": 60,
"doc_url": "https://www.cstar.help/developers/errors#rate_limit_exceeded",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
}