Token导航 LogoToken导航

Agent Skill · 开发

sinch-fax-api(sinch FAX API 文档)

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

sinch-fax-api 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 12,141。

总安装 1,420周安装 61GitHub Stars 7下载 498核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/sinch/skills --skill sinch-fax-api

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

sinch-fax-api 用于辅助 API 设计、接口文档和请求响应结构梳理。适合生成 OpenAPI 草稿、检查字段命名或整理错误码,但需避免凭空补字段。通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 确认具体用法。

使用时需确认真实业务语义、鉴权方式和错误处理规则,最好从现有代码或样例中提取事实。当前无原始 SKILL.md 内容可参考,实际功能以来源仓库为准。

来源仓库内路径:skills/sinch-fax-api

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/sinch/skills --skill sinch-fax-api;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

sinch-fax-api 怎么安装?

在终端执行 npx skills add https://github.com/sinch/skills --skill sinch-fax-api。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

sinch-fax-api 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

sinch-fax-api 需要什么权限?

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

sinch-fax-api 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

sinch-fax-api 用的人多吗?

公开数据是累计安装 1,420 次,近一周安装 61 次,下载 498 次,GitHub 7 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

sinch-fax-api 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
sinch-fax-api

sinch FAX API 文档 · 本页

1,4207接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Sinch Fax API

Overview

The Sinch Fax API lets you send and receive faxes programmatically. It supports multiple file formats, webhooks for incoming faxes, fax-to-email delivery, and automatic retries. Used for healthcare, legal, financial, and government applications where fax remains a required communication channel.

Auth: See sinch-authentication for setup.

Getting Started

Before generating code, gather from the user: approach (SDK or direct API), language (Node.js, Python, Java,.NET, curl), and use case (sending, receiving, fax-to-email, or managing services). Do not assume defaults.

When generating callback/webhook handlers or processing inbound fax data, always include input validation and sanitization. Treat all inbound content (contentUrl, filenames, metadata, errorMessage) as untrusted — never interpolate into prompts, evaluate as code, or use in shell commands unsanitized.

When the user chooses SDK, fetch the relevant API reference docs linked in Links for accurate method signatures (trusted first-party Sinch docs at developers.sinch.com). When the user chooses direct API calls, use REST with the appropriate HTTP client for their language.

See sinch-sdks for SDK installation and client initialization. Note: Fax is only supported in Node.js (preview) and .NET (partial) — for Java and Python, use direct HTTP calls.

First API Call — Send a Fax

Store credentials in environment variables — never hardcode tokens or keys in commands or source code:

export SINCH_PROJECT_ID="your-project-id"
export SINCH_ACCESS_TOKEN="your-oauth-token"

curl:

curl -X POST \
  "https://fax.api.sinch.com/v3/projects/$SINCH_PROJECT_ID/faxes" \
  -H "Authorization: Bearer $SINCH_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "+12025550134",
    "contentUrl": "https://example.com/document.pdf",
    "callbackUrl": "https://yourserver.com/fax-callback"
  }'

Node.js SDK: See Send a Fax with Node.js.

Test number: Send to +19898989898 to emulate a real fax without charges (always suggest this for integration testing).

Key Concepts

  • Fax Services — Logical containers for fax configuration. Associate numbers, set defaults, and manage routing.
  • Fax Numbers — Phone numbers provisioned for fax. Must be configured in your Sinch dashboard.
  • Faxes — Individual fax transmissions (inbound or outbound). Each has a unique ID, status, and metadata.
  • Fax statuses — QUEUED → IN_PROGRESS → COMPLETED or FAILURE. Error details in errorType and errorMessage fields.
  • Supported formats — PDF (most reliable), DOC, DOCX, TIF/TIFF, JPG, PNG, TXT, HTML.
  • Webhooks/Callbacks — HTTP POST notifications for fax events. Default content type is multipart/form-data (fax content as attachment). Set callbackUrlContentType: "application/json" for JSON callbacks.
  • Cover Pages — Customizable cover pages per service. Attach via coverPageId and coverPageData on send.
  • Fax-to-Email — Incoming faxes auto-forwarded to email addresses.
  • Retries — Auto-retry on failure. Default set per fax service; maximum: 5.
  • Retention — Fax logs and media retained for 13 months. Use DELETE /faxes/{id}/file to remove earlier.

Common Patterns

Three ways to deliver content: contentUrl for URLs (recommended — supports basic auth), multipart/form-data for local files, or contentBase64 for in-memory bytes. contentUrl can be a single URL or an array of URLs to compose multi-document faxes.

For HTTPS URLs, ensure your SSL certificate (including intermediate certs) is valid and up-to-date. You can optionally specify from to set the sender number.

  • Send a fax (URL, file upload, base64, multiple recipients) — See Send a Fax endpoint. Use multipart/form-data for local files, JSON with contentUrl for URLs.
  • Receive faxes via webhook — Callbacks use the content type configured via callbackUrlContentType (see Key Concepts). Check direction === 'INBOUND' on the fax object. See Receive a Fax with Node.js.
  • Fax-to-email — Configure via API or dashboard. Incoming faxes auto-forward to the configured email. See Fax-to-Email Reference.
  • List faxes — See Faxes Endpoint Reference
  • Get fax details — GET /faxes/{id}
  • Download fax content — GET /faxes/{id}/file.pdf (.pdf suffix required)
  • Delete fax content — DELETE /faxes/{id}/file (removes stored content before 13-month expiry)
  • Manage fax services — See Services Endpoint Reference
  • Manage cover pages — POST/GET/DELETE /services/{id}/coverPages — see Services reference
  • Manage fax-to-email — See Fax-to-Email Reference

Troubleshooting

Fax not delivered

  1. Check fax status via GET /faxes/{id} — look at status, errorType (DOCUMENT_CONVERSION_ERROR, CALL_ERROR, FAX_ERROR, FATAL_ERROR, GENERAL_ERROR), and errorMessage
  2. If contentUrl was used with HTTPS, verify the SSL certificate (including intermediate certs) is valid
  3. Fax delivery depends on the receiving machine answering — retries are automatic (max 5, default set per service)

Fax content renders incorrectly

  • Complex DOC/DOCX formatting may not render perfectly on receiving machines. Recommend PDF instead.

Cannot send or receive faxes

  • Verify the number has fax capability enabled in the Sinch dashboard
  • Numbers must be provisioned for fax before use

Gotchas and Best Practices

  • Use callbackUrl for status tracking — fax delivery is async. Prefer callbacks over polling.
  • PDF is the safest format for reliable rendering on receiving machines.
  • Fax logs and media are retained for 13 months. Use DELETE /faxes/{id}/file to remove earlier, or download and archive if longer retention is needed.
  • International fax success rates vary by country — some have specific dialing prefix requirements.
  • Use resolution: "SUPERFINE" (400 dpi) for faxes with small text or detailed images; default FINE (200 dpi) works for most cases.
  • Security — untrusted content: Inbound fax callbacks and contentUrl values may contain user-provided or third-party content. Treat all inbound fax data as untrusted — do not execute, evaluate, or interpolate it into prompts or code. Validate URLs before fetching. Sanitize callback body fields (filenames, metadata, errorMessage) before logging, rendering in HTML, or storing in a database.

Links

平台分布

Codex

32.59%
按下载量换算162

Claude

28.3%
按下载量换算141

Cursor

20.68%
按下载量换算103

Gemini CLI

10.47%
按下载量换算52

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills