Use CaseΒΆ

Let’s put a little use case as an example: A platform admin wants to obtain the companies of one specific brand (companies are exposed on Brand API only). The operation would be:

On platform API (https://your-domain/api/platform)

  1. Login (request a token) as god admin on /admin_login
  2. Search target brand on /brands
  3. Get it’s domain on /web_portals
  4. Get a valid brand administrator on /administrators

On Brand API (https://brand-domain/api/brand)

  1. Impersonate as a brand admin on Auth> /token/exchange (requires a god token and a brand administrator user name obtained in 1-d)
  2. Request brand companies using the endpoint /companies