Reference

sendSMS

Send an SMS or MMS message to a phone number configured via OAuth connection.
mindstudio.sendSMS({ body }) → Result

Sends an SMS or MMS to a phone number through a configured OAuth connection — the app's transactional text channel, alongside sendEmail.

Parameters
body
string
RequiredSMS message body text
connectionId
string
OAuth connection ID for the recipient phone number
mediaUrls
string[]
Optional array of media URLs to send as MMS (up to 10, 5MB each)
Call from a method
import { mindstudio } from '@mindstudio-ai/agent';

const result = await mindstudio.sendSMS({
  body: /* ... */
});