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