360 Secure SkillHub
360 安全技能中心

Voipms Sms

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

分类:自动化
ccormier
ccormier
热度 40.41
最近更新 2026-05-11 17:27:32

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add ccormier/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"