ServiceNow REST API - How to include an email template when sending email via API?

tmccaffrey15
Tera Contributor

I am currently using the Rest API to send emails to users, however I want to include an email template (Quick Message) in the API to enhance the solution. I've gone through the Email API documentation, however it does not mention how to specify an email template in the POST call to the API. Does anyone have experience with including email templates in an API call when sending an email? Any help would be much appreciated

1 REPLY 1

Maik Skoddow
Tera Patron
Tera Patron

Hi

if you are really referring to quick messages (and email templates, because this is something different) then there is no option for that, as quick messages are applied to the email body on the UI side. That means they are already part of the email body when sending an email.

Maik