APIs & Integrations

MiguelAlvarez
Member

Contact Id on meeting

SOLVE

Hi all,

I want to retrieve the contact Id when I call the API Meetings.

On the list of the properties I have put several fields to see what is the correct one but no success.

Anyone have retrieved the contact id calling this API?

Thanks.

My current call is this:

https://api.hubapi.com/crm/v3/objects/meetings?limit=100&archived=false&hapikey=your_api_key&properties=createdate%2Chs_internal_meeting_notes%2Chs_lastmodifieddate%2Chs_meeting_body%2Chs_meeting_end_time%2Chs_meeting_external_url%2Chs_meeting_location%2Chs_meeting_outcome%2Chs_meeting_start_time%2Chs_meeting_title%2Chs_timestamp%2Chubspot_owner_id%2CcontactId&associations=contacts

0 Upvotes
1 Accepted solution
Kevin-C
Solution
Recognized Expert | Partner
Recognized Expert | Partner

Contact Id on meeting

SOLVE

Hey @MiguelAlvarez 

 

To get the contact id associated to a meeting you'll need to use the READ endpoint by passing the meeting's id.

 

https://api.hubapi.com/crm/v3/objects/meetings/{{ MEETING_ID }}?associations=0-1&archived=false&hapikey={{ API_KEY }}

 

 This endpoint will return the contact ids associated to the meeting.

 

Then you'll use the contacts API to get the returned contacts properties.

View solution in original post

0 Upvotes
MiguelAlvarez
Member

Contact Id on meeting

SOLVE

Thank you Kevin-C! That is exactly I needed.

Kevin-C
Solution
Recognized Expert | Partner
Recognized Expert | Partner

Contact Id on meeting

SOLVE

Hey @MiguelAlvarez 

 

To get the contact id associated to a meeting you'll need to use the READ endpoint by passing the meeting's id.

 

https://api.hubapi.com/crm/v3/objects/meetings/{{ MEETING_ID }}?associations=0-1&archived=false&hapikey={{ API_KEY }}

 

 This endpoint will return the contact ids associated to the meeting.

 

Then you'll use the contacts API to get the returned contacts properties.

0 Upvotes