Mailtrain-org / mailtrain

Self hosted newsletter app
GNU General Public License v3.0
5.51k stars 692 forks source link

Tutorial on how to use transactional API #1366

Closed patchthecode closed 10 months ago

patchthecode commented 11 months ago

I see this in the documentation

Screenshot 2023-11-04 at 10 31 35 PM

Trying to send this on terminal gives the following error response:

{
    "error": "Permission denied",
    "data": []
}

What am i missing? Can someone tell me or point me in the direction of everything i need to setup in order to send an email via the API?

ddwdwaw111 commented 10 months ago

Probably check if the template associated with the :templateId in the URL exists.