business

Get profile selections

Resolve which active business profile a tool page targets. Pass a profile id or profile key to select it, or "default" for the most recently generated active profile; an id or key that matches no active profile also yields that default. A hostname instead selects the active profile whose website has that host, with no default. Returns the selected profile's id, key, name, and website (null when none matches) and whether the organization has other active profiles to choose from. With includeCompanySales it also returns the selected profile's annual sales: the sum of its company-wide products' annual sales in Tools › Products, over those with complete market assumptions, and how many products that adds up.

get/api/v1/business/profile-selections/{id}

Request

  • Base URL: https://point11.ai
  • URL: https://point11.ai/api/v1/business/profile-selections/{id}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://auth.point11.ai/oauth2/authorize, token URL https://auth.point11.ai/oauth2/token)

Path parameters

idstring required

Query parameters

hostnamestring
includeCompanySalesboolean

Headers

Point11-Organizationstring uuid

Organization to act in. Required for OAuth bearers; an API key acts in the organization that owns it.

Response

Success.

hasMoreboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.