Skip to main content
Contiguity expects the recipient phone number to be formatted in E.164. The SDK does not convert formats.

Send SMS/MMS

Fetch a message

Cancel a queued send

Works for SMS and iMessage. See Conversations.

Conversation history

Reactions

Parameters

text.send(params)

string
required
Recipient phone number in E.164 format.
string
The text message content. Required unless attachments are provided.
string
Optional sender number (e.g. a leased number).
string[]
Optional array of HTTPS attachment URLs (max 3, 5MB cumulative) for MMS.
boolean
Optional. Bypass recommended rate limiting on leased numbers. Requires Fast Track entitlement.

text.get(id, params?)

string
required
Message ID returned from send or webhooks.
boolean
default:"false"
Optional. Include full hop-by-hop tracking events.

text.history(params)

string
required
Recipient phone number (E.164).
string
required
Sender phone number (E.164).
number
default:"20"
Max number of messages to return.
boolean
default:"false"
Optional. Include full hop-by-hop tracking events.

text.react(action, params)

string
required
"add" or "remove".
string
required
One of: "love", "thumbsup", "thumbsdown", "haha", "emphasized", "questioned".
string
Message ID, or use to + from + message to reference the message.

Response (send / get / history / react)

string
Unique identifier for the message (send/react).
object
Request metadata: id, timestamp, api_version, object.