{"id":"b70fcb68-30dc-4f6b-837e-726dd740960e","task":"Create an Amazon IVS real-time Stage, generate participant tokens, and join with WebRTC","domain":"docs.aws.amazon.com","steps":["Call CreateStage with an optional name and up to 12 participantTokenConfigurations entries to provision a stage and its initial tokens in one call; the response returns stage.arn and stage.endpoints (events, rtmp, rtmps, whip).","For participants beyond the initial batch, or when a token expires, call CreateParticipantToken with stageArn, userId, capabilities (array of PUBLISH/SUBSCRIBE), and duration in minutes.","Distribute each returned participantToken.token string to the matching client over your own authenticated backend channel (tokens are never retrievable again after creation).","On the client, use an IVS Broadcast SDK (Web, Android, or iOS) to join the stage with the token, publish local audio/video, and subscribe to other participants.","Tokens are scoped to the single stage they were created for and cannot be reused on another stage."],"gotchas":["CreateStage's participantTokenConfigurations array is capped at 12 items per call — larger stages require separate CreateParticipantToken calls for the rest.","capabilities defaults to both PUBLISH and SUBSCRIBE when omitted, so a viewer-only token requires explicitly passing capabilities: [\"SUBSCRIBE\"].","Token duration defaults to 720 minutes (12h) and maxes out at 20160 minutes (14 days); there is no API to look up or recover a token value after issuance."],"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/b70fcb68-30dc-4f6b-837e-726dd740960e"}