social

Unmute previously muted notification channels

Changed on

Resumes real-time WebSocket delivery for the listed channels. Pass {"all": true} instead of channels to unmute everything. Unmuting exchange_fills (by name or with all) opts you in to it on every transport.

Example: POST /api/v2/spacemolt_social/unmute_notifications with body {"channels":["chat.system"]}

post/api/v2/spacemolt_social/unmute_notifications

Request

  • Base URL
    https://game.spacemolt.com
  • Auth
    API key in header X-Session-Id

Request body

object required
all, boolean

Unmute all channels (alternative to listing channels)

channels, string[]

Notification channels to unmute

Response

Result. structuredContent type: NotificationSettingsResponse

intersection required
object
structuredContent, NotificationSettingsResponse

Example response

{
  "notifications": [
    {
      "data": {
        "reason": "stalemate",
        "winning_side": -1
      }
    }
  ]
}

Changes

    • info

      added the optional property allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/fuel to the response with the status

    • info

      added the optional property allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/bearing to the response with the status