File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,18 @@ const { createClient } = require('@typeform/api-client')
5353const typeformAPI = createClient ({ token: ' <your token>' })
5454```
5555
56+ If your account is configured to store responses in the EU Data Center
57+ you can pass the ` apiBaseUrl ` as ` https://api.eu.typeform.com ` .
58+
59+ ``` javascript
60+ const typeformAPI = createClient (
61+ {
62+ token: ' <your token>' ,
63+ apiBaseUrl: ' https://api.eu.typeform.com'
64+ }
65+ )
66+ ```
67+
56683 . Use any of the methods available in the [ reference] ( #reference )
5769
5870``` javascript
@@ -72,10 +84,22 @@ typeformAPI.forms.list().then((response) => {
7284``` javascript
7385const typeformClient = createClient ({ token: ' <your token>' })
7486
75- // If what you are trying to acces doesn't require a token, you can construct the client without any argument
87+ // If what you are trying to access doesn't require a token, you can construct the client without any argument
7688const typeformAPI = createClient ()
7789```
7890
91+ If your account is configured to store responses in the EU Data Center
92+ you can pass the ` apiBaseUrl ` as ` https://api.eu.typeform.com ` .
93+
94+ ``` javascript
95+ const typeformAPI = createClient (
96+ {
97+ token: ' <your token>' ,
98+ apiBaseUrl: ' https://api.eu.typeform.com'
99+ }
100+ )
101+ ```
102+
79103Client returns the following properties:
80104
81105- ` forms `
You can’t perform that action at this time.
0 commit comments