API Reference

# Get product settings

Read the product's market, posting language, and copilot/autopilot mode.

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

POST

``/`agent`/`v1`/`growth`/`get-product-settings`

Send

Authorization

Body

Read the product's market, posting language, and copilot/autopilot mode. Cache policy: live. Idempotency: none. Auth modes: api\_key, mcp\_oauth, session\_bearer.

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

`apiKeyAuth`

AuthorizationBearer <token>

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

In: `header`

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

## [Response Body](/content/docs/api/reference/get_product_settings/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-product-settings" \
  -H "Authorization: Bearer " \
  -H "Content-Type: application/json" \
  -d '{
    "organizationId": "org_demo",
    "websiteId": "site_demo"
  }'
```

200400401403404

```
{
  "automationMode": "copilot",
  "market": {
    "countryCode": "US",
    "languageCode": "en"
  },
  "determined": false
}
```

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

[Update product answersPOST\\
\\
Update existing product answers and rebuild its product context. Does not create or onboard products.](/content/docs/api/reference/update_product_answers/index.html) [Update the product's marketPOST\\
\\
Set the country and language used by discovery and drafting. Cache policy: live.](/content/docs/api/reference/update_product_market/index.html)
