diff --git a/README.md b/README.md index b2bf47b..71f14b2 100644 --- a/README.md +++ b/README.md @@ -126,17 +126,26 @@ const typeformClient = createClient({ token: '' }) const typeformAPI = createClient() ``` -If your account is configured to store responses in the EU Data Center -you can pass the `apiBaseUrl` as `https://api.eu.typeform.com`. +For EU Data Center accounts, the `apiBaseUrl` varies based on your onboarding date: -```javascript -const typeformAPI = createClient( - { - token: '', - apiBaseUrl: 'https://api.eu.typeform.com' - } -) -``` +* **For accounts onboarded before August 2025**: + ```javascript + const typeformAPI = createClient( + { + token: '', + apiBaseUrl: 'https://api.eu.typeform.com' + } + ) + ``` +* **For accounts onboarded on or after August 2025**: + ```javascript + const typeformAPI = createClient( + { + token: '', + apiBaseUrl: 'https://api.typeform.eu' + } + ) + ``` Client returns the following properties: @@ -444,4 +453,4 @@ yarn test:unit ## Suggestions or feedback -Feel free to [open a Github issue](https://github.com/Typeform/js-api-client/issues). \ No newline at end of file +Feel free to [open a Github issue](https://github.com/Typeform/js-api-client/issues).