x Zalo User icon

x Zalo User

Interact with Zalo User API

Get → Get User Info

AI-generated

Summary

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.

Discussion