Skip to main content
POST
/
api
/
inhersight
/
companies
/
questions
/inhersight/companies/questions
curl --request POST \
  --url https://api.anysite.io/api/inhersight/companies/questions \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "company": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "question": "<string>",
    "@type": "InhersightQuestion",
    "uuid": "<string>",
    "rating_group_slug": "<string>",
    "rating_group_name": "<string>",
    "response_count": 123,
    "vote_count": 123,
    "created_at": 123,
    "options": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
company
string
required

Company alias (the URL segment, e.g. 'aro-homes'), numeric company id, or a full company profile URL. Resolve the alias via /inhersight/companies/search if you only have the name.

Minimum string length: 1
Pattern: ^(?:https?://[^\s]+|[A-Za-z0-9][A-Za-z0-9._-]*)$
Examples:

"aro-homes"

"297729"

"https://www.inhersight.com/company/aro-homes"

count
integer
required

Max number of survey questions to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
question
string
required
@type
string
default:InhersightQuestion
uuid
string | null
rating_group_slug
string | null
rating_group_name
string | null
response_count
integer | null
vote_count
integer | null
created_at
integer | null
options
object[]