---
updatedAt: 2025-11-11T02:12:27.000Z
agentTools:
  projectIndex: https://beamable2.readme.io/llms.txt
---

# put

# OpenAPI definition

```json
{
  "info": {
    "title": "leaderboards object",
    "version": "1.0",
    "contact": {
      "name": "Beamable Support",
      "url": "https://api.beamable.com",
      "email": "support@beamable.com"
    }
  },
  "servers": [
    {
      "url": "https://api.beamable.com"
    }
  ],
  "paths": {
    "/object/leaderboards/{objectId}/entry": {
      "put": {
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          }
        },
        "parameters": [
          {
            "name": "objectId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeaderboardAddRequest"
              }
            }
          }
        },
        "security": [
          {
            "scope": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "CommonResponse": {
        "properties": {
          "result": {
            "type": "string"
          },
          "data": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "additionalProperties": false,
        "title": "Common Response",
        "type": "object"
      },
      "LeaderboardAddRequest": {
        "properties": {
          "maxScore": {
            "type": "number"
          },
          "stats": {
            "type": "object",
            "additionalProperties": true
          },
          "score": {
            "type": "number"
          },
          "minScore": {
            "type": "number"
          },
          "id": {
            "type": "integer"
          },
          "increment": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "title": "Leaderboard Add Request",
        "type": "object",
        "required": [
          "id",
          "score"
        ]
      }
    },
    "securitySchemes": {
      "scope": {
        "type": "apiKey",
        "name": "X-DE-SCOPE",
        "in": "header",
        "description": "Customer and project scope. This should contain the '<customer-id>.<project-id>'."
      }
    }
  },
  "security": [],
  "externalDocs": {
    "description": "Beamable Documentation",
    "url": "https://docs.beamable.com"
  },
  "openapi": "3.0.2",
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```