We have problems integrating some services (like forms and tickets) into our app. Problem is: after downloading the form ( /marketing/v3/forms/ ) or the ticket that i created on hubspot's dashboard, how to send those data from our app to hubspot? In particular, what's the correct endpoint to use. Does it exist a specific endpoint for the form and one for the ticket (and so on) or there's only one, that for the ticket (/crm/v3/objects/tickets/batch/create)? In that case, the body of the tickets and/or the form can be customizable (as for the UI)?
Hey @CityTale, thank you for posting in our Community!
It sounds like you're looking to integrate HubSpot forms and tickets into your app and are wondering about the correct endpoints for sending data back to HubSpot.
For forms, after downloading the form data using the /marketing/v3/forms/ endpoint, you can submit data back to HubSpot using the Forms API. You'll want to use the endpoint:
Just replace :formGuid with the ID of the form you’re working with, and you can include the form fields in the request body.
Regarding tickets, if you're working with ticket data, the endpoint you mentioned, /crm/v3/objects/tickets/batch/create, is used to create or update multiple tickets at once. However, if you're dealing with a single ticket, you can use:
Both form submissions and ticket creation allow for customizable request bodies. For forms, you'll include field data relevant to your form, and for tickets, you can customize the properties based on the fields available in your HubSpot ticket object.
Hey @CityTale, thank you for posting in our Community!
It sounds like you're looking to integrate HubSpot forms and tickets into your app and are wondering about the correct endpoints for sending data back to HubSpot.
For forms, after downloading the form data using the /marketing/v3/forms/ endpoint, you can submit data back to HubSpot using the Forms API. You'll want to use the endpoint:
Just replace :formGuid with the ID of the form you’re working with, and you can include the form fields in the request body.
Regarding tickets, if you're working with ticket data, the endpoint you mentioned, /crm/v3/objects/tickets/batch/create, is used to create or update multiple tickets at once. However, if you're dealing with a single ticket, you can use:
Both form submissions and ticket creation allow for customizable request bodies. For forms, you'll include field data relevant to your form, and for tickets, you can customize the properties based on the fields available in your HubSpot ticket object.