Tickets & Conversations

yorambaron
Participant

Add an email to a ticket by API

SOLVE

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?

0 Upvotes
1 Accepted solution
Mike_Eastwood
Solution
Key Advisor | Gold Partner
Key Advisor | Gold Partner

Add an email to a ticket by API

SOLVE

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

View solution in original post

7 Replies 7
Mike_Eastwood
Key Advisor | Gold Partner
Key Advisor | Gold Partner

Add an email to a ticket by API

SOLVE

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

0 Upvotes
yorambaron
Participant

Add an email to a ticket by API

SOLVE

Hello Mike,

 

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

 

Regards,

Yoram

0 Upvotes
Mike_Eastwood
Key Advisor | Gold Partner
Key Advisor | Gold Partner

Add an email to a ticket by API

SOLVE

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

yorambaron
Participant

Add an email to a ticket by API

SOLVE

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

0 Upvotes
Mike_Eastwood
Solution
Key Advisor | Gold Partner
Key Advisor | Gold Partner

Add an email to a ticket by API

SOLVE

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

yorambaron
Participant

Add an email to a ticket by API

SOLVE

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

yorambaron
Participant

Add an email to a ticket by API

SOLVE

Hi Mke,

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

 

Regards,

Yoram

 

0 Upvotes