File tree Expand file tree Collapse file tree 1 file changed +20
-11
lines changed Expand file tree Collapse file tree 1 file changed +20
-11
lines changed Original file line number Diff line number Diff line change @@ -126,17 +126,26 @@ const typeformClient = createClient({ token: '<your token>' })
126126const typeformAPI = createClient ()
127127```
128128
129- If your account is configured to store responses in the EU Data Center
130- you can pass the ` apiBaseUrl ` as ` https://api.eu.typeform.com ` .
129+ For EU Data Center accounts, the ` apiBaseUrl ` varies based on your onboarding date:
131130
132- ``` javascript
133- const typeformAPI = createClient (
134- {
135- token: ' <your token>' ,
136- apiBaseUrl: ' https://api.eu.typeform.com'
137- }
138- )
139- ```
131+ * ** For accounts onboarded before August 2025** :
132+ ``` javascript
133+ const typeformAPI = createClient (
134+ {
135+ token: ' <your token>' ,
136+ apiBaseUrl: ' https://api.eu.typeform.com'
137+ }
138+ )
139+ ```
140+ * ** For accounts onboarded on or after August 2025 ** :
141+ ` ` ` javascript
142+ const typeformAPI = createClient(
143+ {
144+ token: '<your token>',
145+ apiBaseUrl: 'https://api.typeform.eu'
146+ }
147+ )
148+ ` ` `
140149
141150Client returns the following properties:
142151
@@ -444,4 +453,4 @@ yarn test:unit
444453
445454## Suggestions or feedback
446455
447- Feel free to [ open a Github issue] ( https://github.com/Typeform/js-api-client/issues ) .
456+ Feel free to [open a Github issue](https://github.com/Typeform/js-api-client/issues).
You can’t perform that action at this time.
0 commit comments