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