Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

sinch-imported-numbers-hosting-orders进口号码托管订单

Agent Skill

sinch-imported-numbers-hosting-orders 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,341

周安装

57

GitHub Stars

7

下载量

470
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sinch-imported-numbers-hosting-orders(进口号码托管订单)
来源仓库:https://github.com/sinch/skills
仓库路径:skills/sinch-imported-numbers-hosting-orders
安装命令:
npx skills add https://github.com/sinch/skills --skill sinch-imported-numbers-hosting-orders
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/sinch/skills --skill sinch-imported-numbers-hosting-orders

简介

sinch-imported-numbers-hosting-orders 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 确认具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 当前无原始 SKILL.md 内容可参考,实际功能以来源仓库为准。

SKILL.md

Sinch Imported Numbers & Hosting Orders

Overview

The Imported Numbers and Hosting Orders API imports non-Sinch phone numbers for use with Sinch SMS without porting. It manages the lifecycle from qualification through text-enablement, including LOA generation and carrier OSR updates.

Agent Instructions

Before generating code, ask the user these clarifying questions:

  1. Goal — What do you need?

- Import a number (single or bulk)? - Qualify numbers for text-enablement? - Text-enable qualified numbers? - Check status of an existing order?

  1. LOA type (if text-enabling) — Are you a direct Sinch customer, a reseller, or do you have a blanket LOA?
  2. Number type (if text-enabling) — Standard or Toll-Free?
  3. Language — curl, Node.js SDK, Python, Java?

Wait for answers, then follow the matching workflow below.

Decision Tree

User wants to work with imported numbers →
├─ Import numbers
│  ├─ Single number    → Workflow A (Import Number)
│  └─ Bulk (≤5)        → Workflow B (Bulk Import via Hosting Order)
├─ Qualify numbers     → Workflow C (Qualify → email invoices)
├─ Text-enable numbers
│  ├─ Standard numbers → Workflow D (Text-Enable)
│  └─ Toll-Free        → Workflow D variant (TF endpoint)
├─ Check order status  → Workflow E (Hosting Order Status)
└─ Manage numbers      → Workflow F (CRUD operations)

Critical Rules

  1. E.164 format required. All phone numbers must include leading + (e.g., +12025550134).
  2. Qualification requires manual review. After addNumbers, the user must email invoices to orders@sinch.com. Takes 1–3 business days.
  3. Unlink before relinking. To change service plan or campaign, first set both to empty string "", then set new values in a separate request.
  4. Hosting orders are async. Poll order status or set callbackUrl per-request.
  5. List hosting orders requires all four params: states, type, servicePlanId, campaignId are all required.
  6. migrateToSinchTmo is read-only on responses. Exception: writable in hostingOrders:importNumbers requests.

Getting Started

Authentication

See sinch-authentication for full auth setup. This API uses OAuth2 client credentials (production) or Basic Auth (testing only, rate-limited).

Base URL: https://imported.numbers.api.sinch.com

Region: US and CA only. Single global endpoint (not regionalized).

First API Call — Import a Number

curl -X POST \
  "https://imported.numbers.api.sinch.com/v1/projects/$SINCH_PROJECT_ID/importedNumbers" \
  -H "Authorization: Bearer $SINCH_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "phoneNumber": "+11234567890",
    "regionCode": "US",
    "displayName": "My Number",
    "smsConfiguration": {
      "servicePlanId": "$SERVICE_PLAN_ID",
      "campaignId": "$CAMPAIGN_ID"
    },
    "callbackUrl": "https://example.com/callback"
  }'

Key Concepts

  • Imported Number — Non-Sinch number enabled for SMS via Sinch as DCA. Linked to a service plan and optionally a 10DLC campaign.
  • Qualified Number — Number that passed eligibility review. States: ELIGIBLE_CHECK_PENDINGELIGIBLE / NOT_ELIGIBLEVERIFICATION_PENDINGVERIFIED / VERIFICATION_FAILED / VERIFICATION_BLOCKEDHOSTING_IN_PROGRESSHOSTING_DONE / HOSTING_FAILED.
  • Hosting Order — Async provisioning tracker. States: DRAFTSUBMITTEDWAITING_FOR_LOA_SIGNATUREIN_PROGRESSCOMPLETED / REJECTED. Type: IMPORT or TYPE_TEXT_ENABLE.
  • LOA — Letter of Authorization for text-enablement. Three types: directLoaInfo, resellerLoaInfo, blanketLoaInfo (empty {}).
  • Service Plan ID — Links number to SMS service. Campaign ID — Links to 10DLC campaign (US A2P).
  • OSR Update — Carrier-level record update. Schedulable via scheduledOsrUpdateTime.

