Zalo OA icon

Zalo OA

Zalo Official Account API

Zalo OA → Send Text Message

AI-generated

Summary

Sends a text message to a Zalo OA user.

Inputs

  • messageType — Message type: Customer Service, Transaction, or Promotion. Defaults to Customer Service (cs). Options: cs, transaction, promotion.
  • userId (required) — ID of the user who will receive the message.
  • text (required) — Content of the text message to send.

Output shape

object

The operation returns the raw response from the Zalo OA Send Message API, which typically includes a message ID and status information.

Examples

Example 1: Send a promotional text to a follower.

Set messageType to 'promotion', provide a valid userId, and write the desired text.

Links

Discussion