Property | Type | Description | |
---|---|---|---|
$admins | |||
$bulk | |||
$companies | |||
$conversations | |||
$counts | |||
$events | |||
$leads | |||
$messages | |||
$segments | |||
$tags | |||
$users |
Property | Type | Description | |
---|---|---|---|
$passwordPart | API password authentication | ||
$usernamePart | API user authentication |
Method | Description | |
---|---|---|
__construct ( string $usernamePart, string $passwordPart ) | IntercomClient constructor. | |
delete ( string $endpoint, string $json ) : mixed | Sends DELETE request to Intercom API. | |
get ( string $endpoint, string $query ) : mixed | ||
getAuth ( ) : array | Returns authentication parameters. | |
nextPage ( array $pages ) : mixed | Returns next page of the result. | |
post ( string $endpoint, string $json ) : mixed | Sends POST request to Intercom API. | |
setClient ( |
Sets GuzzleHttp client. |
Method | Description | |
---|---|---|
handleResponse ( |
||
setDefaultClient ( ) |
public __construct ( string $usernamePart, string $passwordPart ) | ||
$usernamePart | string | App ID. |
$passwordPart | string | Api Key. |
public setClient ( |
||
$client |
public IntercomConversations,intercom $conversations | ||
return |