Send invoice
documentedSend an invoice via email.
POST /api/v2/invoices/{id}/messagesInvoicesno 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://{{$domain}}.clientary.com/api/v2/invoices/{{$id}}/messages" \
-X POST \
-u "{{CLIENTARY_API_KEY}}:{{CLIENTARY_API_KEY}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"recipients": ["{{$recipient1}}", "{{$recipient2}}"], "subject": "{{$subject}}", "message": "{{$message}}", "send_copy": {{$send_copy}}, "attach_pdf": {{$attach_pdf}} }'