Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.6 KB

BulkMessagingApi.md

File metadata and controls

56 lines (39 loc) · 1.6 KB

MessenteApi.BulkMessagingApi

All URIs are relative to https://api.messente.com/v1

Method HTTP request Description
sendBulkOmnimessage POST /omnimessages Sends a bulk Omnimessage

sendBulkOmnimessage

BulkOmniMessageCreateSuccessResponse sendBulkOmnimessage(bulk_omnimessage)

Sends a bulk Omnimessage

Example

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);

Parameters

Name Type Description Notes
bulk_omnimessage BulkOmnimessage Bulk Omnimessage to be sent

Return type

BulkOmniMessageCreateSuccessResponse

Authorization

basicAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json