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

# Send email(s) with LQA reports

> Sends LQA (Language Quality Assessment) report emails to one or more recipients for the specified job parts. Use this to notify reviewers or project stakeholders when assessments are complete and the report is ready for review.

The service generates exactly one time-limited download link for the entire request — never one link per job part — from the completed LQA reports for the supplied job parts, and attaches it to the outgoing email. This holds even when the email template repeats content per job part, for example via the {jobInfo}...{/jobInfo} loop macro: every repetition resolves to the same single link. The link is a single XLSX when exactly one job part is supplied, or a single ZIP archive (one XLSX per job part) when more than one job part is supplied. The link expires after 5 days by default. Each request may target up to 100 job parts and 100 recipient users; all job parts must belong to the same project. When organizationEmailTemplate is supplied, its body is used as the email template; the optional message field replaces the template body when both are provided, or is inserted into the default email template when no organizationEmailTemplate is given. If subject is provided it must be at least 1 character; null uses the default subject from the template. The ccAddress and bccAddress fields must be valid email addresses.

Requires the Administrator or Project Manager role. Returns 404 when none of the specified job parts have a downloadable LQA report.



## OpenAPI

````yaml /openapi/phrase-tms-latest.json post /api2/v1/lqa/assessments/reports/emails
openapi: 3.0.0
info:
  description: |-
    Welcome to Phrase's TMS API documentation. 

     Please visit our [help center](https://support.phrase.com/hc/en-us/sections/5709662083612) for more information about the APIs. 

     If you have any questions, please contact [Support](https://support.phrase.com/hc/requests/new). 

     Please, include the `User-Agent` header with the name of your application or project. It might be a good idea to include some sort of contact information as well, so that we can get in touch if necessary. Examples of excellent `User-Agent` headers:
     > User-Agent: Example mobile app (example@phrase.com) <br/> User-Agent: ACME Inc Java 1.8 Client (http://acmeinc.com/contact)
  version: Latest
  title: Phrase TMS API
servers:
  - url: https://cloud.memsource.com/web
security:
  - ApiToken: []
  - OAuth2: []
tags:
  - name: Additional Workflow Step
  - name: Analysis
  - name: Async Request
  - name: Authentication
  - name: Automations
  - name: Bilingual File
  - name: Business Unit
  - name: Buyer
  - name: Client
  - name: Connector
  - name: Conversations
  - name: Cost Center
  - name: Custom Fields
  - name: Custom File Type
  - name: Domain
  - name: Due Date Scheme
  - name: Email Template
  - name: File
  - name: Glossary
  - name: Import settings
  - name: Job
  - name: Language AI
  - name: Language Assets
  - name: Language Quality Assessment
  - name: Machine Translation
  - name: Machine Translation Settings
  - name: Mapping
  - name: Metabase
  - name: Net Rate Scheme
  - name: Notifications
  - name: Price List
  - name: Project
  - name: Project Template
  - name: Provider
  - name: Quality Assurance
  - name: Quality Profile
  - name: Quote
  - name: Reference File
  - name: Segment
  - name: Segmentation Rules
  - name: Service
  - name: Setup
  - name: Spell Check
  - name: SubDomain
  - name: Supported Languages
  - name: Term Base
  - name: Translation
  - name: Translation Memory
  - name: User
  - name: User Profile
  - name: Vendor
  - name: Webhook
  - name: Workflow Step
  - name: Workflow changes
  - name: XML Assistant
paths:
  /api2/v1/lqa/assessments/reports/emails:
    post:
      tags:
        - Language Quality Assessment
      summary: Send email(s) with LQA reports
      description: >-
        Sends LQA (Language Quality Assessment) report emails to one or more
        recipients for the specified job parts. Use this to notify reviewers or
        project stakeholders when assessments are complete and the report is
        ready for review.


        The service generates exactly one time-limited download link for the
        entire request — never one link per job part — from the completed LQA
        reports for the supplied job parts, and attaches it to the outgoing
        email. This holds even when the email template repeats content per job
        part, for example via the {jobInfo}...{/jobInfo} loop macro: every
        repetition resolves to the same single link. The link is a single XLSX
        when exactly one job part is supplied, or a single ZIP archive (one XLSX
        per job part) when more than one job part is supplied. The link expires
        after 5 days by default. Each request may target up to 100 job parts and
        100 recipient users; all job parts must belong to the same project. When
        organizationEmailTemplate is supplied, its body is used as the email
        template; the optional message field replaces the template body when
        both are provided, or is inserted into the default email template when
        no organizationEmailTemplate is given. If subject is provided it must be
        at least 1 character; null uses the default subject from the template.
        The ccAddress and bccAddress fields must be valid email addresses.


        Requires the Administrator or Project Manager role. Returns 404 when
        none of the specified job parts have a downloadable LQA report.
      operationId: sendLqaReportEmails
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LqaReportEmailRequestDtoV1'
        description: >-
          Email request specifying job parts, recipients, and optional email
          content.
        required: true
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
        '401':
          description: Not authorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '405':
          description: Method not allowed
        '408':
          description: Timeout
        '410':
          description: Gone
        '415':
          description: Unsupported media type
        '429':
          description: Too Many Requests
        '500':
          description: Internal server error
        '501':
          description: Not implemented
components:
  schemas:
    LqaReportEmailRequestDtoV1:
      type: object
      required:
        - jobParts
        - recipientUsers
      properties:
        bccAddress:
          type: string
          description: >-
            BCC email address for the report email. Must be a valid email
            address.
        ccAddress:
          type: string
          description: >-
            CC email address for the report email. Must be a valid email
            address.
        jobParts:
          type: array
          description: >-
            Job parts for which the LQA reports should be sent. Between 1 and
            100 entries.
          items:
            $ref: '#/components/schemas/UidReference'
          maxItems: 100
          minItems: 0
        message:
          type: string
          description: >-
            Body text for the outgoing email. When organizationEmailTemplate is
            supplied, this value replaces the template body; otherwise it is
            inserted into the default email template.
        organizationEmailTemplate:
          $ref: '#/components/schemas/UidReference'
        recipientUsers:
          type: array
          description: >-
            Users who will receive the LQA report email. Between 1 and 100
            entries.
          items:
            $ref: '#/components/schemas/UidReference'
          maxItems: 100
          minItems: 0
        subject:
          type: string
          description: >-
            Subject line of the report email. Must be at least 1 character when
            supplied. Null uses the default subject from the email template.
          minLength: 1
          maxLength: 2147483647
      description: >-
        Request body for sending LQA (Language Quality Assessment) report
        emails.
    UidReference:
      type: object
      required:
        - uid
      properties:
        uid:
          type: string
          example: 3HYnHHLkTPJfMxBCDbPXFe
          description: Unique identifier of the referenced object
      description: Reference to an object by its unique identifier
  securitySchemes:
    ApiToken:
      description: >-
        Get a token from `auth/login` [endpoint](#operation/login) and then pass
        it in the `Authorization` HTTP header in every subsequent API call. For
        more information visit our [help
        center](https://support.phrase.com/hc/en-us/articles/5709662181404-API-Authentication-TMS-#token-0-0).
      type: apiKey
      name: Authorization
      in: header
    OAuth2:
      description: >-
        A standard OAuth 2.0 authorization code flow. For more information visit
        our [help
        center](https://support.phrase.com/hc/en-us/articles/5709662181404-API-Authentication-TMS-#oauth-2-0-0-1).
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://cloud.memsource.com/web/oauth/authorize
          tokenUrl: https://cloud.memsource.com/web/oauth/token
          scopes: {}

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.