La fonction de suggestion automatique permet d'affiner rapidement votre recherche en suggérant des correspondances possibles au fur et à mesure de la frappe.
Submitting multiple form values in a single api call
Résolue
Hii,
I am a beginner in CRM. My doubt is, Can we submit the form values of a form, where the form values will be an array containing many values, with a single api call????
To confirm, our Forms API can not be used to batch create contacts via 1 submission. It can only process 1 submission against a single record via the passed email address.
If you're looking to batch create contacts, you're best suited to using our Batch API found here. See below:
POST /crm/v3/objects/contacts/batch/create
Request URL: https://api.hubapi.com/crm/v3/objects/contacts/batch/create?hapikey=YOUR_HUBSPOT_API_KEY
Just to clarify, is there a reason why you'd like to send array values via the HubSpot Form API? Are you looking to pass enumeration fields? If so, as mentioned by Connor on this forum thread, enumeration field should be separated by a semicolon.
The Form data format for HubSpot Form API will have to follow the example formt stated on this documentation: Submit data for a form | Forms API. It is not possible to send array as the form value.
My requirement is, generate multiple contact entries in hubspot with a single api call?? Is that possible???
Suppose that it is a shopping site. I am ordering for two products and I need to submit these datas to hubspot as two contacts (for first product one contact, for second product as another contact) in single api call. I hope you understand??
To confirm, our Forms API can not be used to batch create contacts via 1 submission. It can only process 1 submission against a single record via the passed email address.
If you're looking to batch create contacts, you're best suited to using our Batch API found here. See below:
POST /crm/v3/objects/contacts/batch/create
Request URL: https://api.hubapi.com/crm/v3/objects/contacts/batch/create?hapikey=YOUR_HUBSPOT_API_KEY