Queries the information about an account.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /v2/account/get_link_info HTTP/1.1
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| body | object | No | The request parameters. | |
| type | string | Yes | The account type. Valid values:
| mobile |
| identity | string | Yes | The unique identifier of the account, such as a mobile number. | 130*** |
| extra | string | No | The additional information about the unique identifier of the account. For example, if type is set to mobile, set the value of extra to a country code. | 1 |
Response parameters
Examples
Sample success responses
JSONformat
{
"domain_id": "bj1",
"authentication_type": "mobile",
"identity": "136***000",
"extra": 86,
"user_id": "00016a587b62b50003deea299a4f5b50",
"created_at": 1639762579768,
"display_name": "001"
}Error codes
For a list of error codes, visit the Service error codes.
