Callbell icon

Callbell

Interact with the Callbell API

Message → Send

AI-generated

Summary

Sends a text or media message to a contact via a specified Callbell channel.

Inputs

  • to (required) — Recipient phone number or platform identifier.
  • from (required) — Integration source for the message (e.g., WhatsApp, Facebook, Instagram).
  • channelUuidMsg (required) — UUID of the channel to send the message from.
  • messageType (required) — Type of message: text, image, document, audio, or video.
  • messageText — Text content (required if messageType is 'text').
  • mediaUrl — Public URL of the media file (required for image, document, audio, video).
  • mediaCaption — Optional caption for image messages.
  • assignedUser — Email of the collaborator to assign the message to.
  • botStatus — Bot status: bot_start or bot_end.
  • metadata — Custom key-value metadata (max 10 keys, 500 chars each).
  • optinContact — Whether the contact has opted in (required for template messages).
  • teamUuid — UUID of the team to associate with the message.
  • templateUuid — UUID of a WhatsApp approved template message.
  • templateValues — Array of values for multi-variable template messages.

Output shape

A list of items, each containing the full API response (JSON) from the message send request.

Returns the response from the API, which typically includes the sent message details.

Examples

Example 1: Send a simple text message via WhatsApp.

Set messageType to 'text', provide messageText, and select 'whatsapp' for the 'from' channel.

Example 2: Send an image message with a caption.

Set messageType to 'image', provide mediaUrl and optional mediaCaption.

Example 3: Send a WhatsApp template message.

Provide templateUuid and templateValues, and set optinContact to true.

Links

Discussion