Add an email to a ticket by API

SOLVE
Highlighted
Regular Contributor

I am trying to convert my old CRM to Hubspot.

I understand that in order to create a a ticket I should use the following API:  using https://developers.hubspot.com/docs/methods/tickets/create-ticket

 

How can I associate an existing (old) email and attachment by API to an existing ticket?

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
Regular Advisor | Silver Partner

Hi @yorambaron 

 

Thank you for the clarification.... you can use the Engagements API to do what you need to do:

 

https://developers.hubspot.com/docs/methods/engagements/engagements-overview

 

Good luck

Mike

7 Replies 7
Regular Advisor | Silver Partner

Hi @yorambaron 

 

You can use the CRM associations endpoint to associate CRM Objects e.g. Tickets to Contacts (if that's what you want to do).

 

Have fun

Mike

Reply
0 Upvotes
Regular Contributor

Hello Mike,

 

Thanks for your reply.
I didn't find email association in the CRM association object.

 

Regards,

Yoram

Reply
0 Upvotes
Regular Advisor | Silver Partner

Hi Yoram

 

The way I *think* you'll need to approach it is...

 

1. create the Ticket 

2. get a Contact by Email 

3. create the association with the Ticket ID and Contact ID

 

Then your Contact will be linked to the Ticket.

 

Is that *actually* what you want to achieve?

Mike

Regular Contributor

Hello Mike,

 

It seems that I was not clear in my previous messages.
I would like to include an email correspondence which will be associated to the ticket.

How can you create it by the API?

 

Thanks a lot,

 

Regards,

Yoram

 

ticket_and_email.png

Reply
0 Upvotes
Regular Contributor

Hi Mke,

See additional correspondence regarding this issue. it seems that this is a missing functionality of HubSpot.

 

Regards,

Yoram

 

Reply
0 Upvotes
Regular Advisor | Silver Partner

Hi @yorambaron 

 

Thank you for the clarification.... you can use the Engagements API to do what you need to do:

 

https://developers.hubspot.com/docs/methods/engagements/engagements-overview

 

Good luck

Mike

Regular Contributor

Hello Mike,

 

Sorry for the late response, I was away from work for a few days.

It seems that your reply is exactly what I need - thank you so much!

 

Regards,

Yoram