Skip to content

Commit 2530b2a

Browse files
authored
Merge pull request #286 from punkle/patch-1
Document how to configure api.eu.intercom.io
2 parents 586adbb + 3087bfb commit 2530b2a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,17 @@ client.useRequestOpts({
7575
});
7676
```
7777

78+
### Setting the API base url
79+
80+
If you are using the european instance of intercom and would like to call it directly and not be redirected through our US instance, you can set the `baseUrl` as follows:
81+
82+
```typescript
83+
const client = new Client({ tokenAuth: { token: 'my_token' } });
84+
client.useRequestOpts({
85+
baseUrl: 'https://api.eu.intercom.io'
86+
})
87+
```
88+
7889
## Examples
7990

8091
### Admins

0 commit comments

Comments
 (0)