Skip to content

World Chat

The world chat is a season-scoped broadcast channel. Any player with an active season token can post and read messages. All players in the same season share the same channel.

Endpoints

POST /api/v1/chat/global/

Post a message to the world chat.

Auth: Bearer token (active season required)

Request body:

{ "content": "Hello, world!" }
  • content — 1–500 characters, required.

Response 201:

{
"id": "uuid",
"season_id": "uuid",
"player_id": "uuid",
"player_username": "string",
"content": "string",
"created_at": "2026-06-24T12:00:00Z"
}

GET /api/v1/chat/global/

List world chat messages for the current season, newest first.

Auth: Bearer token (active season required)

Query params:

ParamDefaultMaxDescription
limit50200Messages per page
offset09,223,372,036,854,775,807Skip this many messages

Response 200:

{
"count": 42,
"limit": 50,
"offset": 0,
"results": [
{
"id": "uuid",
"season_id": "uuid",
"player_id": "uuid",
"player_username": "string",
"content": "string",
"created_at": "2026-06-24T12:00:00Z"
}
]
}

Notes

  • Messages are season-scoped: each season has its own independent history.
  • There is no delete or edit endpoint; all messages are permanent.
  • For alliance-only chat see POST /api/v1/alliances/{id}/messages/.
  • For private player-to-player mail see POST /api/v1/messages/.