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

# post

# OpenAPI definition

```json
{
  "info": {
    "title": "mail 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/mail/{objectId}/bulk": {
      "post": {
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MailSuccessResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          }
        },
        "parameters": [
          {
            "name": "objectId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkSendMailRequest"
              }
            }
          }
        },
        "security": [
          {
            "scope": [],
            "user": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ItemCreateRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "contentId": {
            "type": "string"
          },
          "properties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemProperty"
            }
          }
        }
      },
      "AttachmentRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "quantity": {
            "type": "integer"
          },
          "symbol": {
            "type": "string"
          },
          "specialization": {
            "type": "string"
          },
          "target": {
            "type": "integer"
          },
          "action": {
            "type": "string"
          }
        }
      },
      "SendMailRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "body": {
            "type": "string"
          },
          "expires": {
            "type": "string"
          },
          "receiverGamerTag": {
            "type": "integer"
          },
          "subject": {
            "type": "string"
          },
          "rewards": {
            "$ref": "#/components/schemas/MailRewards"
          },
          "id": {
            "type": "integer"
          },
          "senderGamerTag": {
            "type": "integer"
          },
          "category": {
            "type": "string"
          },
          "bodyRef": {
            "type": "integer"
          },
          "attachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AttachmentRequest"
            }
          }
        },
        "required": [
          "senderGamerTag",
          "receiverGamerTag"
        ]
      },
      "CurrencyChange": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "symbol": {
            "type": "string"
          },
          "amount": {
            "type": "integer"
          },
          "originalAmount": {
            "type": "integer"
          }
        },
        "required": [
          "amount"
        ]
      },
      "ItemProperty": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        }
      },
      "MailSuccessResponse": {
        "properties": {
          "result": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "title": "Mail Success Response",
        "type": "object",
        "required": [
          "result"
        ]
      },
      "BulkSendMailRequest": {
        "properties": {
          "sendMailRequests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SendMailRequest"
            }
          }
        },
        "additionalProperties": false,
        "title": "Bulk Send Mail Request",
        "type": "object"
      },
      "MailRewards": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "currencies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CurrencyChange"
            }
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemCreateRequest"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "scope": {
        "type": "apiKey",
        "name": "X-DE-SCOPE",
        "in": "header",
        "description": "Customer and project scope. This should contain the '<customer-id>.<project-id>'."
      },
      "user": {
        "type": "http",
        "description": "Bearer authentication with an player access token in the Authorization header.",
        "scheme": "bearer",
        "bearerFormat": "Bearer <Access Token>"
      }
    }
  },
  "security": [],
  "externalDocs": {
    "description": "Beamable Documentation",
    "url": "https://docs.beamable.com"
  },
  "openapi": "3.0.2",
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```