Person email details in deal webhooks

After going through deal webhooks and testing out the payload, I could see there’s no Person email/contact details sent for deal webhooks.

Here’s a sample payload for deal

{
  "v": 1,
  "matches_filters": {
    "current": []
  },
  "meta": {
    "v": 1,
    "action": "updated",
    "object": "deal",
    "id": 1,
    "company_id": 7911903,
    "user_id": 12147048,
    "host": "ss7.pipedrive.com",
    "timestamp": 1618843006,
    "timestamp_micro": 1618843006384418,
    "request_timestamp": 1618843006287,
    "permitted_user_ids": [
      12147048
    ],
    "trans_pending": false,
    "is_bulk_update": false,
    "pipedrive_service_name": false,
    "change_source": "app",
    "wa_bookmark_id": null,
    "matches_filters": {
      "current": []
    },
    "prepublish_timestamp": 1618843006453,
    "webhook_id": "672427"
  },
  "current": {
    "id": 1,
    "creator_user_id": 12147048,
    "user_id": 12147048,
    "person_id": 1,
    "org_id": null,
    "stage_id": 1,
    "title": "Justin deal",
    "value": 10,
    "currency": "INR",
    "add_time": "2021-04-19 14:28:06",
    "update_time": "2021-04-19 14:36:46",
    "stage_change_time": null,
    "active": false,
    "deleted": false,
    "status": "won",
    "probability": null,
    "next_activity_date": null,
    "next_activity_time": null,
    "next_activity_id": null,
    "last_activity_id": null,
    "last_activity_date": null,
    "lost_reason": null,
    "visible_to": "3",
    "close_time": "2021-04-19 14:36:46",
    "pipeline_id": 1,
    "won_time": "2021-04-19 14:36:46",
    "first_won_time": "2021-04-19 14:36:46",
    "lost_time": null,
    "products_count": 0,
    "files_count": 0,
    "notes_count": 0,
    "followers_count": 1,
    "email_messages_count": 0,
    "activities_count": 0,
    "done_activities_count": 0,
    "undone_activities_count": 0,
    "participants_count": 1,
    "expected_close_date": "2021-04-30",
    "last_incoming_mail_time": null,
    "last_outgoing_mail_time": null,
    "label": null,
    "renewal_type": "one_time",
    "stage_order_nr": 0,
    "person_name": "Justin",
    "org_name": null,
    "next_activity_subject": null,
    "next_activity_type": null,
    "next_activity_duration": null,
    "next_activity_note": null,
    "group_id": null,
    "group_name": null,
    "formatted_value": "₹10",
    "weighted_value": 10,
    "formatted_weighted_value": "₹10",
    "weighted_value_currency": "INR",
    "rotten_time": null,
    "owner_name": "Justin",
    "cc_email": "ss7+deal1@pipedrivemail.com",
    "org_hidden": false,
    "person_hidden": false
  },
  "previous": {
    "id": 1,
    "creator_user_id": 12147048,
    "user_id": 12147048,
    "person_id": 1,
    "org_id": null,
    "stage_id": 1,
    "title": "Justin deal",
    "value": 10,
    "currency": "INR",
    "add_time": "2021-04-19 14:28:06",
    "update_time": "2021-04-19 14:28:07",
    "stage_change_time": null,
    "active": true,
    "deleted": false,
    "status": "open",
    "probability": null,
    "next_activity_date": null,
    "next_activity_time": null,
    "next_activity_id": null,
    "last_activity_id": null,
    "last_activity_date": null,
    "lost_reason": null,
    "visible_to": "3",
    "close_time": null,
    "pipeline_id": 1,
    "won_time": null,
    "first_won_time": null,
    "lost_time": null,
    "products_count": 0,
    "files_count": 0,
    "notes_count": 0,
    "followers_count": 1,
    "email_messages_count": 0,
    "activities_count": 0,
    "done_activities_count": 0,
    "undone_activities_count": 0,
    "participants_count": 1,
    "expected_close_date": "2021-04-30",
    "last_incoming_mail_time": null,
    "last_outgoing_mail_time": null,
    "label": null,
    "renewal_type": "one_time",
    "stage_order_nr": 0,
    "person_name": "Justin",
    "org_name": null,
    "next_activity_subject": null,
    "next_activity_type": null,
    "next_activity_duration": null,
    "next_activity_note": null,
    "group_id": null,
    "group_name": null,
    "formatted_value": "₹10",
    "weighted_value": 10,
    "formatted_weighted_value": "₹10",
    "weighted_value_currency": "INR",
    "rotten_time": null,
    "owner_name": "Justin",
    "cc_email": "ss7+deal1@pipedrivemail.com",
    "org_hidden": false,
    "person_hidden": false
  },
  "event": "updated.deal",
  "retry": 0
}

Is there a way to get person email also, otherwise I’ll have to make another API request to fetch Deal details by ID to get person email and contact number.

Thank you.

1 Like

Hi,
Thanks for bringing this to our attention. We will forward it to the concerned team as a valid feedback. Please keep an eye on the announcement section for details pertaining to this topic.

1 Like