API Reference

# Recheck a card's Reddit post

Refresh the exact opportunity post and parent comment availability and metrics. Deduplicated and rate limited; never submits a Reddit action.

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

POST

``/`agent`/`v1`/`growth`/`refresh-opportunity-source`

Send

Authorization

Body

Refresh the exact opportunity post and parent comment availability and metrics. Deduplicated and rate limited; never submits a Reddit action. Cache policy: live. Idempotency: none. Auth modes: api\_key, mcp\_oauth, session\_bearer.

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

`apiKeyAuth`

AuthorizationBearer <token>

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

In: `header`

## [Request Body](/content/docs/api/reference/refresh_opportunity_source/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`

managedRedditAccountId\*string

Length`1 <= length <= 160`

redditAccountId?string

Length`1 <= length <= 160`

opportunityId\*string

Length`1 <= length`

manual?boolean

## [Response Body](/content/docs/api/reference/refresh_opportunity_source/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/refresh-opportunity-source" \
  -H "Authorization: Bearer " \
  -H "Content-Type: application/json" \
  -d '{
    "organizationId": "org_demo",
    "websiteId": "site_demo",
    "managedRedditAccountId": "mra_demo",
    "opportunityId": "opp_demo"
  }'
```

200400401403404

```
{
  "status": "updated",
  "jobId": null
}
```

```
{
  "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."
  }
}
```

[Start editing a draftPOST\\
\\
Pause pending automatic work before editing the opportunity draft. Read get\_opportunity for the current revision.](/content/docs/api/reference/begin_opportunity_draft_edit/index.html) [Find another post for a cardPOST\\
\\
Replace an unavailable opportunity source and prepare a new draft for review. Preserves old draft history and refuses submitted or uncertain actions.](/content/docs/api/reference/find_another_opportunity_post/index.html)
