Non-Disclosure Agreement (NDA)
An agreement sample that combines merge fields — recipient, pledgor, representative and so on — with long clause text. Clone the template into your own workspace, pass the published input JSON to POST /v1/file/sync/single as content.params, and you reproduce the same output as the finished PDF on GitHub.
- What it exercises: Merge fields (recipient, pledgor, representative) / long clause text / Japanese text
- Expected pages: 1
- Supported API version:
v1(POST /v1/file/sync/single) - GitHub: examples/nda
When should I use this NDA sample?
Use it for contract-like documents with long clause text, when you want to confirm that long Japanese passages are typeset as intended. The merge fields are limited to the recipient, pledgor and representative, so you can concentrate on verifying the layout.
1. Clone the template
Clone "秘密保持誓約書" from the template gallery into your own Re:port Flow workspace. After cloning, look up your own design ID.
2. Finished PDF (expected output)
The verified finished PDF is available on GitHub.
3. Input JSON
This is the input data you pass to the API as content.params (view on GitHub).
{
"提出日": "2026-05-15",
"宛先会社名": "株式会社サンプル",
"宛先部署": "営業部",
"宛先担当者": "田中太郎 様",
"誓約者会社名": "株式会社○○",
"誓約者住所": "東京都港区○○1-2-3",
"代表者役職": "代表取締役",
"代表者氏名": "山田 花子",
"業務名": "本件業務",
"秘密保持期間": "3年間",
"合意管轄裁判所": "東京地方裁判所",
"印影画像": ""
}
4. Call the API
Run the request with your appkey and the design ID and version of your clone.
curl -X POST https://api.re-port-flow.com/v1/file/sync/single \
-H "appkey: ak_xxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"designId": "(your cloned design ID)",
"version": 2,
"content": { "fileName": "nda", "params": { /* the input.json above */ } }
}' \
--output output.pdf
curl / Node.js / Python request examples are on GitHub.
The keys in params must match the parameter definition of the template you cloned. You can fetch that definition with Design Parameters (GET /v1/file/design/parameter/{designId}?version=2).