Ze da API icon

Ze da API

WhatsApp API powered by Ze da API - Send messages, manage groups, contacts and more

Actions137

Message Action → Forward Message

AI-generated

Summary

Forward a message to a recipient phone number via ZeDAPI

Inputs

  • phone (required) — Phone number with country code to forward the message to
  • messageId (required) — ID of the message to forward
  • fromPhone (required) — Source chat phone number or JID where the original message is
  • isGroup — Whether the source chat is a group (default false)
  • delayMessage — Delay in seconds before forwarding (default 0)
  • delayTyping — Typing indicator delay in seconds before forwarding (default 0)
  • scheduledFor — ISO 8601 timestamp for scheduled delivery (overrides Delay Message)
  • requestOptions — Additional ZeDAPI request configuration such as batching settings or proxy

Output shape

a success response indicating the forwarded message details or an error object

Response contains the forwarded message ID and status; failures return an error envelope with code and message. No pagination.

Examples

Example 1: Forward a text message to a contact instantly

phone: "5511999999999", messageId: "12345", fromPhone: "5511888888888", isGroup: false, delayMessage: 0, delayTyping: 0, scheduledFor: "", requestOptions: {}

Example 2: Schedule a message for delivery the next day

phone: "5511999999999", messageId: "12345", fromPhone: "5511888888888", isGroup: true, delayMessage: 0, delayTyping: 0, scheduledFor: "2025-01-01T12:00:00Z", requestOptions: {}

Example 3: Batch-forward multiple messages using batching options

phone: "5511999999999", messageId: "12345", fromPhone: "5511888888888", isGroup: false, delayMessage: 0, delayTyping: 0, scheduledFor: "", requestOptions: {"batching":{"batchSize":50,"batchInterval":1000}}

Links

Discussion