Fanvue API icon

Fanvue API

Interact with the Fanvue API

Actions74

Chats → Send Message

AI-generated

Summary

Send a message to a Fanvue chat.

Inputs

  • X-Fanvue-API-Version (required) — API version to use for the request. Defaults to 2025-06-26 if not set. Sent as the X-Fanvue-API-Version header.
  • userUuid (required) — User UUID to send the message to.
  • text — Message text content. Sent as the request body.
  • mediaUuids — Media UUIDs to include with the message. Accepts a JSON array. Sent as the request body.
  • price — Price for the message in the requested currency. Sent as the request body. Defaults to 0.
  • templateUuid — Template UUID for the message. Sent as the request body.
  • requestOptions — Collection of request options. Currently supports batching configuration: batchSize (number, default 50; -1 disables, 0 treats as 1) and batchInterval (number, default 1000 ms).
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation fails. Defaults to false. Marked as noDataExpression.
  • proxy — HTTP proxy to use for the request. Format: http://[username:password@]host:port. Defaults to empty string.
  • timeout — Timeout in milliseconds to wait for the server to send response headers before aborting. Defaults to 10000.

Output shape

The Fanvue API response for the sent message, typically including status and message ID.

Exact return shape is not detailed in the provided properties or source; described as the API response for the chat message send operation.

Examples

Example 1: Send a simple text message to a user.

Set userUuid and text. All other parameters use defaults.

Example 2: Send a message with media and batching.

Set userUuid, text, mediaUuids as a JSON array, and requestOptions with batchSize and batchInterval as needed.

Links

Discussion