---
title: "Update broadcast"
method: PUT
path: "/broadcasts/{broadcastId}"
tags: ["Broadcasts"]
---

# Update broadcast

`PUT /broadcasts/{broadcastId}`

REQUIRED SCOPES <code>['broadcasts:write']</code><br>Update broadcast

## Path parameters

- `broadcastId` integer, required

## Request body

- object
  - `id` integer, required — The ID of the Broadcast
  - `name` string — Name
  - `number_id` integer, required — The ID of the Number
  - `message` string — Message
  - `media_url` string[] — The url of the media
  - `send_at` string, date — Date of send (For Scheduled Broadcasts). UTC
  - `package_count` integer, required — Count of package
  - `is_cloned` boolean — This is cloned?
  - `is_draft` boolean — This is draft?
  - `is_rvm` boolean — This is Ringless Voicemail?
  - `numbers_check_type` integer, nullable — Indicates if we need to check contacts number and which type of check is needed
  - `send_now` boolean — Is broadcast should be send now?
  - `timezone` string — Timezone Name
  - `schedule` object — Days for the broadcast to run
    - `days` string[]
    - `time` string
  - `restrict_hours` object — Restrict Sending Hours
    - `start` string
    - `stop` string
    - `action` string
  - `assignee` object — Assignee
    - `type` string
    - `member_id` integer, nullable
  - `filters` object
    - `filtersListGroups` object
      - `tags` integer[]
      - `contacts` integer[]
      - `segments` integer[]
      - `advanced` integer[]
  - `chatbot` object — Chatbot configuration for handling replies
    - `id` integer — Chatbot ID
  - `enable_quiet_hours` boolean — Is enable quiet hours сheck

## Response `200`

OK

- Broadcast — Class Broadcast
  - `id` integer — Transform the resource into an array.
  - `organization_id` integer
  - `owner_id` string
  - `number_id` string
  - `team_id` string
  - `is_send_now` string
  - `name` string
  - `status` string
  - `created_at` string
  - `updated_at` string
  - `sent_at` string
  - `send_at` string
  - `contacts` ContactResource[]
    - `id` integer — Returns the contact in array format.
    - `owner_id` integer
    - `color` string
    - `first_name` string
    - `last_name` string
    - `full_name` string
    - `email` string
    - `photo_url` string
    - `number` string
    - `country` string
    - `country_calling_code` string
    - `national_number` string
    - `typeted_number` string
    - `is_blocked` boolean
    - `opt_out` boolean
    - `opt_out_at` string
    - `opt_in_request_at` string
    - `opt_in_requests` object[]
      - `number_id` integer
    - `opt_in_at` string
    - `shortcode_opt_outs` object[]
      - `id` integer
      - `number_id` integer
      - `name` string
      - `disabled` boolean
      - `timestamp` string
      - `value` boolean
    - `created_at` string
    - `updated_at` string
    - `integration_vendor_id` integer
    - `prevent_autolink` boolean
    - `integration` object[]
      - `id` integer
      - `key` string
      - `name` string
      - `photo_url` string
    - `custom_fields` ContactCustomFieldResource[]
      - `id` integer
      - `custom_field_id` integer
      - `contact_id` integer
      - `field_key` string
      - `organization_id` integer
      - `text` string
      - `number` integer
      - `date` string
      - `created_at` string
      - `updated_at` string
      - `value` object[]
        - `type` string
        - `value` string
    - `tags` ContactTagResource[]
      - `id` integer
      - `name` string
      - `label` string
      - `created_at` string
    - `notes` object[]
      - `id` integer
      - `text` string
      - `created_at` string
      - `updated_at` string

## Other responses

- `400` — Bad Request
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/salesmessage/apis/salesmessage-public-api.md) · [All operations](https://skmtc.net/salesmessage/apis/salesmessage-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/salesmessage/salesmessage-public-api/revisions/e96b3e58b041/schema)
