---
title: "APIドキュメントとCLI：Node・Python・Go・PHP | SingleFax"
description: "SingleFaxのREST APIとnpm CLIでバックエンドからFAX送信。前払いクレジット、APIキー、OpenAPI、curl・Node・Python・Go・PHPのサンプルを提供します。"
canonical_url: "https://singlefax.com/ja/開発者向け"
meta:
  "og:description": "SingleFaxのREST APIとnpm CLIでバックエンドからFAX送信。前払いクレジット、APIキー、OpenAPI、curl・Node・Python・Go・PHPのサンプルを提供します。"
  "og:image": "https://singlefax.com/_og/s/o_45755c217510236a.jpeg"
  "og:image:alt": APIドキュメントとCLI：Node・Python・Go・PHP
  "og:image:height": "630"
  "og:image:type": image/jpeg
  "og:image:width": "1200"
  "og:title": バックエンドからFAXを送信
---

> Index of every page on this site: [llms.txt](https://singlefax.com/llms.txt)

[singlefax](https://singlefax.com/ja)

[送信・受信](https://singlefax.com/ja/%E3%83%95%E3%82%A1%E3%82%AF%E3%82%B9%E9%80%81%E4%BF%A1) [法人のお客様](https://singlefax.com/ja/%E6%B3%95%E4%BA%BA%E5%90%91%E3%81%91)用途別 [料金](https://singlefax.com/ja/%E6%96%99%E9%87%91) [ブログ](https://singlefax.com/ja/blog)

<details>

<summary>言語</summary>



<a href="https://singlefax.com/developers">English</a><a href="https://singlefax.com/de/entwickler">Deutsch</a><a href="https://singlefax.com/fr/developpeurs">Français</a><a href="https://singlefax.com/es/desarrolladores">Español</a><a href="https://singlefax.com/it/sviluppatori">Italiano</a><a href="https://singlefax.com/zh-tw/%E9%96%8B%E7%99%BC%E4%BA%BA%E5%93%A1">繁體中文</a><a href="https://singlefax.com/pt-br/desenvolvedores">Português do Brasil</a><a href="https://singlefax.com/tr/gelistiriciler">Türkçe</a><a href="https://singlefax.com/ko/%EA%B0%9C%EB%B0%9C%EC%9E%90">한국어</a><a href="https://singlefax.com/ar/%D8%A7%D9%84%D9%85%D8%B7%D9%88%D8%B1%D9%88%D9%86">العربية</a>

</details>

[ログイン](https://singlefax.com/ja/%E3%83%AD%E3%82%B0%E3%82%A4%E3%83%B3)

REST・CLI・OpenAPI

# SingleFax APIドキュメントとCLI

APIキーと前払いクレジットを使用。npmの公式CLI、またはcurl・Node・Python・Go・PHPのRESTサンプルを利用できます。チャットアプリはMCPを使ってください。

[APIキーを作成](https://singlefax.com/ja/%E3%83%AD%E3%82%B0%E3%82%A4%E3%83%B3?redirect=/dashboard/api-keys) [npm CLI](https://www.npmjs.com/package/@singlefax/cli) [OpenAPI](https://singlefax.com/openapi.json)

## CLI

`npx @singlefax/cli send FILE --to +E164`。Word・Excel・PDF・画像は元の形式で渡し、先にPDFに変換しないでください。

## REST

`POST /api/v1/faxes`にBearer `sf_live_…`と`Idempotency-Key`を指定。

## チャット用MCP

Cursor・Claude・Codex・ChatGPT。APIキーではなくOAuthを使用。 [MCPをインストール](https://singlefax.com/ja/ai%E3%82%A8%E3%83%BC%E3%82%B8%E3%82%A7%E3%83%B3%E3%83%88)。

## クイックスタート

1. [APIキー](https://singlefax.com/ja/%E3%83%AD%E3%82%B0%E3%82%A4%E3%83%B3?redirect=/dashboard/api-keys)でスコープを設定したキーを作成（ `fax:send`、 `fax:read`、 `inbox:read`、 `credits:read`）。
2. 管理画面でクレジットを前払い、または `npx @singlefax/cli credits buy`。
3. 下のCLIで送信するか、 `POST /api/v1/faxes`。

ベースURLは`https://api.singlefax.com`（`https://singlefax.com`も同じパス）。`sf_test_`キーで実送信はできません。キーをブラウザーに置かないでください。

## CLI

Node 20以上。設定：`SINGLEFAX_API_KEY`または`~/.config/singlefax/config.json`。元のファイル（Word、Excel、PowerPoint、PDF、テキスト、画像）を渡してください。先にPDFへ変換しないでください。MCP OAuthやStripe MPP用ではありません。

terminalコピー

```
export SINGLEFAX_API_KEY=sf_live_…

npx @singlefax/cli send ./document.docx --to +14155552671
npx @singlefax/cli send ./document.pdf --to +14155552671 --wait --json
```

quote, status, creditsコピー

```
npx @singlefax/cli quote --to +14155552671 --pages 12
npx @singlefax/cli status <id>
npx @singlefax/cli list
npx @singlefax/cli numbers
npx @singlefax/cli numbers buy
npx @singlefax/cli credits
npx @singlefax/cli credits buy --dollars 20
```

## ファクスを送信

1回のリクエストで、base64形式の文書と宛先を送ります。PDF、Word、Excel、PowerPoint、テキスト、画像に対応。`Idempotency-Key`が必須です。同じキーで異なる本文を再送すると409を返します。

curlJavaScriptPythonGoPHP

terminalコピー

```
PDF_B64="$(base64 < document.pdf | tr -d '\n')"

curl -sS https://api.singlefax.com/api/v1/faxes \
  -H "Authorization: Bearer $SINGLEFAX_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d "{\"to\":\"+14155552671\",\"base64\":\"$PDF_B64\"}"
```

send.mjsコピー

```
import { readFile } from 'node:fs/promises'
import { randomUUID } from 'node:crypto'

const api = 'https://api.singlefax.com'
const key = process.env.SINGLEFAX_API_KEY
const pdf = await readFile('./document.pdf')

const res = await fetch(`${api}/api/v1/faxes`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${key}`,
    'Content-Type': 'application/json',
    'Idempotency-Key': randomUUID(),
  },
  body: JSON.stringify({
    to: '+14155552671',
    base64: pdf.toString('base64'),
  }),
})
console.log(await res.json())
```

send.pyコピー

```
import base64, json, os, urllib.request, uuid
from pathlib import Path

API = "https://api.singlefax.com"
KEY = os.environ["SINGLEFAX_API_KEY"]
pdf = Path("document.pdf").read_bytes()

req = urllib.request.Request(
    f"{API}/api/v1/faxes",
    data=json.dumps({
        "to": "+14155552671",
        "base64": base64.b64encode(pdf).decode(),
    }).encode(),
    headers={
        "Authorization": f"Bearer {KEY}",
        "Content-Type": "application/json",
        "Idempotency-Key": str(uuid.uuid4()),
    },
    method="POST",
)
with urllib.request.urlopen(req) as res:
    print(res.read().decode())
```

send.goコピー

```
package main

import (
	"bytes"
	"encoding/base64"
	"encoding/json"
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	pdf, err := os.ReadFile("document.pdf")
	if err != nil {
		panic(err)
	}
	body, _ := json.Marshal(map[string]string{
		"to":     "+14155552671",
		"base64": base64.StdEncoding.EncodeToString(pdf),
	})
	req, _ := http.NewRequest("POST", "https://api.singlefax.com/api/v1/faxes", bytes.NewReader(body))
	req.Header.Set("Authorization", "Bearer "+os.Getenv("SINGLEFAX_API_KEY"))
	req.Header.Set("Content-Type", "application/json")
	req.Header.Set("Idempotency-Key", "send-document-1")
	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()
	out, _ := io.ReadAll(res.Body)
	fmt.Println(res.Status, string(out))
}
```

send.phpコピー

```
<?php
$pdf = base64_encode(file_get_contents('document.pdf'));
$ch = curl_init('https://api.singlefax.com/api/v1/faxes');
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => [
    'Authorization: Bearer ' . getenv('SINGLEFAX_API_KEY'),
    'Content-Type: application/json',
    'Idempotency-Key: send-document-1',
  ],
  CURLOPT_POSTFIELDS => json_encode(['to' => '+14155552671', 'base64' => $pdf]),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
```

## 大きいファイルはアップロードして送信

CLIはアップロードトークンを作成し、バイト列をPUTしてから`uploadToken`で送信します。PUTにもBearerトークンが必要です。大きなファイルをJSONに詰め込むより、この方法を推奨します。先にPDFへ変換しないでください。

curlJavaScriptPythonGoPHP

terminalコピー

```
UPLOAD=$(curl -sS https://api.singlefax.com/api/v1/uploads \
  -H "Authorization: Bearer $SINGLEFAX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"contentType":"application/pdf"}')

UPLOAD_URL=$(printf '%s' "$UPLOAD" | python3 -c "import json,sys; print(json.load(sys.stdin)['uploadUrl'])")
TOKEN=$(printf '%s' "$UPLOAD" | python3 -c "import json,sys; print(json.load(sys.stdin)['uploadToken'])")

curl -sS -X PUT "$UPLOAD_URL" \
  -H "Authorization: Bearer $SINGLEFAX_API_KEY" \
  -H "Content-Type: application/pdf" \
  --data-binary @document.pdf

curl -sS https://api.singlefax.com/api/v1/faxes \
  -H "Authorization: Bearer $SINGLEFAX_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d "{\"to\":\"+14155552671\",\"uploadToken\":\"$TOKEN\"}"
```

upload-send.mjsコピー

```
import { readFile } from 'node:fs/promises'
import { randomUUID } from 'node:crypto'

const api = 'https://api.singlefax.com'
const key = process.env.SINGLEFAX_API_KEY
const auth = { Authorization: `Bearer ${key}` }
const pdf = await readFile('./document.pdf')

const upload = await fetch(`${api}/api/v1/uploads`, {
  method: 'POST',
  headers: { ...auth, 'Content-Type': 'application/json' },
  body: JSON.stringify({ contentType: 'application/pdf', maxBytes: pdf.byteLength }),
}).then((r) => r.json())

await fetch(upload.uploadUrl, {
  method: 'PUT',
  headers: { ...auth, 'Content-Type': 'application/pdf' },
  body: pdf,
})

const fax = await fetch(`${api}/api/v1/faxes`, {
  method: 'POST',
  headers: {
    ...auth,
    'Content-Type': 'application/json',
    'Idempotency-Key': randomUUID(),
  },
  body: JSON.stringify({ to: '+14155552671', uploadToken: upload.uploadToken }),
}).then((r) => r.json())

console.log(fax)
```

upload\_send.pyコピー

```
import json, os, urllib.request, uuid
from pathlib import Path

API = "https://api.singlefax.com"
KEY = os.environ["SINGLEFAX_API_KEY"]
pdf = Path("document.pdf").read_bytes()

def request(url, *, data=None, method="GET", headers=None, content_type="application/json"):
    req = urllib.request.Request(
        url,
        data=data,
        headers={
            "Authorization": f"Bearer {KEY}",
            "Content-Type": content_type,
            **(headers or {}),
        },
        method=method,
    )
    with urllib.request.urlopen(req) as res:
        return res.read()

upload = json.loads(request(
    f"{API}/api/v1/uploads",
    method="POST",
    data=json.dumps({"contentType": "application/pdf", "maxBytes": len(pdf)}).encode(),
))
request(upload["uploadUrl"], method="PUT", data=pdf, content_type="application/pdf")
fax = request(
    f"{API}/api/v1/faxes",
    method="POST",
    data=json.dumps({"to": "+14155552671", "uploadToken": upload["uploadToken"]}).encode(),
    headers={"Idempotency-Key": str(uuid.uuid4())},
)
print(fax.decode())
```

upload\_send.goコピー

```
package main

import (
	"bytes"
	"encoding/json"
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	key := os.Getenv("SINGLEFAX_API_KEY")
	pdf, err := os.ReadFile("document.pdf")
	if err != nil {
		panic(err)
	}

	upBody, _ := json.Marshal(map[string]any{"contentType": "application/pdf", "maxBytes": len(pdf)})
	upReq, _ := http.NewRequest("POST", "https://api.singlefax.com/api/v1/uploads", bytes.NewReader(upBody))
	upReq.Header.Set("Authorization", "Bearer "+key)
	upReq.Header.Set("Content-Type", "application/json")
	upRes, err := http.DefaultClient.Do(upReq)
	if err != nil {
		panic(err)
	}
	defer upRes.Body.Close()
	var upload struct {
		UploadToken string `json:"uploadToken"`
		UploadUrl   string `json:"uploadUrl"`
	}
	json.NewDecoder(upRes.Body).Decode(&upload)

	put, _ := http.NewRequest("PUT", upload.UploadUrl, bytes.NewReader(pdf))
	put.Header.Set("Authorization", "Bearer "+key)
	put.Header.Set("Content-Type", "application/pdf")
	if _, err := http.DefaultClient.Do(put); err != nil {
		panic(err)
	}

	sendBody, _ := json.Marshal(map[string]string{"to": "+14155552671", "uploadToken": upload.UploadToken})
	faxReq, _ := http.NewRequest("POST", "https://api.singlefax.com/api/v1/faxes", bytes.NewReader(sendBody))
	faxReq.Header.Set("Authorization", "Bearer "+key)
	faxReq.Header.Set("Content-Type", "application/json")
	faxReq.Header.Set("Idempotency-Key", "send-document-1")
	faxRes, err := http.DefaultClient.Do(faxReq)
	if err != nil {
		panic(err)
	}
	defer faxRes.Body.Close()
	out, _ := io.ReadAll(faxRes.Body)
	fmt.Println(string(out))
}
```

upload-send.phpコピー

```
<?php
$key = getenv('SINGLEFAX_API_KEY');
$pdf = file_get_contents('document.pdf');

$ch = curl_init('https://api.singlefax.com/api/v1/uploads');
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => [
    "Authorization: Bearer $key",
    'Content-Type: application/json',
  ],
  CURLOPT_POSTFIELDS => json_encode(['contentType' => 'application/pdf', 'maxBytes' => strlen($pdf)]),
  CURLOPT_RETURNTRANSFER => true,
]);
$upload = json_decode(curl_exec($ch), true);

$ch = curl_init($upload['uploadUrl']);
curl_setopt_array($ch, [
  CURLOPT_CUSTOMREQUEST => 'PUT',
  CURLOPT_HTTPHEADER => [
    "Authorization: Bearer $key",
    'Content-Type: application/pdf',
  ],
  CURLOPT_POSTFIELDS => $pdf,
  CURLOPT_RETURNTRANSFER => true,
]);
curl_exec($ch);

$ch = curl_init('https://api.singlefax.com/api/v1/faxes');
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => [
    "Authorization: Bearer $key",
    'Content-Type: application/json',
    'Idempotency-Key: send-document-1',
  ],
  CURLOPT_POSTFIELDS => json_encode(['to' => '+14155552671', 'uploadToken' => $upload['uploadToken']]),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
```

## REST APIリファレンス

| 方法 | パス | 認証 | 備考 |
| --- | --- | --- | --- |
| POST | /api/v1/faxes | fax:send | Idempotency-Key required. JSON { to, base64 \| uploadToken } or multipart file. |
| GET | /api/v1/faxes | fax:read | List. Query limit, offset. |
| GET | /api/v1/faxes/{id} | fax:read | Status including latest delivery attempt. |
| POST | /api/v1/faxes/quote | fax:read | { to, pages? \| base64? }, quote without charging. |
| POST | /api/v1/uploads | fax:send | Returns uploadToken + uploadUrl. PUT the bytes, then send with uploadToken. |
| GET | /api/v1/credits | credits:read | Prepaid balance. |
| POST | /api/v1/credits/checkout | credits:checkout | { amountCents }. Stripe Checkout for a credit pack. |
| GET | /api/v1/received-faxes | inbox:read | Inbound inbox list. Query limit, cursor. No transcripts in list. |
| GET | /api/v1/received-faxes/{id} | inbox:read | Inbound detail with bounded transcript slice. HIPAA Secure content is omitted. |
| GET | /api/v1/numbers | fax:read | Active fax numbers. |
| POST | /api/v1/numbers | credits:checkout | { sku?, country?, state? }, default inbound\_30day. Returns checkoutUrl + reserved phoneNumber. |
| GET | /api/v1/skus | public | Catalog. Same shape as MCP list\_skus. |
| POST | /api/v1/checkout | credits:checkout | { sku }, credit\_pack, inbound, subscriptions, lifetime. |

完全なスキーマ： [openapi.json](https://singlefax.com/openapi.json)。互換性を損なう変更： [バージョン管理ポリシー](https://singlefax.com/ja/%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3%E7%AE%A1%E7%90%86)（Sunsetは90日後）。このクレジットAPIでのHTTP 402は残高不足です。MPPの402は`POST /api/v1/machine/faxes`のみです。

## Webhook

署名付きの`fax.queued`、`fax.delivered`、`fax.failed`、`credits.low_balance`イベント。生の本文に対して`SingleFax-Signature`（`t=,v1=`）を検証してください。`timestamp.payload`のHMAC-SHA256です。 [管理画面のWebhook](https://singlefax.com/ja/%E3%83%AD%E3%82%B0%E3%82%A4%E3%83%B3?redirect=/dashboard/webhooks)でエンドポイントを追加します。

JavaScriptPython

verify.mjsコピー

```
import { createHmac, timingSafeEqual } from 'node:crypto'

export function verifySingleFaxSignature(rawBody, signatureHeader, secret, toleranceSeconds = 300) {
  const parts = Object.fromEntries(signatureHeader.split(',').map((kv) => kv.split('=')))
  const timestamp = Number(parts.t)
  if (!Number.isFinite(timestamp) || !parts.v1) return false
  if (Math.abs(Math.floor(Date.now() / 1000) - timestamp) > toleranceSeconds) return false
  const expected = createHmac('sha256', secret).update(`${timestamp}.${rawBody}`).digest('hex')
  const a = Buffer.from(parts.v1)
  const b = Buffer.from(expected)
  return a.length === b.length && timingSafeEqual(a, b)
}
```

verify.pyコピー

```
import hashlib, hmac, time

def verify_singlefax_signature(payload: bytes, header: str, secret: str, tolerance: int = 300) -> bool:
    parts = dict(p.split("=", 1) for p in header.split(","))
    timestamp = int(parts["t"])
    if abs(int(time.time()) - timestamp) > tolerance:
        return False
    expected = hmac.new(
        secret.encode(),
        f"{timestamp}.".encode() + payload,
        hashlib.sha256,
    ).hexdigest()
    return hmac.compare_digest(expected, parts["v1"])
```

## 制約事項

- APIキーはサーバーで管理し、 `sf_live_`をウェブページに埋め込まないでください。
- PHIは送らないでください。対象機関は、電子BAA付きのウェブサイトのHIPAA Secureモードを利用してください。
- 有効なE.164形式の宛先。PDF、Word、Excel、PowerPoint、RTF、テキスト、画像に対応します。MIMEタイプはOpenAPIをご覧ください。先にPDF変換しないでください。送信前に当社で変換します。
- チャット用MCPとStripe MPP： [/agents](https://singlefax.com/ja/ai%E3%82%A8%E3%83%BC%E3%82%B8%E3%82%A7%E3%83%B3%E3%83%88)、 [mpp.md](https://singlefax.com/mpp.md)、 [MPPと即時決済の違い](https://singlefax.com/blog/stripe-machine-payments-protocol)。

## よくあるご質問

CLI、REST、MCPの選び方

送信前にクレジットが必要ですか？

sf\_test\_キーを使えますか？

公式SDKはありますか？

HIPAAに対応していますか？

## 機械可読ドキュメント

クローラー・コーディングエージェント向けのMarkdownとOpenAPI。内容はこのページと同じです。

[認証ガイド](https://singlefax.com/ja/%E8%AA%8D%E8%A8%BC) [OpenAPIリファレンス](https://singlefax.com/ja/openapi) [developers.md](https://singlefax.com/developers.md) [openapi.json](https://singlefax.com/openapi.json) [auth.md](https://singlefax.com/auth.md) [llms.txt](https://singlefax.com/llms.txt) [MCP・エージェント](https://singlefax.com/ja/ai%E3%82%A8%E3%83%BC%E3%82%B8%E3%82%A7%E3%83%B3%E3%83%88) [MPPと即時決済の違い](https://singlefax.com/blog/stripe-machine-payments-protocol) [versioning.md](https://singlefax.com/versioning.md)

[singlefax](https://singlefax.com/ja)

必要なときに、送信も受信も。

[![Google Playで入手](https://singlefax.com/images/google-play-badge.png)](https://play.google.com/store/apps/details?id=com.monocube.singlefax) [Chromeに追加](https://chromewebstore.google.com/detail/singlefax-fax-a-document/ojpmpilgkmjcfebhpkdmmjlkbcifkkej) [LinkedInのSingleFax](https://www.linkedin.com/company/singlefax/) [FacebookのSingleFax](https://www.facebook.com/singlefax) [InstagramのSingleFax](https://www.instagram.com/singlefax.app) [ThreadsのSingleFax](https://www.threads.com/@singlefax.app) [YouTubeのSingleFax](https://www.youtube.com/@singlefax) [GitHubのSingleFax](https://github.com/SingleFax)

## ファクスサービス

- [ファクスを送信](https://singlefax.com/ja/%E3%83%95%E3%82%A1%E3%82%AF%E3%82%B9%E9%80%81%E4%BF%A1?type=send)
- [ファクスを受信](https://singlefax.com/ja/%E3%83%95%E3%82%A1%E3%82%AF%E3%82%B9%E9%80%81%E4%BF%A1?type=receive)
- [24時間の無料番号](https://singlefax.com/ja/%E7%84%A1%E6%96%99%E3%83%95%E3%82%A1%E3%82%AF%E3%82%B9%E7%95%AA%E5%8F%B7)
- [無期限の番号](https://singlefax.com/ja/%E7%84%A1%E6%9C%9F%E9%99%90%E3%83%95%E3%82%A1%E3%82%AF%E3%82%B9%E7%95%AA%E5%8F%B7)
- [番号ポータビリティ](https://singlefax.com/ja/%E7%95%AA%E5%8F%B7%E3%83%9D%E3%83%BC%E3%82%BF%E3%83%93%E3%83%AA%E3%83%86%E3%82%A3)
- [ファクステスト](https://singlefax.com/ja/%E3%83%86%E3%82%B9%E3%83%88%E7%94%A8%E3%83%95%E3%82%A1%E3%82%AF%E3%82%B9%E7%95%AA%E5%8F%B7)
- [法人向けプラン](https://singlefax.com/ja/%E6%B3%95%E4%BA%BA%E5%90%91%E3%81%91)
- [HIPAA Secure](https://singlefax.com/ja/hipaa%E3%83%95%E3%82%A1%E3%82%AF%E3%82%B9)
- [インターネットFAX](https://singlefax.com/ja/%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%BC%E3%83%8D%E3%83%83%E3%83%88fax)
- [メールでファクス送信](https://singlefax.com/ja/%E3%83%A1%E3%83%BC%E3%83%AB%E3%81%A7%E3%83%95%E3%82%A1%E3%82%AF%E3%82%B9)
- [WhatsAppでファクス](https://singlefax.com/ja/whatsapp%E3%83%95%E3%82%A1%E3%82%AF%E3%82%B9)

## IRSへの申告

- [IRS申告一覧](https://singlefax.com/ja/irs%E7%94%B3%E5%91%8A)
- [EIN · フォームSS-4](https://singlefax.com/ja/ein%E7%94%B3%E8%AB%8B)
- [フォーム5472](https://singlefax.com/ja/%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A05472%E6%8F%90%E5%87%BA)
- [フォーム7004](https://singlefax.com/ja/%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A07004%E6%8F%90%E5%87%BA)
- [フォーム2553](https://singlefax.com/ja/%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A02553%E6%8F%90%E5%87%BA)
- [フォーム2848](https://singlefax.com/ja/%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A02848%E6%8F%90%E5%87%BA)
- [フォーム4506-T](https://singlefax.com/ja/%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A04506-t%E6%8F%90%E5%87%BA)
- [フォーム8821](https://singlefax.com/ja/%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A08821%E6%8F%90%E5%87%BA)
- [フォーム8802](https://singlefax.com/ja/%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A08802%E6%8F%90%E5%87%BA)
- [フォーム8655](https://singlefax.com/ja/%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A08655%E6%8F%90%E5%87%BA)
- [フォーム3911](https://singlefax.com/ja/%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A03911%E6%8F%90%E5%87%BA)
- [フォーム8233](https://singlefax.com/ja/%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A08233%E6%8F%90%E5%87%BA)
- [NY POA-1](https://singlefax.com/ja/%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A0ny-poa-1%E6%8F%90%E5%87%BA)

## ツール・資料

- [無料のファクスツール](https://singlefax.com/ja/%E7%84%A1%E6%96%99%E3%83%95%E3%82%A1%E3%82%AF%E3%82%B9%E3%83%84%E3%83%BC%E3%83%AB)
- [ファクス用PDFを準備](https://singlefax.com/ja/%E3%83%95%E3%82%A1%E3%82%AF%E3%82%B9%E6%BA%96%E5%82%99)
- [印刷用テストページ](https://singlefax.com/ja/%E3%83%95%E3%82%A1%E3%82%AF%E3%82%B9%E3%83%86%E3%82%B9%E3%83%88%E3%83%9A%E3%83%BC%E3%82%B8)
- [ファクス送付状](https://singlefax.com/ja/%E3%83%95%E3%82%A1%E3%82%AF%E3%82%B9%E9%80%81%E4%BB%98%E7%8A%B6)
- [モバイルアプリ](https://singlefax.com/ja/%E3%83%A2%E3%83%90%E3%82%A4%E3%83%AB%E3%82%A2%E3%83%97%E3%83%AA)
- [Chrome拡張機能](https://singlefax.com/ja/chrome%E6%8B%A1%E5%BC%B5%E6%A9%9F%E8%83%BD)
- [開発者向け](https://singlefax.com/ja/%E9%96%8B%E7%99%BA%E8%80%85%E5%90%91%E3%81%91)
- [AIファクスエージェント](https://singlefax.com/ja/ai%E3%82%A8%E3%83%BC%E3%82%B8%E3%82%A7%E3%83%B3%E3%83%88)
- [バージョン管理](https://singlefax.com/ja/%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3%E7%AE%A1%E7%90%86)
- [米国下院のファクス番号一覧](https://singlefax.com/ja/%E3%83%95%E3%82%A1%E3%82%AF%E3%82%B9%E7%95%AA%E5%8F%B7%E4%B8%80%E8%A6%A7/%E7%B1%B3%E5%9B%BD%E4%B8%8B%E9%99%A2)
- [米国上院のファクス番号一覧](https://singlefax.com/ja/%E3%83%95%E3%82%A1%E3%82%AF%E3%82%B9%E7%95%AA%E5%8F%B7%E4%B8%80%E8%A6%A7/%E7%B1%B3%E5%9B%BD%E4%B8%8A%E9%99%A2)
- [米国州知事のファクス番号一覧](https://singlefax.com/ja/%E3%83%95%E3%82%A1%E3%82%AF%E3%82%B9%E7%95%AA%E5%8F%B7%E4%B8%80%E8%A6%A7/%E7%B1%B3%E5%9B%BD%E5%B7%9E%E7%9F%A5%E4%BA%8B)

## SingleFax

- [料金](https://singlefax.com/ja/%E6%96%99%E9%87%91)
- [ブログ](https://singlefax.com/ja/blog)
- [会社情報](https://singlefax.com/ja/%E4%BC%9A%E7%A4%BE%E6%83%85%E5%A0%B1)
- [お問い合わせ](https://singlefax.com/ja/%E3%81%8A%E5%95%8F%E3%81%84%E5%90%88%E3%82%8F%E3%81%9B)
- [サポート](https://singlefax.com/ja/%E3%82%B5%E3%83%9D%E3%83%BC%E3%83%88)

© 2026 SingleFax

[プライバシー](https://singlefax.com/ja/%E3%83%97%E3%83%A9%E3%82%A4%E3%83%90%E3%82%B7%E3%83%BC%E3%83%9D%E3%83%AA%E3%82%B7%E3%83%BC) [利用規約](https://singlefax.com/ja/%E5%88%A9%E7%94%A8%E8%A6%8F%E7%B4%84) [返金](https://singlefax.com/ja/%E8%BF%94%E9%87%91%E3%83%9D%E3%83%AA%E3%82%B7%E3%83%BC) [不正利用を報告](https://singlefax.com/ja/%E4%B8%8D%E6%AD%A3%E5%88%A9%E7%94%A8%E3%81%AE%E5%A0%B1%E5%91%8A)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://singlefax.com/ja#website","@type":"WebSite","description":"SingleFaxなら、スマートフォンやパソコンから必要なときにファックスを送受信できます。登録やアカウントの作成は不要です。","inLanguage":"ja","name":"SingleFax – 必要なときだけファックスを送受信","url":"https://singlefax.com/ja","translationOfWork":{"@id":"https://singlefax.com/#website"}},{"@id":"https://singlefax.com/ja/%E9%96%8B%E7%99%BA%E8%80%85%E5%90%91%E3%81%91#webpage","description":"SingleFaxのREST APIとnpm CLIでバックエンドからFAX送信。前払いクレジット、APIキー、OpenAPI、curl・Node・Python・Go・PHPのサンプルを提供します。","name":"APIドキュメントとCLI：Node・Python・Go・PHP","url":"https://singlefax.com/ja/%E9%96%8B%E7%99%BA%E8%80%85%E5%90%91%E3%81%91","@type":["WebPage","FAQPage"],"breadcrumb":{"@id":"https://singlefax.com/ja/%E9%96%8B%E7%99%BA%E8%80%85%E5%90%91%E3%81%91#breadcrumb"},"isPartOf":{"@id":"https://singlefax.com/ja#website"},"mainEntity":[{"@id":"https://singlefax.com/ja/%E9%96%8B%E7%99%BA%E8%80%85%E5%90%91%E3%81%91#/schema/question/1"},{"@id":"https://singlefax.com/ja/%E9%96%8B%E7%99%BA%E8%80%85%E5%90%91%E3%81%91#/schema/question/2"},{"@id":"https://singlefax.com/ja/%E9%96%8B%E7%99%BA%E8%80%85%E5%90%91%E3%81%91#/schema/question/3"},{"@id":"https://singlefax.com/ja/%E9%96%8B%E7%99%BA%E8%80%85%E5%90%91%E3%81%91#/schema/question/4"},{"@id":"https://singlefax.com/ja/%E9%96%8B%E7%99%BA%E8%80%85%E5%90%91%E3%81%91#/schema/question/5"}],"potentialAction":[{"@type":"ReadAction","target":["https://singlefax.com/ja/%E9%96%8B%E7%99%BA%E8%80%85%E5%90%91%E3%81%91"]}]},{"@id":"https://singlefax.com/ja/%E9%96%8B%E7%99%BA%E8%80%85%E5%90%91%E3%81%91#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"ホーム","item":"https://singlefax.com/ja","position":1},{"@type":"ListItem","name":"開発者向け","item":"https://singlefax.com/ja/%E9%96%8B%E7%99%BA%E8%80%85%E5%90%91%E3%81%91","position":2}]},{"@id":"https://singlefax.com/ja/%E9%96%8B%E7%99%BA%E8%80%85%E5%90%91%E3%81%91#/schema/question/1","@type":"Question","inLanguage":"ja","name":"CLI、REST、MCPの選び方","acceptedAnswer":{"@type":"Answer","text":"独自のバックエンドには、APIキーと前払いクレジットを使うnpm CLIまたはRESTを利用してください。Word、Excel、PDF、画像の元ファイルを渡し、先にPDF変換しないでください。Cursor、Claude、Codex、ChatGPTなどのチャットアプリは/agentsのMCPを使います。Stripe Shared Payment TokenやTempo USDCウォレットを持つ自律エージェントはMPP（HTTP 402）を使います。/agentsと/blog/stripe-machine-payments-protocolをご覧ください。"}},{"@id":"https://singlefax.com/ja/%E9%96%8B%E7%99%BA%E8%80%85%E5%90%91%E3%81%91#/schema/question/2","@type":"Question","inLanguage":"ja","name":"送信前にクレジットが必要ですか？","acceptedAnswer":{"@type":"Answer","text":"APIキーによる送信なら可能です。キーを作成し、ダッシュボードまたはPOST /api/v1/credits/checkoutでクレジットパックを購入して送信します。/api/v1/faxesのHTTP 402はクレジット不足で、MPPチャレンジではありません。"}},{"@id":"https://singlefax.com/ja/%E9%96%8B%E7%99%BA%E8%80%85%E5%90%91%E3%81%91#/schema/question/3","@type":"Question","inLanguage":"ja","name":"sf_test_キーを使えますか？","acceptedAnswer":{"@type":"Answer","text":"テストキーで実際のFAXは送信できません。送達にはsf_live_を使ってください。キーはサーバー側に保管し、ブラウザやモバイルアプリに含めないでください。"}},{"@id":"https://singlefax.com/ja/%E9%96%8B%E7%99%BA%E8%80%85%E5%90%91%E3%81%91#/schema/question/4","@type":"Question","inLanguage":"ja","name":"公式SDKはありますか？","acceptedAnswer":{"@type":"Answer","text":"公式パッケージはnpm CLIの@singlefax/cliです。Python、Go、PHPの例は標準HTTPクライアントを使います。個別のPython、Go、Ruby SDKはありません。/openapi.jsonをOpenAPIツールで使い、クライアントを生成できます。"}},{"@id":"https://singlefax.com/ja/%E9%96%8B%E7%99%BA%E8%80%85%E5%90%91%E3%81%91#/schema/question/5","@type":"Question","inLanguage":"ja","name":"HIPAAに対応していますか？","acceptedAnswer":{"@type":"Answer","text":"いいえ。公開API、CLI、MCP、MPPでPHIを送信しないでください。HIPAA対象事業者は、ウェブサイトのHIPAA Secureモードと電子BAAを利用してください。"}}]}
```