Actions18
- Message Actions
- Friend Actions
- Group Actions
- Get Actions
Get → Get User Info
AI-generatedSummary
Retrieve information for a specific Zalo user by their User ID.
Inputs
- User ID (required) — String ID of the Zalo user for whom to get information.
Output shape
a single record
Returns a JSON object containing user details like id, name, displayName, avatar URL, and phoneNumber. The output format is { success: true, resource: 'get', operation: 'getUserInfo', user: {...} }.
Examples
Example 1: Retrieve user details for a known User ID
Set the resource to 'Get' and operation to 'Get User Info', providing the User ID to fetch their information.