Skip to content

[PLT-1575] Update documentation for EUDC #139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 20 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,17 +126,26 @@ const typeformClient = createClient({ token: '<your 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: '<your token>',
apiBaseUrl: 'https://api.eu.typeform.com'
}
)
```
* **For accounts onboarded before August 2025**:
```javascript
const typeformAPI = createClient(
{
token: '<your token>',
apiBaseUrl: 'https://api.eu.typeform.com'
}
)
```
* **For accounts onboarded on or after August 2025**:
```javascript
const typeformAPI = createClient(
{
token: '<your token>',
apiBaseUrl: 'https://api.typeform.eu'
}
)
```

Client returns the following properties:

Expand Down Expand Up @@ -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).
Feel free to [open a Github issue](https://github.com/Typeform/js-api-client/issues).