Actions52
- Get Actions
- Message Actions
- Friend Actions
- Group Actions
- Account Actions
- Tool Actions
Friend → Send Friend Request
AI-generatedSummary
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!'.