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 URL`https://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](/content/docs/api/reference/get_draft_profile/index.html#authorization)

`apiKeyAuth`

AuthorizationBearer <token>

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

In: `header`

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

## [Response Body](/content/docs/api/reference/get_draft_profile/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/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.](/content/docs/api/reference/set_opportunity_target_subreddit/index.html) [Update the drafting profilePOST\\
\\
Update writing settings. humanizerPreset picks a built-in Reddit humanizer level (reddit\_maxxing, informal, professional; null returns to informal) and...](/content/docs/api/reference/update_draft_profile/index.html)
