Get Authorised Account

reddit.get_me
ActionChat & messagingconnection required

Calls the Reddit API with the connection's credentials.

Read the account the connection is authorised as.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Reddit
Secret shape
{"client_id": "…", "client_secret": "…", "refresh_token": "…"}
Config it needs
user_agent, subreddit
Resolved by
config.connection_id, else node.connection_id

Configuration

This node takes no configuration beyond its connection.

Output

One shape.

result

FieldTypeExample
id
Account id, without its 't2_' prefix.
string—
name
Username of the authorised account.
string—
link_karma
Karma earned from posts.
number—
comment_karma
Karma earned from comments.
number—
over_18
Whether the account may view adult content.
boolean—
{
  "comment_karma": 0,
  "id": "",
  "link_karma": 0,
  "name": "",
  "over_18": false
}

See Get Authorised Account 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.