Skip to main content

Easily Integrate
BulkSMS.com's API using Konfig's TypeScript SDK

Need a TypeScript SDK for BulkSMS.com's API?

Growing API Companies trust Konfig's SDKs to onboard developers to their API.

SnapTradeHumanloopSplititLeapGroundx

First, instantiate the SDK

It only takes a few lines of code.

index.ts

import { BulkSmsCom } from 'bulk-sms-com-typescript-sdk';
const bulkSmsCom = new BulkSmsCom({
/*
* The API uses HTTP Basic Auth for authentication.
*
* You are requested to preemptively provide the `Authorization` header in your requests and not wait until the server has provided a `401 Unauthorized` response.
*
* Doing so will reduce the number of requests required to achieve your goal, which will improve overall performance.
*
* You authenticate using either the username you supplied when you registered with [BulkSMS](https://www.bulksms.com) or with an _API Token_. API tokens can be created by logging into your account and visiting _Settings > Developer Settings > API Tokens_.
*
* __Important:__
* - Where possible, use an API Token instead of the username and password when writing software against the API.
*
* Whether you use a username or an API Token, the values must be [Base64 encoded](https://en.wikipedia.org/wiki/Base64) before using it in the header.
* For example, if the username is `Aladdin` and the password is `OpenSesame`, the unencoded header value is `Aladdin:OpenSesame`. After encoding, the full header becomes
*
* ```
* Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l
* ```
* When using an API token, the value to be encoded will be `<token-id>:<token-secret>`. These values _before Base64 encoding_ look something like this
*
* `
* BBDE1B476E03498AA768F66A286AABDC-01-B:9jSbVDK20!MXdfRGiIIFu#ffUE8*S
* `
*
*/
username: "USERNAME",
password: "PASSWORD"
})

Then, send your first request

We made it really easy.

index.ts

// List blocked numbers
const listRetrievalResponse = bulkSmsCom.blockedNumbers.listRetrieval()

Enjoy a buttery smooth developer experience with 15 SDK methods

How Konfig Works

Konfig collects APIs and automatically generates SDKs so you can focus on building your application.

openapi-examples

Konfig maintains the highest quality collection of OpenAPI Specifications on the internet in a GitHub repository

We pull OpenAPI Specifications from public sources, fix any errors, and make sure they pass our lint rules. We continually make sure the repository is up-to-date and collect up-time and response time metrics for every API.

openapi-examples-to-konfig

Generates AI-Augmented SDKs from openapi-examples

Our SDK generator is trusted by growing API companies and goes through a rigorous testing process to ensure the generated SDKs are high-quality and easy to use.

konfig-to-package-managers

Publishes to standard package managers

We publish to standard package managers like npm, PyPI, and Maven so you can easily integrate the SDK into your application.

BulkSMS.com

About BulkSMS.com

BulkSMS.com is a leading SMS messaging service provider offering two-way SMS communications. The BulkSMS gateway reaches across borders and connects to over 800 mobile network operators worldwide.

Keywords

messaging
sms
communications
sms_api
sms_messaging
personalised_sms_messaging
scheduled_sms_messaging
sms_software

Start integrating BulkSMS.com's API with Konfig