Skip to content

Commit d21b877

Browse files
author
Andy Scott
committed
Update for oauth/pat token authorization
1 parent afff207 commit d21b877

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ use Intercom\IntercomClient;
3939
$client = new IntercomClient(appId, apiKey);
4040
```
4141

42+
Or if using an OAuth or Personal Access Token use:
43+
44+
``php
45+
use Intercom\IntercomClient;
46+
47+
$client = new IntercomClient(<insert_token_here>, null);
48+
```
49+
4250
## Users
4351
4452
```php

0 commit comments

Comments
 (0)