Sidemail API is a REST-style API that uses JSON for serialization. If you're looking to integrate your application with Sidemail, you've come to the right place. This quick overview will get you up and running in no time.
All API URLs start with
https://api.sidemail.io/v1/. Only HTTPS is supported. This API is using JSON. It means that you have to send the Content-Type header
Content-Type: application/json when making a
PUT HTTP request.
Make sure you've verified an email address that you'll be using as a sender address
fromAddress: "email@example.com". Sidemail sent you a verification email after you've created your first project. Verify the email address by clicking the link inside the verification email.
If you go to your project settings, you should see a "verified" label next to the "from email address". If you haven't received the verification email, you can resend it from the project settings page. Before you successfully verify an email address or a domain, you can't send emails with Sidemail.
When using a Sidemail's API, you'll need to authenticate your API calls with an API key. Sidemail automatically generates the API keys for you. You can get your API key in the project API page. All API keys are unique for each of your project.
To authenticate your API call, you'll need to send the Authorization header with the type
Bearer followed by your API key.
"Authorization": "Bearer xxxxx"
Replace the "xxxxx" with your actual API key.
After you've verified an email address and got your API key, you can start sending emails from your application.