APIs & Integrations

TIngels
Participant

Add Email to ticket

Hi,

I'm busy to integrate the API and i'm wondering if I could create an Email in a ticket? In the following screenshot the 'Logged email' is created through the engagement API and the 'Email - test' manually in Hubspot. 
Hopefully there is an option or workaround that i've missed reading the API documentation and this forum to add an Email (not logged) through the API.

Schermafbeelding 2021-05-28 om 15.28.49.png

0 Upvotes
2 Replies 2
TIngels
Participant

Add Email to ticket

Thanks for your reply,

 

I wanted to add an email in a ticket without the description 'logged'. On the documentation page I didn't read the types 'FORWARDED_EMAIL' and 'INCOMING_EMAIL' https://legacydocs.hubspot.com/docs/methods/engagements/engagements-overview

 

I've managed to add an email the way I wanted with the following parameters:

{
"engagement":{
"active":true,
"type":"FORWARDED_EMAIL"
},
"associations":{
"ticketIds":[
429458178
],
"ownerIds":[
null
]
},
"metadata":{
"body":"Dit is nog een test",
"from":{
"email":"test@test.nl"
},
"to":{
"email":"test@test.nl"
},
"cc":[

],
"bcc":[

],
"subject":"test",
"html":"Dit is nog een test",
"text":"Dit is nog een test"
}
}

 

Unfortunately it's not possible to add a paramter 'SendEmail' or something simeliar that Hubspot immediately sends an email right? 

0 Upvotes
MichaelC
Guide | Partner
Guide | Partner

Add Email to ticket

I dont really understand @TIngels 

 

A) Do you want to be able to send an email as well as showing the event?
B) Do you want to send an email without logging it?

C) Do you want to logg it without sending it?

D) Other?

 

Please try to discribe further what the end goal is for you and what you want to accoplish through the API so that I understand better.

 

Kind regards,



Need further help with integrations or business development?



Want to help me?

Go to the following links and read through the ideas. If you like them - give the idea an upvote

Upvote the following ideas: