Skip to main content
POST
/
v1
/
admin
/
chats
/
{chat_id}
/
update
curl -X POST https://portal-api.7331.org/v1/admin/chats/1/update \
  -H "Content-Type: application/json" \
  -b "psession=YOUR_SESSION" \
  -d '{"visibility": "official", "description": "Main lobby chat"}'
{
  "id": 1,
  "name": "main-lobby",
  "owner_id": 1,
  "is_public": true,
  "visibility": "official",
  "label": null,
  "slug": "main-lobby",
  "description": "Main lobby chat",
  "avatar_source": null,
  "last_activity_at": "2026-03-14T12:00:00Z",
  "created_at": "2026-03-01T00:00:00Z",
  "updated_at": "2026-03-15T08:30:00Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.7331.org/llms.txt

Use this file to discover all available pages before exploring further.

Requires Admin or higher permission level.

Path Parameters

chat_id
integer
required
Chat ID

Body Parameters

All fields are optional — only provided fields are updated.
name
string
New chat display name (2–64 characters)
visibility
string
Chat visibility: "official", "public", or "private".
label
string | null
Platform endorsement label. Send null to clear.
description
string
Chat description (max 500 characters)
slug
string | null
Vanity slug. Send null to clear (chat reverts to private unless visibility is also set).
browser_config
object
Neko container configuration (browser, start_url, kiosk)

Response

Returns the updated chat object (GroupChatPublicResponse).
id
integer
Chat ID
name
string
Chat display name
owner_id
integer
Owner user ID
is_public
boolean
Whether visible to everyone.
visibility
string
Chat visibility: "official", "public", or "private".
label
string | null
Platform endorsement label.
slug
string | null
Vanity slug (nullable)
description
string | null
Chat description (nullable)
avatar_source
string | null
Avatar key.
last_activity_at
string
ISO 8601 timestamp
created_at
string
ISO 8601 creation timestamp
updated_at
string
ISO 8601 last-updated timestamp
curl -X POST https://portal-api.7331.org/v1/admin/chats/1/update \
  -H "Content-Type: application/json" \
  -b "psession=YOUR_SESSION" \
  -d '{"visibility": "official", "description": "Main lobby chat"}'
{
  "id": 1,
  "name": "main-lobby",
  "owner_id": 1,
  "is_public": true,
  "visibility": "official",
  "label": null,
  "slug": "main-lobby",
  "description": "Main lobby chat",
  "avatar_source": null,
  "last_activity_at": "2026-03-14T12:00:00Z",
  "created_at": "2026-03-01T00:00:00Z",
  "updated_at": "2026-03-15T08:30:00Z"
}