Who is in which voice channel
const url = 'https://api.gampeon.com/v1/communities/1/voice';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.gampeon.com/v1/communities/1/voice \ --header 'Authorization: Bearer <token>'All voice channels you can see, with the people in them. allowed is false for accounts under 16 (reason: age_restricted): they see voice channels but cannot join. enabled is false while the voice server is not set up. Poll every 10 to 15 seconds at most until real-time updates arrive.
Not available with access tokens.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Community ID
Responses
Section titled “Responses”Voice channels
object
object
0 is no limit
object
Example
{ "reason": "age_restricted"}Error codes: unauthorized
object
Machine-readable error code, for example not_found or rate_limited.
Human-readable detail. Only present for some errors.
Example generated
{ "error": "example", "message": "example"}Error codes: token_not_allowed
object
Machine-readable error code, for example not_found or rate_limited.
Human-readable detail. Only present for some errors.
Example generated
{ "error": "example", "message": "example"}Error codes: not_found
object
Machine-readable error code, for example not_found or rate_limited.
Human-readable detail. Only present for some errors.
Example generated
{ "error": "example", "message": "example"}