Sendiee API

The Sendiee API allows you to send WhatsApp and email messages to your customers. You can able to send induvidual or group messages. Sendiee API is supported in many programing languages

Ready to get started?

You’ll need a Sendiee account to become authorised. Then follow these steps to access to the API.

Step 1: Login to the Sendiee dashboard

Go to Sendiee.com/dash. You need Google account to authenticate to the dashboard. If you are new customer then please activate the best suitable packages available for you.

Step 2: Generate API key

Go to Sendiee.com/dash/apisettings. If you’re not generated the API key before, click ‘Generate new’ button to generate new API key. Then unique 20 digits API key will be generated for your account. Then make note of the API key which we will use in our API scripts

Now you’re ready to go!

WhatsApp API

Send message

Sendiee whatsapp api allows you to send single or bulk messages from your own whatsapp account easily
Make POST request to https://www.sendiee.com/api/wa/send url with the below required parameters

                        var data = {
    "numbers": ["919999999999","9188888888"],
    "type": "media",
    "message": "Hey this is sample message",
    "api": "",
    "instance":"",
    "media": "https://example.com/sample.jpg",
    "interval": 15
}
const options = {
    method: 'POST',
    headers: {'Content-Type': 'application/json'},
    body: JSON.stringify(data)
};
    
fetch('https://www.sendiee.com/api/wa/send', options)
    .then(response => response.json())
    .then(response => console.log(response))
    .catch(err => console.error(err));
                    
                

Parameters that you can use:

Name Description
numbers
Array of strings*
Array of numbers with country code in string format to whom the message should be delivered.
eg. ["919876543210" , "919999999999"]
api
String*
Your 20 digits unique api key available in sendiee dashboard. Get API key
instance
String*
Your whatsapp instance id available in Sendiee dashboard. Each whatsapp account linked with sendiee have unique instance id. To get the instance id go to
Dashboard -> WhatsApp -> Accounts -> View instance
message
String*
Your text message
type
String
Type of message to send. If you want to add attachment media in the message, set type as "media". By default type will be "text".
media
String
If your message type is "media" then add media url in this parameter.
interval
Number
Message interval between each numbers in seconds. Default interval is 15

Email API

Send mail

Sendiee email api allows you to send emails to your customers easily. You can also customise your email using Sendiee.
Send POST request to https://www.sendiee.com/em/send url with the below required parameters

                        var data = {
    "api": "",
    "to" : ["sample@sendiee.com"],
    "sender" : "email@domain.com",
    "subject" : "Your subject goes here",
    "content" : "Hey there this is sample message"
}
const options = {
    method: 'POST',
    headers: {'Content-Type': 'application/json'},
    body: JSON.stringify(data)
    };
    
fetch('https://www.sendiee.com/api/em/send', options)
    .then(response => response.json())
    .then(response => console.log(response))
    .catch(err => console.error(err));
                    
                

Parameters that you can use:

Name Description
to, bcc, cc
Array of strings*
You can use any one or more receiver types. eg. ["example@domain.com", "test@sendiee.com"]
api
String*
Your 20 digits unique api key available in sendiee dashboard. Get API key
sender
String*
Your sender email id. You should add your sender email in Sendiee dashboard
Dashboard -> Email -> SMTP settings -> email id
content
String*
Your test or html email content
subject
String
Your email subject
template
String
If you want to send email from template then specify your email template id which is available in sendiee dashboard
variables
Object
If your template contains variables then pass the variable name and values in "variables" object.
eg.
variables={
"name" : "Your name"
"mobile" : "9876543210"
}

Test Sendiee API