Skip to content

Commit 652f4fc

Browse files
authored
[PLT-1575] Update documentation for EUDC (#139)
1 parent fe2c42d commit 652f4fc

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

README.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -126,17 +126,26 @@ const typeformClient = createClient({ token: '<your token>' })
126126
const 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

141150
Client 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).

0 commit comments

Comments
 (0)