Add reply by contact
documentedAdds a reply to a ticket by contact and optionally emails the user.
POST api/support_ticket/{ticketId}/reply?contactId={contactId}&sendEmail={sendEmail}Replyno 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.cayzu.com/api/support_ticket/{{$ticketId}}/reply?contactId={{contactId}}&sendEmail={{sendEmail}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"body": "{{$body}}", "date_created": "{{$date_created}}"}'