Modules@robinpath/twilio

@robinpath/twilio

0.1.0Public

Twilio module for RobinPath.

@robinpath/twilio

Twilio module for RobinPath.

Category Functions Auth License

Why use this module?

The twilio module lets you:

  • sendSms
  • sendMms
  • listMessages
  • getMessage
  • makeCall

All functions are callable directly from RobinPath scripts with a simple, consistent API.

Installation

npm install @robinpath/twilio

Quick Start

1. Set up credentials

twilio.setCredentials "your-credentials"

2. sendSms

twilio.sendSms

Available Functions

FunctionDescription
twilio.setCredentialsConfigure twilio credentials.
twilio.sendSmssendSms
twilio.sendMmssendMms
twilio.listMessageslistMessages
twilio.getMessagegetMessage
twilio.makeCallmakeCall
twilio.listCallslistCalls
twilio.getCallgetCall
twilio.listPhoneNumberslistPhoneNumbers
twilio.lookupPhoneNumberlookupPhoneNumber
twilio.createVerifyServicecreateVerifyService
twilio.sendVerificationsendVerification
twilio.checkVerificationcheckVerification
twilio.listConversationslistConversations
twilio.createConversationcreateConversation
twilio.addParticipantaddParticipant
twilio.sendConversationMessagesendConversationMessage
twilio.getAccountInfogetAccountInfo
twilio.deleteMessagedeleteMessage

Examples

sendSms

twilio.sendSms

sendMms

twilio.sendMms

listMessages

twilio.listMessages

Integration with RobinPath

import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/twilio";

const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);

const result = await rp.executeScript(`
  twilio.setCredentials "your-credentials"
  twilio.sendSms
`);

Full API Reference

See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.

Related Modules

License

MIT

Versions (1)

VersionTagPublished
0.1.0latestyesterday
Install
$ robinpath install @robinpath/twilio
Version0.1.0
LicenseMIT
Unpacked Size4.5 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

Category

utilities