360 Secure SkillHub
360 安全技能中心

Voipms Sms

该技能提供两个 Python 脚本:send_sms.py 通过 VoIP.ms API 从指定 DID 向目标号码发送短信;get_sms.py 按可选 DID 与回溯天数检索短信记录。运行前需设置 VoIP.ms API 用户名与密码环境变量,建议使用仅具短信权限的子账号。

ccormier
ccormier
热度 59.12
最近更新 2026-05-11 17:27:32
分类:自动化依赖:代码执行 / 第三方 API应用场景:API 集成 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add voipms-sms
Metadata
name
voipms-sms
description
OpenClaw skill for sending and retrieving SMS messages via the VoIP.ms API (no Bitwarden dependency).

VoIP.ms SMS Skill

Use this skill to send and retrieve SMS messages through the VoIP.ms API.

Available Scripts

scripts/send_sms.py

Send an SMS from one of your VoIP.ms DIDs to a destination number.

Required arguments:

  • --did: source VoIP.ms number
  • --dst: destination phone number
  • --message: SMS message text

Example:

python3 scripts/send_sms.py \
  --did "15551234567" \
  --dst "15557654321" \
  --message "Hello from OpenClaw"

scripts/get_sms.py

Retrieve SMS messages from the VoIP.ms API for a recent date range.

Arguments:

  • --did (optional): filter by a specific source number
  • --days (optional, default 1): number of days back to fetch

Example (all numbers, last day):

python3 scripts/get_sms.py --days 1

Example (specific DID, last 7 days):

python3 scripts/get_sms.py --did "15551234567" --days 7

Required Credentials

Set these environment variables before running either script. The Python scripts will read them directly. Please create a sub-account/dedicated VoIP.ms API account that only has SMS permissions rather than using your main admin credentials.

Example:

export VOIPMS_API_USERNAME="my_api_username"
export VOIPMS_API_PASSWORD="my_api_password"