ballerinax/bulksms Ballerina library

1.5.1

Overview

This is a generated connector for BulkSMS API v1 OpenAPI Specification.

BulkSMS API provides capability to access you to submit and receive BulkSMS messages. You can also get access to past messages and see your account profile. Dates are formatted according to ISO-8601, such as 1970-01-01T10:00:00+01:00 for 1st January 1970, 10AM UTC+1. It currently supports operations on messages, numbers, user profile, webhooks, and batch messages.

Prerequisites

Before using this connector in your Ballerina application, complete the following:

  1. Provide the username and password for the Authentication. Follow this link for more detail

Quickstart

To use the bulkSMS connector in your Ballerina application, update the .bal file as follows:

Step 1 - Import connector

Copy
import ballerinax/bulksms;

Step 2 - Create a new connector instance

Copy
configurable http:CredentialsConfig & readonly auth = ?;
bulksms:ClientConfig clientConfig = {auth : auth};
bulksms:Client baseClient = check new Client(clientConfig);

Step 3 - Invoke connector operation

  1. Invoking connector operations using the client
Copy
bulksms:Profile profile = check baseClient->getProfile();
  1. Use bal run command to compile and run the Ballerina program.

Import

import ballerinax/bulksms;Copy

Metadata

Released date: over 1 year ago

Version: 1.5.1

License: Apache-2.0


Compatibility

Platform: any

Ballerina version: 2201.4.1

GraalVM compatible: Yes


Pull count

Total: 2

Current verison: 1


Weekly downloads


Source repository


Keywords

Communication/Call & SMS

Cost/Paid


Contributors

Other versions

See more...