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>' })
126
126
const typeformAPI = createClient ()
127
127
```
128
128
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:
131
130
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
+ ` ` `
140
149
141
150
Client returns the following properties:
142
151
@@ -444,4 +453,4 @@ yarn test:unit
444
453
445
454
## Suggestions or feedback
446
455
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