Xpersona
E

EngageLab SMS

CLAWHUB · Unverified

Call EngageLab SMS REST APIs to send SMS messages and manage SMS templates and signatures (sender IDs). Use this skill whenever the user wants to send an SMS...

62
Rank
84
Safety
990
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 990 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17145xn9q0rxevzd3kmwce18s83pakw:engagelab-sms
  1. Install using `clawhub skill install s17145xn9q0rxevzd3kmwce18s83pakw:engagelab-sms` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/devengagelab/engagelab-sms before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-devengagelab-engagelab-sms/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

38,402 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: engagelab-sms
description: >
  Call EngageLab SMS REST APIs to send SMS messages and manage SMS templates and
  signatures (sender IDs). Use this skill whenever the user wants to send an SMS
  via EngageLab, create or manage SMS templates, configure sender ID signatures,
  or interact with any EngageLab SMS API endpoint. Also trigger when the user
  mentions "engagelab", "engagelab sms", "sms api", "send sms via api",
  "sms template management", "sender id", "sign config", or asks to integrate
  with the EngageLab messaging platform. This skill covers authentication,
  message sending, template CRUD, and signature CRUD — use it even if the user
  only needs one of these capabilities.
---

# EngageLab SMS API Skill

This skill enables you to interact with the EngageLab SMS REST API. It covers three areas:

1. **Send SMS** — Send notification or marketing SMS to one or more recipients
2. **Template Management** — Create, read, update, and delete SMS templates
3. **Signature (Sender ID) Management** — Create, read, update, and delete sender ID signatures

## Resources

### scripts/

- **`sms_client.py`** — Python client class (`EngageLabSMS`) wrapping all API endpoints: `send_sms()` (immediate and scheduled), template CRUD (`list_templates()`, `get_template()`, `create_template()`, `update_template()`, `delete_template()`), and signature CRUD (`list_signatures()`, `get_signature()`, `create_signature()`, `update_signature()`, `delete_signature()`). Handles authentication, request construction, and typed error handling. Use as a ready-to-run helper or import into the user's project.

### references/

- **`template-and-signature-api.md`** — Full request/response field specs for all template and signature endpoints
- **`error-codes.md`** — Complete error code tables for SMS sending and template/signature operations

## Authentication

All EngageLab SMS API calls use **HTTP Basic Authentication**.

- **Base URL**: `https://smsapi.engagelab.com`
- **Header**: `Authorization: Basic <base64(dev_key:dev_secret)>`
- **Content-Type**: `application/json`

The user must provide their `dev_key` and `dev_secret` (also called `apikey` and `apisecret`). Encode them as `base64("dev_key:dev_secret")` and set the `Authorization` header.

**Example** (using curl):

```bash
curl -X POST https://smsapi.engagelab.com/v1/messages \
  -H "Content-Type: application/json" \
  -H "Authorization: Basic $(echo -n 'YOUR_DEV_KEY:YOUR_DEV_SECRET' | base64)" \
  -d '{ ... }'
```

If the user hasn't provided credentials, ask them for their `dev_key` and `dev_secret` before generating API calls.

## Quick Reference — All Endpoints

| Operation | Method | Path |
|-----------|--------|------|
| Send SMS | `POST` | `/v1/messages` |
| List templates | `GET` | `/v1/template-configs` |
| Get template | `GET` | `/v1/template-configs/:templateId` |
| Create template | `POST` | `/v1/template-configs` |
| Update template | `PUT` | `/v1/template-configs/:templateId` |
| Delete templat

_meta.json

{
  "ownerId": "kn75m99bcn64jm2ktahbyvjwf982p943",
  "slug": "engagelab-sms",
  "version": "1.0.1",
  "publishedAt": 1774592546210
}

references/error-codes.md

# EngageLab SMS API Error Codes

## SMS Sending Errors

| Error Code | HTTP Code | Description |
|------------|-----------|-------------|
| 1000 | 500 | Internal Error |
| 2001 | 401 | Authentication failed — incorrect token |
| 2002 | 401 | Authentication failed — token expired or disabled |
| 2004 | 403 | No permission to call this API |
| 3001 | 400 | Invalid request parameter format (not valid JSON) |
| 3002 | 400 | Invalid request parameters (do not meet requirements) |
| 3003 | 400 | Business validation failed — see `message` field for details |
| 3004 | 400 | Frequency limit exceeded — cannot resend same template to same user within verification code validity period |
| 4001 | 400 | Resource not found (e.g., non-existent template ID) |
| 5001 | 400 | Verification code sending failed — see `message` field for details |

## Template & Signature Errors

| Error Code | HTTP Code | Description |
|------------|-----------|-------------|
| 0 | 200 | Success |
| 400 | 400 | Parameter error or business logic error |
| 500 | 500 | Internal server error |

### Common Error Messages

