Endpoints

POST /account-intelligence

This endpoint is used to retrieve account intelligence data on a given company.

Example usage

curl -X POST 'https://app.hockeystack.com/integration/sales/account-intelligence?v=2' \
     -H "Authorization: Bearer YOUR_API_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{
       "company_domain": "example.com",
       "fields_to_get": "hockeystack_goals,company_details_hockeystack,website_visitors,website_visits"
     }'

Request body

  • company_domain - required The normalized domain of the company to fetch. Do not include https:// or www. or any trailing slashes in the domain. E.g. hockeystack.com

  • fields_to_get - optional The comma separated list of fields to fetch from the API. No spaces allowed before or after comma. Available options:

    • hockeystack_goals

    • company_details_hockeystack

    • website_visitors

    • website_visits

    If this param not provided, will return all the available fields and request may take longer to process, so ideally you should provide a specific set of fields that you are looking for.

Response format

Last updated