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

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

  1. Impersonate as a brand admin on Auth> /token/exchange (requires a god token and the brand Id. You can impersonate by the username of a brand administrator instead of a brand id as well)
  2. Request brand companies using the endpoint /companies