Zalo User Interact icon

Zalo User Interact

Gửi tin nhắn và tương tác với Zalo User

Actions133

Friend → Send Friend Request With User Id

AI-generated

Summary

Sends a friend request to a Zalo user identified by their user ID, optionally including a custom message.

Inputs

  • userId (required) — The Zalo user ID of the recipient.
  • message — Optional text message to send alongside the friend request.

Output shape

a single object

Returns the Zalo API response containing execution status and result details for the friend request.

Examples

Example 1: Send a friend request to a specific user with a greeting

Set userId to the target user's ID and provide a short intro in message.

Links

Discussion