Using Axios to send an email using a template

I would like to send an email from a project using a template that I created in Mautic.

An architect that I’m working with send me this code:

axios
.post(
“https:///api/contacts/”,
{
userFirstName: “Fred”,
cpName: “Flintstone”,
emailLink: “https://app.smarterrisk.com/asdfasdf
},

    {
     headers: {
     "Authorization": username + ":" + password
     },
   }
)

.then(function (response) {
// successful, do the rest of the code here
console.log(response);
})

.catch(function (error) {
// unsuccessful, send error response back
console.log(error);
});

How would I specify which Mautic email template to use?