---
title: "Update Mass Message"
method: PUT
path: "/api/{account}/mass-messaging/{id}"
tags: ["Mass Messaging"]
---

# Update Mass Message

`PUT /api/{account}/mass-messaging/{id}`

Update a mass message.

## Request body

- object
  - `userLists` string[] — Array of user list IDs that the mass message will be sent to.
  - `userIds` string[] — Array of user IDs that the mass message will be sent to.
  - `text` string, required — The message text content
  - `lockedText` boolean — Whether the text should be shown or hidden
  - `price` integer — Price for paid content (0 or between 3-200). In case this is not zero, **mediaFiles** is required
  - `mediaFiles` string[] — Array of media file upload prefixed_ids, or OF media IDs (required if price is not 0). Will be hidden if `price` is provided.
  - `previews` string[] — Array of media file upload prefixed_ids, or OF media IDs (required if price is not 0). Will be shown if `price` is provided. All `previews` values must also exist in the `mediaFiles` array.
  - `giphyId` string — The ID of the Giphy GIF to attach to the message. Get IDs from the Giphy listing endpoints (`/giphy/trending`, `/giphy/search`).
  - `scheduledDate` string — Schedule the chat message in the future (UTC timezone).

## Response `200`

- object
  - `data` object
    - `id` integer
    - `date` string
    - `isReady` boolean
    - `isDone` boolean
    - `total` integer
    - `pending` integer
    - `canUnsend` boolean
    - `unsendSeconds` integer
    - `hasError` boolean
    - `isCanceled` boolean
    - `isCouplePeopleMedia` boolean
  - `_meta` object
    - `_credits` object
      - `used` integer
      - `balance` integer
      - `note` string
    - `_cache` object
      - `is_cached` boolean
      - `note` string
    - `_rate_limits` object
      - `limit_minute` integer
      - `limit_day` integer
      - `remaining_minute` integer
      - `remaining_day` integer

---

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