> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get User By ID

Get the details of a user by ID.

<Note>
  External Documentation

  To learn more, visit the [Mattermost documentation](https://developers.mattermost.com/api-documentation/#/operations/GetUser).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description                                                             |
  | --------- | ----------------------------------------------------------------------- |
  | User ID   | The ID of the user to retrieve. Use `me` to get the authenticated user. |
</div>

## Example Output

```json theme={"dark"}
{
	"id": "string",
	"create_at": -9007199254740991,
	"update_at": -9007199254740991,
	"delete_at": -9007199254740991,
	"username": "string",
	"first_name": "string",
	"last_name": "string",
	"nickname": "string",
	"email": "string",
	"email_verified": true,
	"auth_service": "string",
	"roles": "string",
	"locale": "string",
	"notify_props": {
		"email": "string",
		"push": "string",
		"desktop": "string",
		"desktop_sound": "string",
		"mention_keys": "string",
		"channel": "string",
		"first_name": "string",
		"auto_responder_message": "string",
		"push_threads": "string",
		"comments": "string",
		"desktop_threads": "string",
		"email_threads": "string"
	},
	"props": {},
	"last_password_update": -9007199254740991,
	"last_picture_update": -9007199254740991,
	"failed_attempts": 0,
	"mfa_active": true,
	"timezone": {
		"useAutomaticTimezone": "string",
		"manualTimezone": "string",
		"automaticTimezone": "string"
	},
	"terms_of_service_id": "string",
	"terms_of_service_create_at": -9007199254740991
}
```

## Workflow Library Example

[Get User by Id with Mattermost and Send Results Via Email](https://library.blinkops.com/workflows/get-user-by-id-with-mattermost-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-user-by-id-with-mattermost-and-send-results-via-email/canvas" />
</div>