Workflows

Workflow A: Import Single Number

Ask for: phoneNumber, regionCode, servicePlanId. Optional: campaignId, displayName, callbackUrl.

  • 1. Import number via POST /importedNumbers
  • 2. Verify: GET /importedNumbers/{phoneNumber}
Numbers with their own NNID must complete NNID provisioning first.

API docs: Import numberGet imported number

Workflow B: Bulk Import via Hosting Order

Ask for: numbers (list, max 5), regionCode, servicePlanId. Optional: campaignId, callbackUrl, migrateToSinchTmo.

  • 1. Create hosting order via POST /hostingOrders:importNumbers
  • 2. Track: GET /hostingOrders/{orderId} — wait for COMPLETED
  • 3. Verify: GET /hostingOrders/{orderId}/numbers — check per-number status
Limit: 5 numbers per request by default. Contact account manager to increase.

API docs: Import numbersGet orderList order numbers

Workflow C: Qualify Numbers

Ask for: list of phoneNumbers (E.164).

  • 1. Submit batch via POST /qualifiedNumbers:addNumbers (body: {"phoneNumbers": [...]})
  • 2. Remind user: "Email invoices for these numbers to orders@sinch.com — qualification won't proceed without them."
  • 3. Track: GET /qualifiedNumbers/{phoneNumber} — wait for ELIGIBLE state
  • 4. If ownership verification required: run voice challenge (see Workflow F)

API docs: Create batchGet qualified number

Workflow D: Text-Enable Numbers

Ask for: numbers (list, max 500), regionCode, servicePlanId, and LOA info. Optional: campaignId, nnid, scheduledOsrUpdateTime, callbackUrl.

Determine LOA type:

  • Direct customerdirectLoaInfo (authorized person, address, voice carrier)
  • ResellerresellerLoaInfo (business name + authorized person, address, voice carrier)
  • Blanket LOAblanketLoaInfo: {} (pre-approved with account manager)
  • 1. Text-enable via POST /qualifiedNumbers:textEnableNumbers (or POST /hostingOrders:textEnableNumbers for full order response)
  • 2. LOA sent to authorized person's email for e-signature — confirm email is correct before submitting
  • 3. Track hosting order: GET /hostingOrders/{orderId}

For Toll-Free, use POST /qualifiedNumbers:textEnableTollFreeNumbers or POST /hostingOrders:textEnableTollFreeNumbers instead.

API docs: Text-enable (qualified) · Text-enable (hosting order) · TF (qualified) · TF (hosting order)

Workflow E: Check Hosting Order Status

  • 1. List orders: GET /hostingOrders?states=...&type=...&servicePlanId=...&campaignId=... (all four required)
  • 2. Get specific: GET /hostingOrders/{orderId}
  • 3. Get report: GET /hostingOrders/{orderId}/report (shows totals for OSR, SMS provisioned, campaign linked)
  • 4. Drill into numbers: GET /hostingOrders/{orderId}/numbers

API docs: List orders · Get order · Get report · List order numbers

Workflow F: Manage Numbers & Verification

Imported numbers: list, get, update, delete via /importedNumbers and /importedNumbers/{phoneNumber}.

Qualified numbers: list (requires states param), get, delete via /qualifiedNumbers.

Voice challenge (ownership verification):

  • 1. POST /qualifiedNumbers/{phone}:sendVoiceChallenge — triggers voice call with code
  • 2. POST /qualifiedNumbers/{phone}:verifyVoiceChallenge — body: {"code": "1234"}

API docs: List imported · Update imported · Delete imported · List qualified · Send challenge · Verify challenge

Callbacks

Callback URLs are set per-request via callbackUrl on import and text-enable operations (not project-level). Configure HMAC signing via PATCH /callbackConfiguration with {"hmacSecret": "..."} — verifies payloads via X-Sinch-Signature header.

See references/callbacks.md for full payload schema, event types, and failure codes.

Allowlist these IPs: 54.76.19.159, 54.78.194.39, 54.155.83.128

Gotchas and Best Practices

  • Bulk import limit: hostingOrders:importNumbers allows 5 numbers by default. Use POST /importedNumbers for single numbers.
  • Text-enable limit: Up to 500 numbers per request.
  • 409 Conflict means the number is already imported. Check with GET /importedNumbers/{phoneNumber} first.
  • Hosting order states: SUBMITTEDWAITING_FOR_LOA_SIGNATUREIN_PROGRESSCOMPLETED / REJECTED.

Links

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.3%
按下载量换算180

Claude

29.15%
按下载量换算137

Cursor

19.58%
按下载量换算92

Gemini CLI

9.33%
按下载量换算44

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills