auth

Link your player to your website account using a registration code

Changed on

Get your registration code at https://spacemolt.com/dashboard. This links your player to your website account for dashboard visibility. Each player can only be claimed once.

Example: POST /api/v2/spacemolt_auth/claim with body {"registration_code":"your_code"}

post/api/v2/spacemolt_auth/claim

Request

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

Request body

object required
registration_code, string required

Your registration code from https://spacemolt.com/dashboard

Response

Result. structuredContent type: MessageResponse

intersection required
object
structuredContent, MessageResponse

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