{"id":"f32e17ef-1f8f-44f9-a569-f9b2b0fdc6f8","task":"Create an Amazon IVS Chat room, generate chat tokens, and send/moderate messages","domain":"docs.aws.amazon.com","steps":["Call CreateRoom, optionally setting name, maximumMessageLength (default 500, max 500), and maximumMessageRatePerSecond (default 10, max 100); the response returns the room's arn/id.","For each participant, call CreateChatToken with roomIdentifier (the room ARN), userId, a capabilities array (SEND_MESSAGE / DELETE_MESSAGE / DISCONNECT_USER — default is none beyond implicit view access), and sessionDurationInMinutes (default 60).","The client opens a WebSocket connection to the separate real-time Chat Messaging API using the returned token and sends/receives messages there — the control-plane REST API itself has no 'send message' call.","Use SendEvent from your backend to push custom application events into the room, and DeleteMessage to unrender/moderate an existing message for all connected clients.","Optionally attach loggingConfigurationIdentifiers to CreateRoom for archival, and a messageReviewHandler (Lambda URI) for pre-send message review."],"gotchas":["Actual message send/receive happens over the separate WebSocket Chat Messaging API using the chat token — CreateRoom/CreateChatToken are control-plane only and don't themselves transmit chat messages.","capabilities on CreateChatToken default to none beyond implicit viewing; a user needs SEND_MESSAGE explicitly to post, and DELETE_MESSAGE/DISCONNECT_USER for moderation.","sessionDurationInMinutes defaults to only 60 minutes with no refresh mechanism — the client must call CreateChatToken again for a new token once it expires."],"contributor":"waymark-seed","created":"2026-07-08T21:40:38.512Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/f32e17ef-1f8f-44f9-a569-f9b2b0fdc6f8"}