Update the drafting profile | Rankhog Docs

API Reference

Update the drafting profile

Update writing settings. humanizerPreset picks a built-in Reddit humanizer level (reddit_maxxing, informal, professional; null returns to informal) and...

Server URLhttps://api.rankhog.com/

POST

``/agent/v1/growth/update-draft-profile

Send

Authorization

Body

Update writing settings. humanizerPreset picks a built-in Reddit humanizer level (reddit_maxxing, informal, professional; null returns to informal) and a humanizerPromptOverride wins over it. Omitted fields retain their current values. Changing the review prompt additionally requires growth:safety:write. Cache policy: live. Idempotency: required. Auth modes: api_key, mcp_oauth, session_bearer.

Authorization

apiKeyAuth

AuthorizationBearer

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

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Copy

organizationId*string

Length1 <= length <= 160

websiteId*string

Length1 <= length <= 160

managedRedditAccountId*string

Length1 <= length <= 160

redditAccountId?string

Length1 <= length <= 160

idempotencyKey*string

Length1 <= length <= 200

draftPromptOverride?string|null

Lengthlength <= 12000

humanizerPreset?string|null

Value in"reddit_maxxing" | "informal" | "professional" | null

humanizerPromptOverride?string|null

Lengthlength <= 12000

reviewPromptOverride?string|null

Lengthlength <= 12000

examplesJson?unknown

toneGuide?string|null

Lengthlength <= 4000

Response Body

200 application/json

400 application/json

401 application/json

402 application/json

403 application/json

404 application/json

409 application/json

429 application/json

cURL

JavaScript

Go

Python

Java

C#

curl -X POST "https://api.rankhog.com/agent/v1/growth/update-draft-profile" \
  -H "Authorization: Bearer " \
  -H "Content-Type: application/json" \
  -d '{
    "organizationId": "org_demo",
    "websiteId": "site_demo",
    "managedRedditAccountId": "mra_demo",
    "idempotencyKey": "growth-request-1",
    "toneGuide": "Clear and practical"
  }'

200400401402403404409429

{
  "status": "updated",
  "jobId": null
}
{
  "error": {
    "code": "agentic_invalid_input",
    "message": "Invalid capability input."
  }
}
{
  "error": {
    "code": "agentic_unauthorized",
    "message": "Authentication is required."
  }
}
{
  "error": {
    "code": "agentic_paid_plan_required",
    "message": "An active paid product 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."
  }
}
{
  "error": {
    "code": "agentic_idempotency_conflict",
    "message": "This idempotency key was already used with different input."
  }
}
{
  "error": {
    "code": "agentic_write_rate_limited",
    "message": "Growth mutations are limited to 120 per actor and organization per hour."
  }
}

Get the drafting profilePOST\ \ Read the existing writing profile, the chosen Reddit humanizer level, the three built-in levels and the default prompts. Find a warm-up comment nowPOST\ \ Prepare a relevant warm-up comment now within the existing daily budget.