Hi, I am currently fetching call metadata using this API endpoint
client.crm.objects.calls.search_api.do_search(), and I would like to add a new attribute for the calls to add my own metadata for each call, I am planning on using a JSON/nested JSON for this (although it is not decided), what changes do I have to make?
The Calls - v3 | HubSpot API documentations says that the required to scope to modify the call record is crm.objects.contacts.write and not using "crm.objects.contacts.write"
Also how do I add my custom schema to the call metadata ?
You're right to use client.crm.objects.calls.search_api.do_search() to fetch call data — but to add your own metadata, you’ll need to create a custom property on the Call object. HubSpot doesn’t let you modify the built-in metadata schema or store nested JSON directly in it.
Here is a breakdown:
To Add Custom Metadata
Create a custom property for the Call object (via Settings → Properties or the Properties API).
Use a Long text field type (best for JSON strings).
You're right to use client.crm.objects.calls.search_api.do_search() to fetch call data — but to add your own metadata, you’ll need to create a custom property on the Call object. HubSpot doesn’t let you modify the built-in metadata schema or store nested JSON directly in it.
Here is a breakdown:
To Add Custom Metadata
Create a custom property for the Call object (via Settings → Properties or the Properties API).
Use a Long text field type (best for JSON strings).
Hi, I am currently fetching call metadata using this API endpoint
client.crm.objects.calls.search_api.do_search(), and I would like to add a new attribute for the calls to add my own metadata for each call, I am planning on using a JSON for this (although it is not decided), what changes do I have to make?