Best Email API for Developers Config Document -AotSend

About AOTsend

AOTsend is a Transaction Email API provider specializing in Safe-Stable email delivery. 

$0.28 per 1000 emails. 

99% Delivery, 98% Inbox rate. 

AOT means Always On Time for email delivery. 

By Limiting Spam and Increasing IPs & Domains Reputation and Authority, AOTsend Provides a more secure and reliable sending email API service.

Support Email Types: reminders, authentication, confirmations, notifications, verification codes, invoices, password resets, account activations, billing statements, two-factor authentication (2FA), and one-time passwords (OTP) emails, etc.


AOTsend Email API Online Tester

AOTsend Email API Tester is Managed on Postman: AOTsend Email API for Developers






Email API Description

    AotSend Email API Config Document

Email API Request URL

    https://www.aotsend.com/index/api/send_email

Email API Request Method

    POST

Email API Parameters

ParameterRequiredTypeDescription
app_keyYesCharacter stringAPI Key
template_idYesCharacter stringTemplate ID
toYesCharacter stringRecipient email address
reply_toNoCharacter stringDefault reply address
aliasNoCharacter stringSender name
is_randomNo1 or 0Domain sender rotation, 1 is enabled
dataNoJSONTemplate variables


Email API Data Parameter Examples

If the template contains variables {{name}} and {{address}}, and the data parameters in the API call include the corresponding values for name and address, the email sent will display the provided data. Note that variables for which no parameters are provided will be removed from the email.

  {     
      "name": "Jack",     "address": "New York",
  }


Email API Return Parameters

ParametersRequiredTypeDescription
codeYesValueReturn Code
messageYesCharacter stringReturn result explanation


Email API Return Examples

  { 
     "code": 200,     "message": "Request successful", 
  }


Email API Code Return Comparison


ValueTextDescription
200Request successful
40001API key cannot be empty
40002Authentication failedAPI key error
40003Template ID incorrect
40004The recipient's address cannot be empty
40005The recipient's address format is incorrect
40006The default reply address reply_to format is incorrect
40007Insufficient balance
40008Data format error.



Examples of Email API Call

Click to check: Best 3 Email API Code Examples Snippets (PHP, Python, Java)

Click to check: Submit Contact Form to Auto Sending Emails (Complete Code)