How to retrieve the list of companies (tenants)¶
Overview¶
Before calling Sigabill APIs, your application must first query our Tenant Manager service to obtain the list of tenants (companies) to which the authenticated user has access.
The tenant code is required for all tenant-managed service calls.
Tenant Manager Swagger access¶
https://tenants[-devtest].siga.net/api-documentation/index.html
Communication sequence¶
sequenceDiagram
participant E as Your Web App
participant T as Tenant Manager
participant S as Sigabill
E->>T: https://tenants-devtest.siga.net/methods/getauthorizedtenants?clusterName=siga-invoicing&userId=email@email.com
T->>E: list of authorized tenants (companies)
E->>S: https://sigabill-devtest.siga.net/[TENANT]