Skip to main content
Answer

Replying Emails using Message Template via Front API

  • July 2, 2024
  • 1 reply
  • 185 views

abdur_siddiqui
Forum|alt.badge.img+1

Hey team,

 

How can I use front API to reply to emails using templates which I created in Front ?

Best answer by Maxime Haudebert

Hi @abdur_siddiqui,

 

You did well reaching out — templates work slightly differently with our API than in Front: you'll first need to retrieve the template you need via our Get message template endpoint. This will give you the template's body. You can then use that body to send your message via our Create message or Create message reply endpoints. If you're not sure which message template you want to use, or its ID, you can leverage our List message templates and List teammate message templates endpoints.

 

I hope this helps!

Maxime

1 reply

Maxime Haudebert
Forum|alt.badge.img+4

Hi @abdur_siddiqui,

 

You did well reaching out — templates work slightly differently with our API than in Front: you'll first need to retrieve the template you need via our Get message template endpoint. This will give you the template's body. You can then use that body to send your message via our Create message or Create message reply endpoints. If you're not sure which message template you want to use, or its ID, you can leverage our List message templates and List teammate message templates endpoints.

 

I hope this helps!

Maxime