Skip to content
GAMPEONCreate
New project

Your communities

GET
/v1/me/communities
curl --request GET \
--url https://api.gampeon.com/v1/me/communities \
--header 'Authorization: Bearer <token>'

Communities you joined plus those of studios and projects you manage, oldest first, with unread and mentions over the channels you can see. manageable lists studios and projects you manage and their community ID (or null), for a create button. Poll every 30 seconds at most until real-time updates arrive.

Not available with access tokens.

Communities

Media typeapplication/json
object
communities
required
Array
object
id
required
integer
name
required
string
description
required
string
icon
required
One of:

Image path under /v1/media/ (studio logo or project key art)

string
cover
required
One of:

Banner image under /v1/media/: the cover of the studio or the project. null if there is none

string
owner
required
object
type
required
string
Allowed values: studio project
slug
required
string
/^[a-z0-9][a-z0-9-]{1,30}[a-z0-9]$/
name
required
string
joinMode
required

open: anyone who meets the minimum age can join. invite: only with an invite link

string
Allowed values: open invite
minAge
required

13 or 16. Communities for 18+ come only with real age verification

integer
members
required
integer
players
required

Players online right now on servers of the project (or of all projects of the studio)

integer
createdAt
required

Unix time in milliseconds

integer format: int64
admin
required
boolean
hidden
required

Hidden by GAMPEON or the studio or project is hidden

boolean
unread
required
boolean
mentions
required
integer
manageable
required
Array<object>
object
type
required
string
Allowed values: studio project
slug
required
string
name
required
string
icon
required
One of:

Image path under /v1/media/ (studio logo or project key art)

string
community
required
One of:
integer

Example

{
"communities": [
{
"owner": {
"type": "studio"
},
"joinMode": "open"
}
],
"manageable": [
{
"type": "studio"
}
]
}

Error codes: unauthorized

Media typeapplication/json
object
error
required

Machine-readable error code, for example not_found or rate_limited.

string
message

Human-readable detail. Only present for some errors.

string

Example generated

{
"error": "example",
"message": "example"
}

Error codes: token_not_allowed

Media typeapplication/json
object
error
required

Machine-readable error code, for example not_found or rate_limited.

string
message

Human-readable detail. Only present for some errors.

string

Example generated

{
"error": "example",
"message": "example"
}

Report a problem with this pageOther ways to give feedback