Get the drafting profile | Rankhog Docs

API Reference

Get the drafting profile

Read the existing writing profile, the chosen Reddit humanizer level, the three built-in levels and the default prompts.

Server URLhttps://api.rankhog.com/

POST

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

Send

Authorization

Body

Read the existing writing profile, the chosen Reddit humanizer level, the three built-in levels and the default prompts. Cache policy: live. Idempotency: none. 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

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/get-draft-profile" \
  -H "Authorization: Bearer " \
  -H "Content-Type: application/json" \
  -d '{
    "organizationId": "org_demo",
    "websiteId": "site_demo",
    "managedRedditAccountId": "mra_demo"
  }'

200400401403404

{
  "id": null,
  "draftPromptOverride": "",
  "humanizerPreset": "informal",
  "humanizerPresets": [],
  "humanizerPromptOverride": "",
  "reviewPromptOverride": "",
  "toneGuide": "",
  "examplesJson": null,
  "defaults": {
    "draftPrompt": "",
    "humanizerPrompt": "",
    "reviewPrompt": ""
  }
}
{
  "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."
  }
}

Choose the subreddit for a postPOST\ \ Move a post you started yourself to another community, until its first confirm. Update the drafting profilePOST\ \ Update writing settings. humanizerPreset picks a built-in Reddit humanizer level (reddit_maxxing, informal, professional; null returns to informal) and...