I’m using a webhook to create a new deal. I fill in the name, lastname, email, phone number, name of the organization and the name of the new deal.
As a result, I get the following json in my service:
req.body: {
v: 1,
matches_filters: { current: [] },
meta: {
action: 'added',
change_source: 'app',
company_id: 10300721,
host: '3smoney-sandbox.pipedrive.com',
id: 18,
is_bulk_update: false,
matches_filters: { current: [] },
object: 'deal',
permitted_user_ids: [ 12810874 ],
pipedrive_service_name: false,
timestamp: 1643636630,
timestamp_micro: 1643636630525610,
trans_pending: false,
user_id: 12810874,
v: 1,
webhook_id: '1396'
},
current: {
email_messages_count: 0,
cc_email: '3smoney-sandbox+deal18@pipedrivemail.com',
products_count: 0,
next_activity_date: null,
next_activity_type: null,
next_activity_duration: null,
id: 18,
person_id: 22,
creator_user_id: 12810874,
expected_close_date: null,
owner_name: 'Oleg',
participants_count: 0,
group_name: null,
stage_id: 1,
probability: null,
undone_activities_count: 0,
renewal_type: 'one_time',
active: true,
person_name: 'uuuu yyyyy',
last_activity_date: null,
close_time: null,
org_hidden: false,
next_activity_id: null,
weighted_value_currency: 'GBP',
stage_order_nr: 0,
next_activity_subject: null,
rotten_time: null,
user_id: 12810874,
visible_to: '3',
org_id: 39,
notes_count: 0,
next_activity_time: null,
formatted_value: '£0',
status: 'open',
formatted_weighted_value: '£0',
first_won_time: null,
last_outgoing_mail_time: null,
title: 'fofofofof deal',
last_activity_id: null,
update_time: '2022-01-31 13:43:50',
activities_count: 0,
pipeline_id: 1,
lost_time: null,
currency: 'GBP',
weighted_value: 0,
org_name: 'fofofofof',
value: 0,
person_hidden: false,
next_activity_note: null,
files_count: 0,
last_incoming_mail_time: null,
label: null,
lost_reason: null,
deleted: false,
won_time: null,
group_id: null,
followers_count: 0,
stage_change_time: null,
add_time: '2022-01-31 13:43:50',
done_activities_count: 0
},
previous: null,
event: 'added.deal',
retry: 0
}
But there is no email and the person’s phone number in it. And for me, this information is extremely important.
Is there any way to get this information?