Get Things By Id
reddit.get_info
ActionChat & messagingconnection required
Calls the Reddit API with the connection's credentials.
Look up posts, comments or subreddits by fullname, or find a post by its URL.
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
2 fields, none 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 |
|---|---|---|---|---|---|
ids Comma-separated Reddit fullnames to look up, such as 't3_abc123,t1_def456'. | string | No | — | — | t3_abc123 |
url URL of a post to look up, instead of a list of fullnames. | string | No | — | — | — |
- At least one of ids, url must be set.
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"ids": "t3_abc123"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
items The things on this page, each unwrapped from its Listing child. | array | — |
count How many things this page returned. | number | — |
after Cursor for the next page, or null on the last page. | string | — |
before Cursor for the previous page, or null on the first page. | string | — |
{
"after": "",
"before": "",
"count": 0,
"items": []
}See Get Things By Id 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.