Algobook
- The developer's handbook
mode-switch
back-button
Buy Me A Coffee

Email API

This API will allow you to integrate towards our API so you can provide your customers with a Contact us page, subscribe to newsletter or similar.

In order to use the API, we need you to contact us with your e-mail that you will use for this, so we can add it to our list of trusted partners. It will usually take maximum 1 day before we have added you.

Contact us here.

How it is actually working

What the API is doing is quite simple. You provide the e-mail that you want us to forward your customers messages to, and we will basically send the message to you with our e-mail.

So the chain will be something like: Customer enters message on your website or app -> You call our API -> Our API will forward the message to your trusted e-mail.

POST /mail/send

Example of how you can use the endpoint

import axios from "axios"; const sendMail = async (clientEmail) => { const response = await axios.post("https://api.algobook.info/v1/mail/send", { subject: `Message from ${clientEmail}`, text: "Hello, I want to buy your product", recipient: "yourEmail@gmail.com", // This is your email that we will send all messages to }); };

Email design

The emails that you will receieve looks like below image

example-img

Questions?

I hope the guide was understandable, but if you have any questions or concerns, please reach out to us and we will answer you as soon as possible.

I hope the API can solve your needs.

Something missing?

If you wish to have some additional feature or functionality from the API, please contact us here and we will do our best to fulfill your needs.

signature
See all our articlesSee all our open source projects