Zalo Tương Tác icon

Zalo Tương Tác

Tương tác Zalo: tin nhắn, bạn bè, nhóm, tài khoản và custom API qua zca-js

Friend → Send Friend Request

AI-generated

Summary

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

Inputs

  • User ID (required) — The unique string identifier of the Zalo user to whom you want to send a friend request.
  • Friend Request Message — An optional message to include with the friend request.

Output shape

a single JSON response object from the Zalo API indicating success or failure of the friend request action

The returned response will contain details about the friend request operation's outcome; no pagination or multiple items expected.

Examples

Example 1: Sending a friend request to user '123456789' with a personalized greeting message.

Set 'User ID' to '123456789' and 'Friend Request Message' to a greeting text like 'Hi, let's connect!'.

Links

Discussion