x Zalo User icon

x Zalo User

Interact with Zalo User API

Friend → Accept Friend Request

AI-generated

Summary

Accept a pending friend request from a specified target user by their user ID.

Inputs

  • User ID (required) — Target user ID whose friend request you want to accept.

Output shape

a single JSON object confirming acceptance, including the userId accepted and a timestamp

The output JSON contains success status, resource type 'friend', operation 'acceptFriendRequest', the userId accepted, and an 'acceptedAt' ISO timestamp.

Examples

Example 1: Accept friend request from user with ID 'user_123'

Set resource to 'Friend', operation to 'Accept Friend Request', and input 'User ID' as 'user_123'. The node will output confirmation with timestamps.

Discussion