# 基本用户信息

## getuserinfo

<mark style="color:blue;">`GET`</mark> `https://your_sspanel_domain/getuserinfo`

&#x20;获取用户基本信息

{% tabs %}
{% tab title="200 获取用户信息" %}

```
{"info":{...},"ret":1}
```

{% endtab %}
{% endtabs %}

以下是关于 `info` Object 的详细说明：

| 属性                | Type    | 说明                          |
| ----------------- | ------- | --------------------------- |
| `user`            | Object  | 用户属性，后面将详细说明                |
| `ssrSubToken`     | Text    | 用户订阅主 Token                 |
| `displayIosClass` | Number  | 可见 iOS 账号最低等级，若小于 0 则不显示    |
| `iosAccount`      | Text    | iOS 公共账号用户名                 |
| `iosPassword`     | Text    | iOS 公共账号密码                  |
| `mergeSub`        | Boolean | 是否合并单端口 / 普通端口订阅            |
| `subUrl`          | Text    | 配合`ssrSubToken`使用，组合成为订阅链接。 |
| `baseUrl`         | Text    | 订阅地址开头域名                    |
| `ann`             | Object  | 网站最新公告                      |
| `gravatar`        | Text    | 用户头像链接                      |
| `GaUrl`           | Text    | 设置两步认证的Token                |

各 Object 属性内容参见子页面。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://marcosteam.gitbook.io/sspanel-api/yong-hu-xin-xi/ji-ben-yong-hu-xin-xi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
