Skip to content

Conversation

@peteryhwong
Copy link

Add 'body' field to MailMessageData interface to support returning mail message content. Add optional 'include_body' query parameter to getDealMailMessages and getPersonMailMessages endpoints to control inclusion of body content in response.

Related Tickets & Documents

Description

Pipedrive API for getting mails associated to a person (GET /v1/persons/{id}/mailMessages) or a deal (GET /v1/deals/{id}/mailMessages) can include the query param incude_body to pull the content of the mails. While this is supported by the API, it is not available in this nodejs client.

Type of PR?

🐛 Bug Fix
🚀 Enhancement

Manual testing

Automated tests added?

  • 👍 Unit tests
  • 👍 Functional tests
  • 👍 E2E tests
  • 🙅 N/A

Add 'body' field to MailMessageData interface to support returning mail message content.
Add optional 'include_body' query parameter to getDealMailMessages and getPersonMailMessages endpoints to control inclusion of body content in response.
@peteryhwong peteryhwong marked this pull request as draft February 9, 2026 10:41
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

Successfully merging this pull request may close these issues.

2 participants