The environment for your API endpoint depends upon your account's data center. Please go through the following table to check the value of the enivronment variable {{env}} for your API endpoints:
| Datacenter | Environment Value | Example Endpoint |
|---|---|---|
| US | com | https://api.questionpro.com/a/api/v2/cx/transactions/import |
| EU | eu | https://api.questionpro.eu/a/api/v2/cx/transactions/import |
| CA | ca | https://api.questionpro.ca/a/api/v2/cx/transactions/import |
| AE | ae | https://api.questionpro.ae/a/api/v2/cx/transactions/import |
| AU | com.au | https://api.questionpro.au/a/api/v2/cx/transactions/import |
Use the above environment value as per your datacenter to replace {{env}} in your API calls.
If your account is on Surveyanalytics, US Government or AE Government then please check the following table to get the API endpoint URL for your datacenter:
| Datacenter | Endpoint domain | Example URL |
|---|---|---|
| Surveyanalytics | api.surveyanalytics.com | https://api.surveyanalytics.com/a/api/v2/cx/transactions/import |
| US Government | api.questionprogov.com | https://api.questionprogov.com/a/api/v2/cx/transactions/import |
To view the data center for your account, please follow the steps below: