Skip to main content

Get the user ID by unionId

API call description

A unionId is a unique identifier assigned to an employee within the scope of the current developer Enterprise Account, generated by the system:
  • The unionId of the same employee differs across different developer Enterprise Accounts.
  • Within the same developer Enterprise Account, the unionId is unique and immutable. For example, multiple apps developed by the same service provider, or multiple app accounts in scenarios such as Scan QR Code sign-in, all share the same unionId.

Request

Query parameter

Request body

Request example

Java
Python
PHP
C#

Response

Response body

Response body example

Error codes

If an error occurs when calling this API, look up the solution by error message in the Global error codes document.