Skip to main content
POST
/
v1
/
portal
/
chats
/
{chat_id}
/
unmute
curl -X POST https://portal-api.7331.org/v1/portal/chats/42/unmute \
  -H "Content-Type: application/json" \
  -b "psession=YOUR_SESSION" \
  -d '{"user_id": 42}'
{
  "ok": true
}

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.

Removes a per-chat mute. Does not affect hard mutes (global) — if the user is hard muted, they remain muted in all chats regardless. Broadcasts a user:unmuted event (with chat_id) to all clients in the chat. Authorization: Same as Mute User in Chat — chat owner, ADMIN+ (public/official), or ADMIN+ (any chat).
chat_id
integer
required
Chat ID.
user_id
integer
required
Entity ID of the user to unmute.

Response

ok
boolean
required
true if the user was unmuted.
curl -X POST https://portal-api.7331.org/v1/portal/chats/42/unmute \
  -H "Content-Type: application/json" \
  -b "psession=YOUR_SESSION" \
  -d '{"user_id": 42}'
{
  "ok": true
}