---
title: "Get End User Info"
method: GET
path: "/end-users/{end_user_id}"
tags: ["End Users"]
---

# Get End User Info

`GET /end-users/{end_user_id}`

**Available for**: Chatflow, Workflow, New Agent, Chatbot, Agent, Text Generator apps.

Returns an end user's details by ID. Useful for resolving an end-user ID returned by another endpoint, such as `created_by` in the [Upload File](/en/api-reference/files/upload-file) response.

## Path parameters

- `end_user_id` string, uuid, required

## Response `200`

End user retrieved successfully.

- EndUserDetail
  - `id` string, uuid — End user ID.
  - `tenant_id` string, uuid — Tenant ID.
  - `app_id` string, uuid, nullable — Application ID.
  - `type` string — End user type. Always `service-api` for Service API users.
  - `external_user_id` string, nullable — The `user` identifier provided in API requests (e.g., the `user` field in [Send Chat Message](/en/api-reference/chat-messages/send-chat-message)).
  - `name` string, nullable — End user name.
  - `is_anonymous` boolean — Whether the user is anonymous. `true` when no `user` identifier was provided in the original API request.
  - `session_id` string — Session identifier. Defaults to the `external_user_id` value.
  - `created_at` string, date-time — Creation timestamp.
  - `updated_at` string, date-time — Last update timestamp.

## Other responses

- `404` — `end_user_not_found` : End user not found.

---

[API](https://skmtc.net/langgenius/apis/dify-service-api.md) · [All operations](https://skmtc.net/langgenius/apis/dify-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/langgenius/dify-service-api/revisions/e49b3db72bad/schema)
