Prepare document from reusable template
documentedPrepare a document to be sent from a reusable template.
POST /public/v2/reusable_templates/{id}/prepare_documentReusable templatesno 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.rightsignature.com/public/v2/reusable_templates/{{$id}}/prepare_document\" \
-X POST \
-H \"Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}\" \
-H \"Content-Type: application/json\" \
-H \"Accept: application/json\" \
-d '{\"name\": \"{{$title}}\", \"shared_with\": [\"{{$shared_with1}}\",\"{{$shared_with2}}\"], \"message\": \"{{$message}}\", \"redirect_url\": \"{{$redirect_url}}\", \"callback_url\": \"{{$callback_url}}\", \"roles\": [ {\"name\": \"{{$role_name}}\", \"signer_name\": \"{{$signer_name}}\", \"signer_email\": \"{{$signer_email}}\"} ], \"expires_in\": {{$expires_in}}, \"pin\": {{$pin}} }'