AI contract generation

Generate contracts with AI, ready to sign

Describe the agreement in plain language and get a contract back, from scratch or from your own template, with recipients and placeholder data filled in. One request, ready for signing.

Contracts in free format

Ask for a contract using your own context and best practices. Optionally name the recipients and their email addresses.

From your templates

Generate a contract from a template by name, and fill in its placeholders with the data you pass in the same message.

Explore your library

Ask for the list of your templates or the placeholders of a template, without building separate API calls.

Preview and contract key

When a contract is created, you get its contract key for the rest of the API and a preview link to check the result.

AI Assistant in your app

Embed the AI Assistant component so your users can draft templates, fix errors and get complex terms explained.

Automations

Connect contract generation and signing to your workflows with webhooks, n8n and Make.

One request, plain language

curl -X POST 'https://aiapi.sendforsign.com/webhook/aiapi' \
     -H 'X-Sendforsign-Key: YOUR_API_KEY' \
     -H 'clientKey: YOUR_CLIENT_KEY' \
     -H 'secretKey: YOUR_SECRET_KEY' \
     -H 'Content-Type: application/json' \
     -d '{
    "message": "Create an NDA between Acme Inc. and John Doe (john@example.com) from my NDA template"
}'

Frequently asked questions

What can I ask the AI API to do?

Create a contract in free format, create one from a template, create and fill one in from a template with recipients and data, list your templates, and list the placeholders of a template.

What do I get back?

A text answer and, when a contract is created, its contract key and a preview URL that is valid for 30 minutes.

Is AI contract generation available now?

Yes, the AI API is available now in open beta.

Can my users use AI inside my product?

Yes. The AiAssistant React component brings the assistant into your app, next to the contract and template editors.