Get User
reddit.get_user
ActionChat & messagingconnection required
Calls the Reddit API with the connection's credentials.
Read a redditor's public account record, including karma totals.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Secret shape
- {"client_id": "…", "client_secret": "…", "refresh_token": "…"}
- Config it needs
- user_agent, subreddit
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
username Reddit username, with or without the 'u/' prefix. | string | Yes | — | — | spez |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"username": "spez"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id Account id, without its 't2_' prefix. | string | — |
name The redditor's username. | string | — |
link_karma Karma earned from posts. | number | — |
comment_karma Karma earned from comments. | number | — |
total_karma Karma across posts, comments and awards. | number | — |
created_utc Account creation time, as a UTC epoch second. | number | — |
is_mod Whether the account moderates any subreddit. | boolean | — |
{
"comment_karma": 0,
"created_utc": 0,
"id": "",
"is_mod": false,
"link_karma": 0,
"name": "",
"total_karma": 0
}See Get User run in a workflow.
In a technical demo we add the Reddit connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.