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

# Update broadcast field entries

> Update field entries for broadcast recipients. Replaces any existing entries for this broadcast.



## OpenAPI

````yaml https://api.useinvent.com/openapi.json patch /orgs/{org_id}/broadcasts/{broadcast_id}/fields/entries
openapi: 3.1.0
info:
  version: 1.0.0
  title: Invent API
servers:
  - url: https://api.useinvent.com
security:
  - bearerAuth: []
tags:
  - name: Inbox
  - name: Chats
  - name: Messages
  - name: Contacts
  - name: Custom channels
  - name: Segments
  - name: Suppressions
  - name: Assistants
  - name: Agents
  - name: Skills
  - name: Knowledge
  - name: AI
  - name: Broadcasts
  - name: Email sending
  - name: WhatsApp
  - name: WhatsApp Meta agent
  - name: Tables
  - name: Records
  - name: Views
  - name: Pages
  - name: Connections
  - name: Workspace
  - name: Sub-organizations
  - name: Analytics and logs
  - name: Workflows
paths:
  /orgs/{org_id}/broadcasts/{broadcast_id}/fields/entries:
    patch:
      tags:
        - Broadcasts
      summary: Update broadcast field entries
      description: >-
        Update field entries for broadcast recipients. Replaces any existing
        entries for this broadcast.
      parameters:
        - schema:
            type: string
          required: true
          description: Org ID
          name: org_id
          in: path
        - schema:
            type: string
          required: true
          description: Broadcast ID
          name: broadcast_id
          in: path
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateBroadcastFieldEntriesSchema'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/UpdateBroadcastFieldEntriesSchema'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateBroadcastFieldEntriesResultSchema'
components:
  schemas:
    UpdateBroadcastFieldEntriesSchema:
      type: object
      properties:
        entries:
          type: array
          items:
            type: object
            properties:
              user_id:
                type: string
                maxLength: 1024
                description: The user ID of the contact channel
              email:
                type: string
                maxLength: 256
                title: Email
                description: The email for the contact channel (e.g. user@example.com)
              phone:
                type: string
                maxLength: 256
                title: Phone
                description: The phone number for the contact channel (e.g. +1234567890)
              values:
                $ref: '#/components/schemas/BroadcastFieldValuesSchema'
            required:
              - values
          maxItems: 50000
        mode:
          type: string
          enum:
            - replace
            - merge
          title: Mode
          description: >-
            'replace' (default) swaps the whole entry set; 'merge' upserts by
            identifier and merges values into matching entries.
      required:
        - entries
      description: Schema for importing broadcast field entries
    UpdateBroadcastFieldEntriesResultSchema:
      type: object
      properties:
        fields_count:
          type: number
        entries_count:
          type: number
      required:
        - fields_count
        - entries_count
    BroadcastFieldValuesSchema:
      type: object
      additionalProperties:
        type: string
        maxLength: 524288
      description: A record of field keys and values per broadcast contact
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: Bearer token authentication using your API key

````