Non-disclosure agreement template

A mutual non-disclosure agreement (NDA) with definition, confidentiality, purpose limitation, return and term clauses flowing in from Markdown, ending with the execution date and name-and-seal boxes. The clauses are generic examples to be adapted to each deal.

  • A4 portrait
  • 10 merge fields
  • Issued as PDF
  • Company names, people, addresses and amounts in the sample are fictional.
  • Clauses and fields are general examples. Review the content against applicable laws and your own terms.
  • The sample layout is in Japanese. You can change any text in the template editor.
Sample of the non-disclosure agreement template (first page of a PDF issued with DocRelay)

Use cases

  • NDAs before business negotiations or partnerships
  • Issuing NDAs when onboarding a new partner
  • Contract PDFs to upload to an e-signature service

Merge fields

The data fields you send to the API. Fields inside an array are shown as array.field.

FieldDescription
titleDocument title (heading and running header)
document_numberContract number
bodyPreamble and clauses in Markdown (article headings, paragraphs, lists)
signed_atDate of execution (YYYY-MM-DD)
party_a.addressParty A (party) address
party_a.nameParty A (party) name
party_a.representativeParty A representative
party_b.addressParty B (party) address
party_b.nameParty B (party) name
party_b.representativeParty B representative

How to use it

  1. In the dashboard, choose Create template, select "Start from a template" and pick "Non-disclosure agreement". The layout and sample data are copied into your project.
  2. Edit the company name, logo and field positions in the template editor to match your own format.
  3. Send the template name and data to POST /v1/renders to issue a PDF.

With a test API key (sk_test_) you can issue documents from the draft. Publish a version before issuing with a production API key. From an AI assistant, specify the same template in the from of the MCP create_template tool.

Create and issue via the API

Create a template by setting from to the template ID (nda) in POST /v1/templates, then send the template name and data to POST /v1/renders.

1. Create a template from the ready-made one
curl https://api.docrelay.jp/v1/templates \
  -H "Authorization: Bearer $DOCRELAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Non-disclosure agreement", "from": "nda" }'
2. Send data and issue a PDF
curl https://api.docrelay.jp/v1/renders \
  -H "Authorization: Bearer $DOCRELAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d @nda.json \
  -o nda.pdf
nda.json (sample data; arrays show the first item and long text is shortened)
{
  "template": "Non-disclosure agreement",
  "format": "pdf",
  "data": {
    "title": "秘密保持契約書",
    "document_number": "契約番号 N-2026-0088",
    "signed_at": "2026-11-02",
    "party_a": {
      "address": "東京都千代田区見本町1-2-3",
      "name": "サンプル商事株式会社",
      "representative": "代表取締役 見本 太郎"
    },
    "party_b": {
      "address": "大阪府大阪市北区例示町4-5-6",
      "name": "株式会社見本製作所",
      "representative": "代表取締役 例示 次郎"
    },
    "body": "サンプル商事株式会社(以下「甲」という。)と株式会社見本製作所(以下「乙」という。)は、甲乙間の業務提携の検討(以下「本…"
  }
}

API reference

Early access is open

We are preparing for launch. Pre-register and we will notify you when the service becomes available.