| Message | Meaning |
|---------|---------|
| `invalid templateId` | Template ID format is invalid |
| `template config not exist` | Template does not exist |
| `invalid signId` | Signature ID format is invalid |
| `sign config not exist` | Signature does not exist |
| `sign_name already exist` | Signature name is already taken |
| `can not update pending status template` | Templates in Pending Review cannot be updated |
| `can not update pending status sign` | Signatures in Pending Review cannot be updated |
| `there are pending or running plans using current template, can not update` | Template is in use by active plans |
| `there are pending or running plans using current sign, can not update` | Signature is in use by active plans |
| `sign status is not approved, can not use` | Only Approved signatures can be attached to templates |

references/template-and-signature-api.md

# Template & Signature API Reference

Detailed request/response specifications for template and signature management endpoints.

## Table of Contents

1. [Template Configuration APIs](#template-configuration-apis)
   - [List Templates](#1-list-templates)
   - [Get Template Details](#2-get-template-details)
   - [Create Template](#3-create-template)
   - [Update Template](#4-update-template)
   - [Delete Template](#5-delete-template)
2. [Signature Configuration APIs](#signature-configuration-apis)
   - [List Signatures](#1-list-signatures)
   - [Get Signature Details](#2-get-signature-details)
   - [Create Signature](#3-create-signature)
   - [Update Signature](#4-update-signature)
   - [Delete Signature](#5-delete-signature)

---

## Template Configuration APIs

### 1. List Templates

`GET /v1/template-configs`

No request parameters. Returns an array of all templates.

**Response fields**:

| Field | Type | Description |
|-------|------|-------------|
| template_id | string | Template ID |
| template_name | string | Template name |
| template_type | string | `utility` (notification) or `marketing` |
| template_content | string | Template content with variable placeholders |
| country_codes | string | Target country codes, comma-separated |
| status | int | 1=Pending Review, 2=Approved, 3=Rejected |
| sign_id | string | Attached signature ID (optional) |
| sign_name | string | Attached signature name (optional) |
| sign_position | int | 0=None, 1=Prefix, 2=Suffix (optional) |
| sign_status | int | Signature status (optional) |
| audit_remark | string | Review remarks |
| created_time | int64 | Unix timestamp |
| updated_time | int64 | Unix timestamp |

**Example response**:

```json
[
  {
    "template_id": "123456789",
    "template_name": "Order Notification Template",
    "template_type": "utility",
    "template_content": "Your order {order_no} has been shipped and is expected to arrive by {delivery_time}.",
    "country_codes": "CN,US",
    "status": 2,
    "sign_id": "987654321",
    "sign_name": "Company Name",
    "sign_position": 2,
    "sign_status": 2,
    "audit_remark": "",
    "created_time": 1699000000,
    "updated_time": 1699000000
  }
]
```

### 2. Get Template Details

`GET /v1/template-configs/:templateId`

| Path Param | Type | Required | Description |
|------------|------|----------|-------------|
| templateId | string | Yes | Template ID |

Response fields same as List Templates (single object, not array).

**Errors**: `400` if template ID is invalid or template does not exist.

### 3. Create Template

`POST /v1/template-configs`

**Request body**:

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| template_name | string | Yes | Up to 255 characters |
| template_type | string | Yes | `utility` or `marketing` |
| template_content | string | Yes | Cannot contain: `【`, `】`, `、`, `测试`, `test`, `[`, `]` |
| country_codes | string | Yes | Comma-separated country codes |
| add_signature | bool |

skill-card.md

## Description:

Call EngageLab SMS REST APIs to send SMS messages and manage SMS templates and signatures.

This skill is ready for commercial/non-commercial use.

## Publisher:

[devengagelab](https://clawhub.ai/user/devengagelab)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and operators use this skill to generate EngageLab SMS API calls, helper code, and configuration guidance for sending SMS messages and managing approved templates and sender ID signatures.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can produce actions that send SMS messages or delete EngageLab messaging configuration.

Mitigation: Require explicit review of recipient lists, template IDs, signature IDs, and deletion targets before running generated commands or helper code.

Risk: Credentials could be exposed or sent outside the intended EngageLab SMS API host.

Mitigation: Use least-privilege EngageLab credentials, avoid placing production secrets in retained prompts, and keep requests restricted to smsapi.engagelab.com.

## Reference(s):

- [Template & Signature API Reference](references/template-and-signature-api.md)
- [EngageLab SMS API Error Codes](references/error-codes.md)
- [EngageLab SMS API Endpoint](https://smsapi.engagelab.com)
- [ClawHub EngageLab SMS Skill Page](https://clawhub.ai/devengagelab/skills/engagelab-sms)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown with inline JSON and code blocks]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include generated curl commands, Python or other language examples, request payloads, and API response handling guidance.]

## Skill Version(s):

1.0.1 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to EngageLab SMS and adjacent AI workflows.