- JavaScript
- Python
Installing the SDK
1
Install the SDK
- Bun
- pnpm
- npm
- Yarn
2
Initialize the Client
Sending a message
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.
Response
Unique identifier for the sent text message, used for tracking and delivery status.
Request metadata including ID, timestamp, and API version.
Parameters
text.send(params)
The recipient’s phone number in E.164 format (e.g., “+1234567890”).
The text message content to send to the recipient.
Optionally, if you lease a number from Contiguity, you can provide it here to send from.