> For the complete documentation index, see [llms.txt](https://doc.mantago.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.mantago.cc/wen-jian-shuo-ming-1/hui-yuan-api/hui-yuan-zi-liao.md).

# 會員資料

## Get specific client

> Retrieve detailed information about a specific client.\
> \
> Conditional validation rules:\
> \- If clientId (path parameter) is provided, platformClientId and platform are optional\
> \- If clientId (path parameter) is empty, both platformClientId and platform are required<br>

```json
{"openapi":"3.0.3","info":{"title":"Manta OpenAPI","version":"0.363.10"},"tags":[{"name":"Core","description":"Core OpenAPI functionality for customer management and broadcasting"}],"servers":[{"url":"https://mantago.cc/api","description":"MantaGo Openapi host url"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Bearer token for API authentication"}},"schemas":{"SecretRequest":{"type":"object","properties":{"secret":{"type":"string","description":"Secret key for API authentication"}},"required":["secret"]},"ClientResponse":{"allOf":[{"$ref":"#/components/schemas/BasicSuccessResponse"},{"type":"object","properties":{"client":{"$ref":"#/components/schemas/Client"}}}]},"BasicSuccessResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"}},"required":["success","message"]},"Client":{"type":"object","properties":{"clientId":{"type":"string","description":"Platform-specific client ID"},"clientName":{"type":"string","description":"Client display name"},"clientHeadshot":{"type":"string","format":"uri","description":"Client avatar URL"},"platform":{"type":"string","enum":["line","facebook","instagram","liveChat","whatsapp"],"description":"Platform type"},"remark":{"type":"string","description":"Admin remarks about the client"},"isBlock":{"type":"boolean","description":"Whether the client is blocked"},"customerId":{"type":"string","description":"Internal customer ID"},"userName":{"type":"string","description":"User's questionnaire name"},"userEmail":{"type":"string","format":"email","description":"User's questionnaire email"},"userPhone":{"type":"string","description":"User's questionnaire phone"},"userBirthday":{"type":"string","format":"date","description":"User's questionnaire birthday"},"userAddress":{"type":"string","description":"User's questionnaire address"},"createdAt":{"type":"string","format":"date-time","description":"Client creation timestamp"},"updatedAt":{"type":"string","format":"date-time","description":"Client last update timestamp"},"lastInteractAt":{"type":"string","format":"date-time","description":"Last interaction timestamp"},"autoTags":{"type":"array","items":{"$ref":"#/components/schemas/TagInfo"},"description":"Auto tags assigned to client"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagInfo"},"description":"Client tags assigned to client"},"tourTags":{"type":"array","items":{"$ref":"#/components/schemas/TagInfo"},"description":"Tour management tags assigned to client"},"personalTags":{"type":"array","items":{"$ref":"#/components/schemas/TagInfo"},"description":"Personal tags assigned to client"}}},"TagInfo":{"type":"object","properties":{"name":{"type":"string","description":"Tag name"},"createdAt":{"type":"string","format":"date-time","description":"Tag creation timestamp"}}},"ErrorResponse":{"type":"object","properties":{"success":{"type":"boolean"},"errResponse":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"integer"},"botId":{"type":"string"}},"required":["message","code"]}},"required":["success","errResponse"]}},"responses":{"TokenError":{"description":"JWT token is invalid or expired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"PermissionError":{"description":"Permission denied - insufficient access rights","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"RateLimitError":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"InternalServerError":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"paths":{"/openapi/client/{clientId}":{"post":{"tags":["Core"],"summary":"Get specific client","description":"Retrieve detailed information about a specific client.\n\nConditional validation rules:\n- If clientId (path parameter) is provided, platformClientId and platform are optional\n- If clientId (path parameter) is empty, both platformClientId and platform are required\n","parameters":[{"name":"botId","in":"query","required":true,"schema":{"type":"string"},"description":"The bot ID for the API request"},{"name":"clientId","in":"path","required":true,"schema":{"type":"string"},"description":"The ID of the client to retrieve"},{"name":"platformClientId","in":"query","required":false,"schema":{"type":"string"},"description":"Platform-specific client ID (required if clientId is empty)"},{"name":"platform","in":"query","required":false,"schema":{"type":"string","enum":["line","facebook","instagram","liveChat","whatsapp"]},"description":"Platform type (required if clientId is empty)"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretRequest"}}}},"responses":{"200":{"description":"Client information retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientResponse"}}}},"401":{"$ref":"#/components/responses/TokenError"},"403":{"$ref":"#/components/responses/PermissionError"},"404":{"description":"Resource not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"$ref":"#/components/responses/RateLimitError"},"500":{"$ref":"#/components/responses/InternalServerError"}}}}}}
```
