All URIs are relative to https://api.messente.com/v1
Method | HTTP request | Description |
---|---|---|
sendBulkOmnimessage | POST /omnimessages | Sends a bulk Omnimessage |
BulkOmniMessageCreateSuccessResponse sendBulkOmnimessage(bulk_omnimessage)
Sends a bulk Omnimessage
var MessenteApi = require('messente_api');
var defaultClient = MessenteApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME';
basicAuth.password = 'YOUR PASSWORD';
var apiInstance = new MessenteApi.BulkMessagingApi();
var bulk_omnimessage = new MessenteApi.BulkOmnimessage(); // BulkOmnimessage | Bulk Omnimessage to be sent
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.sendBulkOmnimessage(bulk_omnimessage, callback);
Name | Type | Description | Notes |
---|---|---|---|
bulk_omnimessage | BulkOmnimessage | Bulk Omnimessage to be sent |
BulkOmniMessageCreateSuccessResponse
- Content-Type: application/json
- Accept: application/json