Text
Send text messages to your users at scale, using Contiguity.
Installing the SDK
Install the SDK
Contiguity is working on adding several SDKs over the coming months, including ones for Swift, Java, Dart, and more.
Use npm
to install @contiguity/javascript
Use npm
to install @contiguity/javascript
Use pip
to install contiguity
Initialize the Client
After installation, import Contiguity into your project and give it your token.
You can also initialize it with the optional ‘debug’ flag, which logs additional information to the console.
You can also initialize it with the optional ‘debug’ flag, which logs additional information to the console.
You can also initialize it with the optional ‘debug’ flag:
Sending a message
As long as you provide Contiguity a valid token, and provide valid inputs, sending texts will be a breeze.
Contiguity expects the recipient phone number to be formatted in E.164. You can attempt to pass numbers in formats like NANP, and the SDKs will try their best to convert it.
Was this page helpful?