Create document
documentedCreate a new GetAccept document (can include pricing tables via the template).
POST /v1/documentsDocumentsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.getaccept.com/v1/documents" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{\"name\": \"{{$title}}\", \"file_url\": \"{{$file_url}}\", \"recipients\": [{\"first_name\": \"{{$recipient_first_name}}\", \"last_name\": \"{{$recipient_last_name}}\", \"email\": \"{{$recipient_email}}\", \"role\": \"signer\"}], \"custom_fields\": [{\"name\": \"Delivery state\", \"value\": \"{{$delivery_state}}\"}], \"is_automatic_sending\": {{$is_automatic_sending}} }'