> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.ezzydoc.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getEmailBody



## OpenAPI

````yaml /mintlify/docs/openapi.yaml get /getEmailBody
openapi: 3.0.1
info:
  title: EzzyRest API
  version: 1.0.0
servers:
  - url: https://app.ezzydoc.com/EzzyService.svc/Rest/
    description: Production Server
security: []
paths:
  /getEmailBody:
    get:
      tags:
        - EzzyRest
      summary: getEmailBody
      operationId: getEmailBody
      parameters:
        - name: invoiceid
          in: query
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/EmailBodySS'
            application/json:
              schema:
                $ref: '#/components/schemas/EmailBodySS'
            text/json:
              schema:
                $ref: '#/components/schemas/EmailBodySS'
        '400':
          description: Bad Request
        '500':
          description: Internal Server Error
      security:
        - BearerAuth: []
components:
  schemas:
    EmailBodySS:
      type: object
      properties:
        email_body:
          type: string
        service_status:
          $ref: '#/components/schemas/Servicestatus'
    Servicestatus:
      type: object
      properties:
        invoice_id:
          type: integer
        message:
          type: string
        status:
          type: integer
          enum:
            - 0
            - 1
            - 2
            - 3
          x-enumNames:
            - OK
            - FAILED
            - NO_MORE_INVOICES
            - NOT_PERMITTED
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````