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.
const res = await contiguity.text.send({
  to: "+1234567890",
  message: "Hello from Contiguity!",
  // from: "+15555555555" // if you lease a number from Contiguity, you can provide it here
});

Parameters

text.send(params)

to
string
required
The recipient’s phone number in E.164 format (e.g., “+1234567890”).
message
string
required
The text message content to send to the recipient.
from
string
Optionally, if you lease a number from Contiguity, you can provide it here to send from.

Response

message_id
string
Unique identifier for the sent text message, used for tracking and delivery status.
metadata
object
Request metadata including ID, timestamp, and API version.