Embed document from reusable template
documentedEmbed a cloned document from a reusable template for signing in an embedded UI.
POST /public/v2/reusable_templates/{id}/embed_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}}/embed_document" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name":"{{$document_name}}","api_embed_width":"{{$embed_width}}","api_embed_height":"{{$embed_height}}","message":"{{$message}}","expires_in":{{$expires_in}},"roles":[{"name":"{{$role_name}}","signer_name":"{{$signer_name}}","signer_email":"{{$signer_email}}"}],"reusable_template":{"roles":[{"name":"{{$role_name}}","signer_name":"{{$signer_name}}","signer_email":"{{$signer_email}}"}]} ,"access_token":"{{OAUTH2_ACCESS_TOKEN}}"}'