All Products
Search
Document Center

Drive and Photo Service:GetLinkInfo

Last Updated:Aug 04, 2025

Queries the information about an account.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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

ParameterTypeRequiredDescriptionExample
bodyobjectNo

The request parameters.

typestringYes

The account type. Valid values:

  • mobile: a mobile number.
  • email: an email address.
  • ding: a DingTalk account.
  • ram: an Alibaba Cloud Resource Access Management (RAM) user.
  • wechat: a WeCom account.
  • ldap: a Lightweight Directory Access Protocol (LDAP) account.
  • custom: a custom account.
mobile
identitystringYes

The unique identifier of the account, such as a mobile number.

130***
extrastringNo

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

ParameterTypeDescriptionExample
AccountLinkInfo

The information about the account.

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.