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

# Update localized content

> Partially updates localized broadcast message content. Optional `content` must be exactly 
one of `mjml`, `html`, `text`, or `payload` as the UI infers the editor type from that key. 
Content can only be updated while the broadcast is a draft. 
You cannot add a `locale` value on the default message content and you cannot clear the `locale` 
field on a localized content record. Duplicate `locale` values are rejected with
`409 Conflict`.




## OpenAPI

````yaml /api-reference/campaigns-v2/campaigns-v2.yaml patch /broadcasts/{broadcast_id}/messages/{message_id}/contents/{id}
openapi: 3.0.3
info:
  title: Vero Open API v2
  version: 2.0.0
  description: >
    OpenAPI description for the API key-authenticated `api/v2` campaign and

    broadcast endpoints.


    Authentication uses the `Authorization` header. Both of these forms are
    accepted:


    - `Authorization: sk_valid_123`

    - `Authorization: Bearer sk_valid_123`

    - `revision: 2026-03-01`


    Campaign read endpoints require the `campaign:read` permission, and campaign

    write endpoints require the `campaign:write` permission.


    Broadcast read endpoints require the `broadcast:read` permission. A
    broadcast

    is a one-off or recurring message sent to an audience.
servers:
  - url: https://api.getvero.com/api/v2
security:
  - ApiKeyAuth: []
tags:
  - name: Broadcasts
  - name: Broadcast Messages
  - name: Broadcast Message Contents
  - name: Journeys
  - name: Journey Messages
  - name: Journey Message Contents
  - name: Campaigns
  - name: Campaign Messages
  - name: Campaign Message Contents
paths:
  /broadcasts/{broadcast_id}/messages/{message_id}/contents/{id}:
    patch:
      tags:
        - Broadcast Message Contents
      summary: Update localized content
      description: >
        Partially updates localized broadcast message content. Optional
        `content` must be exactly 

        one of `mjml`, `html`, `text`, or `payload` as the UI infers the editor
        type from that key. 

        Content can only be updated while the broadcast is a draft. 

        You cannot add a `locale` value on the default message content and you
        cannot clear the `locale` 

        field on a localized content record. Duplicate `locale` values are
        rejected with

        `409 Conflict`.
      operationId: updateBroadcastContent
      parameters:
        - name: broadcast_id
          in: path
          required: true
          description: Broadcast ID.
          schema:
            type: integer
        - name: message_id
          in: path
          required: true
          description: Message ID.
          schema:
            type: integer
        - name: id
          in: path
          required: true
          description: Content ID.
          schema:
            type: integer
        - name: revision
          in: header
          required: false
          description: >-
            Optional dated API revision for the request. Must use `YYYY-MM-DD`
            format.
          schema:
            type: string
            pattern: ^\d{4}-\d{2}-\d{2}$
            example: '2026-03-01'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateBroadcastContentRequest'
            examples:
              HTML:
                summary: Update subject and body
                value:
                  subject: Updated
                  content:
                    html: <p>Updated</p>
        required: true
      responses:
        '200':
          description: Broadcast content updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BroadcastContent'
        '409':
          description: Duplicate locale is rejected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
        '422':
          description: Default content cannot gain a locale.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    UpdateBroadcastContentRequest:
      type: object
      description: >
        Partially update broadcast message content. The default content cannot
        gain

        a locale and localized content cannot clear it; duplicate locales return

        `409`.
      properties:
        locale:
          type: string
        name:
          type: string
          nullable: true
        subject:
          type: string
          nullable: true
        preheader_text:
          type: string
          nullable: true
        content:
          $ref: '#/components/schemas/BroadcastContentBody'
      additionalProperties: false
    BroadcastContent:
      allOf:
        - $ref: '#/components/schemas/BroadcastContentListItem'
        - type: object
          required:
            - content
          properties:
            content:
              $ref: '#/components/schemas/BroadcastContentBody'
              description: >-
                Full body: exactly one of `mjml`, `html`, `text`, or `payload`
                is set.
    ErrorList:
      type: object
      required:
        - errors
      properties:
        errors:
          type: array
          items:
            type: object
            required:
              - message
            properties:
              message:
                type: string
    BroadcastContentBody:
      type: object
      description: >
        The deliverable body for a content record. Exactly one of `mjml`,
        `html`,

        `text`, or `payload` is present, depending on the message channel: email

        uses `mjml`/`html`/`text`, SMS uses `text`, push uses `payload`.
      properties:
        mjml:
          type: string
          nullable: true
        html:
          type: string
          nullable: true
        text:
          type: string
          nullable: true
        payload:
          type: object
          nullable: true
          additionalProperties: true
    BroadcastContentListItem:
      type: object
      description: |
        Content metadata for a broadcast message (one per locale / default). The
        list response omits `content`; fetch a single record for the body.
      required:
        - id
        - message_id
        - locale
        - is_default
        - name
        - created_at
        - updated_at
      properties:
        id:
          type: integer
        message_id:
          type: integer
        locale:
          type: string
          nullable: true
          description: BCP-47-style locale tag, or `null` for the default content variant.
        is_default:
          type: boolean
        name:
          type: string
          nullable: true
        subject:
          type: string
          nullable: true
        preheader_text:
          type: string
          nullable: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Accepts either a raw API key or `Bearer <key>`.

````