---
title: "Send Message"
method: POST
path: "/api/{account}/chats/{chat_id}/messages"
tags: ["Chat Messages"]
---

# Send Message

`POST /api/{account}/chats/{chat_id}/messages`

Send a new message to a chat.

## Request body

- object
  - `text` string — The message text content. Required unless a media file is present.
  - `replyToMessageId` integer — Mark this message as a reply to another (can be either your own, or the recipient's)
  - `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` unknown[] — Direct file uploads, OFAPI `ofapi_media_` IDs, or OF vault IDs. Will be hidden if `price` is provided.
    - unknown
  - `previews` unknown[] — Direct file uploads, OFAPI `ofapi_media_` IDs, OF vault IDs, or integer indices referencing uploaded files in `mediaFiles`. Will be shown if `price` is provided.
    - unknown
  - `giphyId` string — The ID of the Giphy GIF to attach to the message. Get IDs from the Giphy listing endpoints (`/giphy/trending`, `/giphy/search`).
  - `rfTag` string — Array of OnlyFans Creator User IDs to tag in your message
  - `rfPartner` string — Array of OnlyFans Release Form Partners IDs to tag in your message
  - `rfGuest` string — Array of OnlyFans Release Form Guest IDs to tag in your message

## Response `200`

Success

- object
  - `data` object
    - `responseType` string
    - `text` string
    - `giphyId` string, nullable
    - `lockedText` boolean
    - `isFree` boolean
    - `price` integer
    - `isMediaReady` boolean
    - `mediaCount` integer
    - `media` unknown[]
      - unknown
    - `previews` unknown[]
      - unknown
    - `isTip` boolean
    - `isReportedByMe` boolean
    - `isCouplePeopleMedia` boolean
    - `queueId` integer
    - `isMarkdownDisabled` boolean
    - `releaseForms` unknown[]
      - unknown
    - `fromUser` object
      - `id` integer
      - `_view` string
    - `isFromQueue` boolean
    - `id` integer
    - `isOpened` boolean
    - `isNew` boolean
    - `createdAt` string
    - `changedAt` string
    - `cancelSeconds` integer
    - `isLiked` boolean
    - `canPurchase` boolean
    - `canPurchaseReason` string
    - `canReport` boolean
    - `canBePinned` boolean
    - `isPinned` boolean
  - `_pagination` object
    - `next_page` string
  - `_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

## Other responses

- `422` — Validation Error

---

[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/versions/4a99d36f28a3/schema)
