Every API call requires at least two pieces of information:
- The
ApiDomain
(note:this is not the same as your intranet URL) - The
TenantGuid
- this value uniquely identifies your intranet within the Interact architecture.
Retrieving this information is the first step in getting the most out of the Interact API.
To get this information you simply need to navigate to your intranet URL and append/info
to the address. For example, if your intranet URL ishttps://developer.interactgo.com, then navigating tohttps://developer.interactgo.com/infowill display the relevant information as shown below.
{ "ApiDomain": "us-trials-lb-api-01.interactgo.com", "AuthMode": "local", "TenantGuid": "e822a190-a116-4779-ad0a-87631b51898a", "Name": "developer" }
To consume the API you would then use the ApiDomain as the URL for all requests.
For example, given the JSON returned above an API call to the /token endpoint would send the relevant request tohttps://us-trials-lb-api-01.interactgo.com/tokenwith a header of X-Tenant with a value of e822a190-a116-4779-ad0a-87631b51898a