---
agentTools:
  projectIndex: https://moorse.readme.io/llms.txt
---

# Total de mensagens

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Moorse",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.moorse.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://example.com/oauth2/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/reports/total-messages?beginDate={beginDate}&endDate={endDate}": {
      "get": {
        "summary": "Total de mensagens",
        "description": "",
        "operationId": "total-de-mensagens",
        "parameters": [
          {
            "name": "beginDate",
            "in": "path",
            "schema": {
              "type": "string",
              "format": "date",
              "default": "2021-06-01"
            },
            "required": true
          },
          {
            "name": "endDate",
            "in": "path",
            "schema": {
              "type": "string",
              "format": "date",
              "default": "2021-07-01"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"data\": {\n    \"totalMessageSent\": 0,\n    \"totalMessagesReceived\": 0,\n    \"totalContacts\": 0\n  },\n  \"errors\": []\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "totalMessageSent": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "totalMessagesReceived": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "totalContacts": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        }
                      }
                    },
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "5ee29e9b95ba7f023df3170f:613e82cd324061000fdd023f"
}
```