# \DingTalkApi
All URIs are relative to *https://api.zashigaofa.cn*
[**ding_talk_user_info**](DingTalkApi.md#ding_talk_user_info) | **GET** /DingTalk/{appKey}/UserInfo | 获取用户资料
## ding_talk_user_info
> models::StringApiResponse ding_talk_user_info(app_key, code)
获取用户资料
根据钉钉用户授权码获取用户的详细资料。
### Parameters
**app_key** | **String** | | [required] |
**code** | Option<**String**> | 钉钉用户授权码 | |
### Return type
[**models::StringApiResponse**](StringApiResponse.md)
### Authorization
[Bearer](../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)