API Endpoint Dealflow does not deliver all mailMessage objects on the deal

pieterh
pieterh Member Posts: 5
First Comment
edited February 28 in Sales CRM #1

Hello,

I have a deal that was converted from a lead 5 days ago. When I open the deal in Pipedrive, I do get to see all the emails that were exchanged when the deal was still a lead.

When I ask for the deal flow through the https://api.pipedrive.com/v1/deals/22/flow API endpoint, I don't get those mailMessages. Is this a bug perhaps, that the mailMessages aren't properly reassigned to the deal when converting it from a lead?

Thanks.

Tagged:

Answers

  • Andreia Costa
    Andreia Costa Pipedrive Team Posts: 133 PIPEDRIVE TEAM
    First Anniversary First Comment First Answer 5 Likes

    Hi @pieterh 👋

    I'm not able to reproduce that on my side, seems the endpoint is working for me. I'll show you my tests with Postman just so you see that it appears to be working.

    Example deal, you can see that it was converted from a Lead + the email sent:

    And my results in Postman:

    This is just to show that it looks to be working for me, but for API related questions, our dev community is the best place to get assistance, please feel free to post there so they can help you understand what is happening on your side.