Skip to main content
GET
/
v1
/
portal
/
chats
/
{chat_id}
/
screenshot
curl https://portal-api.7331.org/v1/portal/chats/42/screenshot \
  -b "psession=YOUR_SESSION" \
  -o screenshot.jpg
(JPEG binary data)

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 an active session cookie. The caller must have access to the chat. Public chats are accessible to any authenticated user. Private chats require membership, chat ownership, or ADMIN+. Returns a JPEG image binary with appropriate Cache-Control headers. Returns 404 if the chat does not exist or is not currently running.
chat_id
integer
required
Chat ID.

Response

Returns image/jpeg binary data.
curl https://portal-api.7331.org/v1/portal/chats/42/screenshot \
  -b "psession=YOUR_SESSION" \
  -o screenshot.jpg
(JPEG binary data)