Mobile Application

CityTale
Member

Endpoints

SOLVE

Hello everyone!

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)?

Appreciate any help.

Sincerely

0 Upvotes
1 Accepted solution
PamCotton
Solution
HubSpot Alumni
HubSpot Alumni

Endpoints

SOLVE

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:

POST https://api.hubapi.com/form-integrations/v1/submissions/forms/:formGuid

 

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:

POST https://api.hubapi.com/crm/v3/objects/tickets

 

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.

 

To our top experts, @Anton and @DanielSanchez do you have any recommendations for @CityTale matter?

 

Thank you,

Pam

View solution in original post

0 Upvotes
1 Reply 1
PamCotton
Solution
HubSpot Alumni
HubSpot Alumni

Endpoints

SOLVE

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:

POST https://api.hubapi.com/form-integrations/v1/submissions/forms/:formGuid

 

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:

POST https://api.hubapi.com/crm/v3/objects/tickets

 

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.

 

To our top experts, @Anton and @DanielSanchez do you have any recommendations for @CityTale matter?

 

Thank you,

Pam

0 Upvotes