DataCrazy icon

DataCrazy

Interagir com DataCrazy API para gerenciamento de leads, negócios e CRM

Conversas → Enviar Mensagem

AI-generated

Summary

Send a message to a specific conversation identified by its unique ID, supporting multiple message types including text, image, video, audio, and document with optional scheduling and internal message flags.

Inputs

  • conversationId (required) — Unique identifier of the conversation to which the message will be sent.
  • messageType (required) — Type of message to send: TEXT, IMAGE, VIDEO, AUDIO, or FILE.
  • body — Content of the text message or optional text to accompany media messages (only for TEXT, IMAGE, VIDEO, and FILE types).
  • attachmentUrl (required) — URL of the file to send (required for IMAGE, VIDEO, AUDIO, and FILE types).
  • fileName (required) — Filename with extension of the attachment (required for IMAGE, VIDEO, AUDIO, and FILE types).
  • fileSize (required) — Size of the attachment file in bytes (required for IMAGE, VIDEO, AUDIO, and FILE types).
  • additionalFields — Optional fields including repliedMessageId (to send as a reply), scheduledDate (ISO 8601 format to schedule message delivery), and isInternal (boolean indicating if message is internal and not visible to the client).

Output shape

a single record

Returns data about the sent message as received from the API. The operation supports conditional input fields depending on the messageType and optional scheduling or internal messaging flags.

Links

Discussion