How to use eAPI - Beta Version?

To send emails using our API you must send email data and your API's credentials using 'HTTP POST Method' to this 'https://eapi.in/eapi' url. Here is the PARAMETER names you need to send.

1 - Email content

sub = Email Subject (required)
body = Email Body (required)
attach_file[] = Attachments in array
                

2 - API's credentials

key = API Key (required)
secret = API Secret (required)
                

3 - Email headers

R_mail = Reply To Email (required)
R_name = Reply To Name
T_mail = Sent To or Recipients Emails(separated by commas) (required if not added from dashboard)
T_name = Sent To or Recipients Name(separated by commas)
cc_mail = CC Email
cc_name = CC Name
bcc_mail = BCC Email
bcc_name = BCC Name
F_mail = Sent From Mail
F_name = Sent From Name
                

API response is in JSON format with these parameters

{
    "error": "true or false",
    "code": "error code",
    "msg": "error message"
}
                

Error codes

1 = 'Invalid Credentials';
2 = 'This Website Url '.$referUrl.' is not added to this api by api owner;
3 = 'Blocked by api owner type:country';
4 = 'This API is Suspended';
5 = 'This API is stoped by it's owner';
6 = 'This API is Expired';
7 = 'Details are missing missing:dataName';
8 = 'Blocked by API owner type:IP';
9 = 'This api is reched her limits';
10 = 'This API is not able to send email to '.count($ToMails).' receiver in once.';
11 = 'Undifind Error in SMTP function.';
0 = 'eMail has not sent.';
200 = 'eMail sent.';
                

Here is an html example

1 - Create a form element with method POST

2 - Set form inputs

For multipel Recipients and CC & BCC

  
  

  
  

  
  
                

For Bulk mail

  
  
                

3 - Make Ajax request

Note:- (url = 'https://eapi.in/eapi')
(For Bulk API = 'https://eapi.in/b_eapi')

                

Download

Need Help Please Contact Us