> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.drazill.com/api-reference/api-reference/community/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.drazill.com/_mcp/server. # Community The conversation around markets, plus the two surfaces that keep it honest: resolution disputes and content moderation. | Endpoint | What it does | | ------------------------------------------------ | ----------------------------------------------------------- | | `GET /api/v1/comments/market/{market_id}/cursor` | Walk a market's comment thread. | | `POST /api/v1/comments` | Post a comment (`DELETE .../{comment_id}` to remove yours). | | `GET /api/v1/chat/channels` | Chat channels, with messages per channel. | | `POST /api/v1/disputes` | Raise a market-resolution dispute. | | `GET /api/v1/activity` | Global attributed activity. | **Disputes are a settlement mechanism, not a support channel.** Raising one opens a review of how a market resolved. It has a deadline tied to the resolution and a defined outcome — read **[Markets & settlement](/concepts/markets-settlement)** before wiring it into a workflow. Chat channels are realtime. Polling them works but is the wrong tool; subscribe over the WebSocket instead (**[Realtime](/realtime/overview)**). Private and `chat:` channels require authentication *and* membership — an authenticated connection alone is not enough to read one. Content posted here is user-generated and moderated after the fact. If you render it, treat every field as untrusted input and escape it. > Canonical developer documentation for the Drazill API — a Canadian prediction-market exchange with a hybrid CLOB + LMSR-AMM engine, one versioned REST API, a realtime WebSocket feed, and signed webhooks. Generated from the same CI-gated contract the exchange is built against. ## API Docs - [Create a comment](https://docs.drazill.com/api-reference/api-reference/community/comments/create-comment.md): Comments - [Get comments for a market with cursor pagination](https://docs.drazill.com/api-reference/api-reference/community/comments/get-comments-cursor.md): Comments - [Delete a comment](https://docs.drazill.com/api-reference/api-reference/community/comments/delete-comment.md): Comments - [Update a comment](https://docs.drazill.com/api-reference/api-reference/community/comments/update-comment.md): Comments - [Like/unlike a comment](https://docs.drazill.com/api-reference/api-reference/community/comments/toggle-like-comment.md): Comments - [Pin a comment](https://docs.drazill.com/api-reference/api-reference/community/comments/pin-comment.md): Comments - [Get replies for a comment](https://docs.drazill.com/api-reference/api-reference/community/comments/get-replies.md): Comments - [Unpin a comment](https://docs.drazill.com/api-reference/api-reference/community/comments/unpin-comment.md): Comments - [Get comments for a market](https://docs.drazill.com/api-reference/api-reference/community/comments/get-comments.md): Comments - [List Channels](https://docs.drazill.com/api-reference/api-reference/community/chat/list-channels.md): Chat - [Get Or Create Channel By Ref](https://docs.drazill.com/api-reference/api-reference/community/chat/get-or-create-channel-by-ref.md): Chat - [Get Channel](https://docs.drazill.com/api-reference/api-reference/community/chat/get-channel.md): Chat - [Get Messages](https://docs.drazill.com/api-reference/api-reference/community/chat/get-messages.md): Chat - [Send Message](https://docs.drazill.com/api-reference/api-reference/community/chat/send-message-api-v-1-chat-channels-channel-id-messages-post.md): Chat - [Mark Channel As Read](https://docs.drazill.com/api-reference/api-reference/community/chat/mark-channel-as-read.md): Chat - [Subscribe Channel](https://docs.drazill.com/api-reference/api-reference/community/chat/subscribe-channel.md): Chat - [Unsubscribe Channel](https://docs.drazill.com/api-reference/api-reference/community/chat/unsubscribe-channel.md): Chat - [Delete Message](https://docs.drazill.com/api-reference/api-reference/community/chat/delete-message.md): Chat - [List Subscriptions](https://docs.drazill.com/api-reference/api-reference/community/chat/list-subscriptions-api-v-1-chat-subscriptions-get.md): Chat - [Global attributed activity](https://docs.drazill.com/api-reference/api-reference/community/market-social/get-global-activity.md): Market Social - [Market attributed activity](https://docs.drazill.com/api-reference/api-reference/community/market-social/get-market-activity.md): Market Social - [Top holders](https://docs.drazill.com/api-reference/api-reference/community/market-social/get-market-holders.md): Market Social - [Submit a dispute](https://docs.drazill.com/api-reference/api-reference/community/disputes/submit-dispute.md): Disputes - [Get my disputes](https://docs.drazill.com/api-reference/api-reference/community/disputes/get-my-disputes.md): Disputes - [Get dispute details](https://docs.drazill.com/api-reference/api-reference/community/disputes/get-dispute.md): Disputes - [Send a message](https://docs.drazill.com/api-reference/api-reference/community/disputes/send-message-api-v-1-disputes-dispute-id-messages-post.md): Disputes - [Withdraw dispute](https://docs.drazill.com/api-reference/api-reference/community/disputes/withdraw-dispute.md): Disputes - [Check content for spam](https://docs.drazill.com/api-reference/api-reference/community/moderation/check-content-for-spam.md): Moderation - [Get my moderation status](https://docs.drazill.com/api-reference/api-reference/community/moderation/get-my-moderation-status.md): Moderation - [Report content](https://docs.drazill.com/api-reference/api-reference/community/moderation/create-report.md): Moderation - [Get my reports](https://docs.drazill.com/api-reference/api-reference/community/moderation/get-my-reports.md): Moderation - [Submit Qa Feedback](https://docs.drazill.com/api-reference/api-reference/community/qa-feedback/submit-qa-feedback.md): QA Feedback - [Qa Feedback Config](https://docs.drazill.com/api-reference/api-reference/community/qa-feedback/config.md): QA Feedback - [Qa Feedback Image](https://docs.drazill.com/api-reference/api-reference/community/qa-feedback/image.md): QA Feedback - [Ask a grounded question about how Drazill works (AIA-4/5)](https://docs.drazill.com/api-reference/api-reference/community/support-assistant/ask-support-assistant.md): Support Assistant ## OpenAPI Specification - [OpenAPI JSON](https://docs.drazill.com/openapi.json): raw OpenAPI 3.1 specification for this API, JSON format - [OpenAPI YAML](https://docs.drazill.com/openapi.yaml): raw OpenAPI 3.1 specification for this API, YAML format