Skip to content
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

Fetch conversation's by lead email? #353

Open
saas786 opened this issue Mar 18, 2022 · 0 comments
Open

Fetch conversation's by lead email? #353

saas786 opened this issue Mar 18, 2022 · 0 comments

Comments

@saas786
Copy link

saas786 commented Mar 18, 2022

Version info

  • intercom-php version: 4.4
  • Intercom API version: 2.4
  • PHP version: 7.4.9

Expected behavior

I was expecting to fetch all conversions for a specific lead, by lead email.

Actual behavior

It lists all the conversations regardless of of lead provided.

Steps to reproduce (as granular as possible, including screenshots where appropriate)

            $conversations = $client->conversations->getConversations([
                'type'  => 'lead',
                'email' => '[email protected]',
                'open'  => true, // false
            ]);

Logs

(
    [type] => conversation.list
    [pages] => stdClass Object
        (
            [type] => pages
            [next] => https://api.intercom.io/conversations?type=lead&email=lead%40gmail.com&open=1&per_page=20&page=2
            [page] => 1
            [per_page] => 20
            [total_pages] => 2377
        )
    [total_count] => 47524
    [conversations] => Array
        (

Ref: #192 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant