API Reference

# List Reddit accounts

List accounts granted to this product and whether Rankhog runs the requested action type from each now.

Server URL`https://api.rankhog.com/`

POST

``/`agent`/`v1`/`growth`/`list-reddit-accounts`

Send

Authorization

Body

List accounts granted to this product and whether Rankhog runs the requested action type from each now. A blocked account carries blockedReason and blockedLabel: still warming up, too new or too little karma for product posts, stats not read yet, Rankhog Desktop not signed in to it, paused, or not granted. heldBySafetyBar true means the account is able to post and Rankhog holds it by default to protect it: the answer gives its age and karma next to the bar (safetyBar), and the person may accept the risk (acceptAccountRisk on a send). blockedReasonIfRiskAccepted says what would still stop it then; null means it sends. Never report a held account as unable to post. Cache policy: live. Idempotency: none. Auth modes: api\_key, mcp\_oauth, session\_bearer.

## [Authorization](/content/docs/api/reference/list_reddit_accounts/index.html#authorization)

`apiKeyAuth`

AuthorizationBearer <token>

Rankhog organization API key sent as `Authorization: Bearer rhog_...`.

In: `header`

## [Request Body](/content/docs/api/reference/list_reddit_accounts/index.html#request-body)

`application/json`

TypeScript Definitions

Use the request body type in TypeScript.

Copy

organizationId\*string

Length`1 <= length <= 160`

websiteId\*string

Length`1 <= length <= 160`

actionType?string

Default`"comment"`Value in`"post" | "comment" | "reply" | "upvote" | "join_subreddit"`

## [Response Body](/content/docs/api/reference/list_reddit_accounts/index.html#response-body)

### 200  `application/json`

### 400  `application/json`

### 401  `application/json`

### 403  `application/json`

### 404  `application/json`

cURL

JavaScript

Go

Python

Java

C#

```
curl -X POST "https://api.rankhog.com/agent/v1/growth/list-reddit-accounts" \
  -H "Authorization: Bearer " \
  -H "Content-Type: application/json" \
  -d '{
    "organizationId": "org_demo",
    "websiteId": "site_demo",
    "actionType": "comment"
  }'
```

200400401403404

```
{
  "accounts": [\
    {\
      "id": "ra_demo",\
      "redditUsername": "quill_mark",\
      "executable": false,\
      "blockedReason": "karma_too_low",\
      "blockedLabel": "Needs more karma",\
      "heldBySafetyBar": true,\
      "blockedReasonIfRiskAccepted": null,\
      "accountAgeDays": 12,\
      "totalKarma": 41,\
      "commentKarma": 9\
    }\
  ],
  "safetyBar": {
    "minAccountAgeDays": 30,
    "minCommentKarma": 150,
    "minTotalKarma": 300,
    "removalFreeDays": 14
  }
}
```

```
{
  "error": {
    "code": "agentic_invalid_input",
    "message": "Invalid capability input."
  }
}
```

```
{
  "error": {
    "code": "agentic_unauthorized",
    "message": "Authentication is required."
  }
}
```

```
{
  "error": {
    "code": "agentic_missing_scope",
    "message": "The required permission has not been granted."
  }
}
```

```
{
  "error": {
    "code": "agentic_website_not_found",
    "message": "Product not found."
  }
}
```

[Set copilot or autopilotPOST\\
\\
Switch a product to copilot, where a person approves every send. Agents can't turn autopilot on: only a person can, from the product's settings in Rankhog.](/content/docs/api/reference/set_product_automation_mode/index.html) [Steer DiscoveryPOST\\
\\
Update Discovery direction without restarting the session. Cache policy: live.](/content/docs/api/reference/update_discovery_direction/index.html)
