Update a Reddit opportunity
PATCH /api/v1/reddit/opportunities/{item}
Set its status (new, drafted, posted, skipped), record the URL once you've posted, or save an edited draft, which is checked again.
A full-access key (ss_sk_…), or an editor or owner signed in.
Parameters
| Name | Type | Description |
|---|---|---|
item requiredpath |
string | The item's id. |
Request body
JSON, sent with Content-Type: application/json.
| Name | Type | Description |
|---|---|---|
status |
string | One of: new drafted posted skipped |
posted_url |
string up to 500 characters |
Where you posted it. |
draft_title |
string up to 300 characters |
The thread title. |
draft_body |
string up to 20000 characters |
The draft text. |
Example
curl -X PATCH "https://sniffington.com/api/v1/reddit/opportunities/{item}" \
-H "Authorization: Bearer $SCOUT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"status":"new","posted_url":"…"}'