Get product settings | Rankhog Docs

API Reference

Get product settings

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

Server URLhttps://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

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

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. Update the product's marketPOST\ \ Set the country and language used by discovery and drafting. Cache policy: live.