Following these steps: https://developer.zendesk.com/documentation/voice/talk-partner-edition/creating-a-voice-comment-in-ticket, I've ran into a few issues on the "updating" front of a Call Record.
Scenario:
✅ = already working
1. ✅ Someone is calling;
2. ✅ On pickup: create a new Call Record, which creates a new ticket with voice comment;
3. ✅ Display ticket to agent;
4. On hangup: update call record and voice ticket with 'call_ended_at' field;
5. Add the recording to the voice comment.
Attempts:
1. https://developer.zendesk.com/api-reference/voice/talk-partner-edition-api/calls/#update-a-call --> this says: "Updates a voice comment on the ticket linked to the call object."
This never happens. The Api result is always "201", it also returns the updated call record. Though it never shows in the ticket.
2. https://developer.zendesk.com/api-reference/voice/talk-partner-edition-api/calls/#creates-a-voice-comment-on-a-ticket --> this works, after updating the Call Record, but it creates a new voice comment (which we don't want).
I've created a ticket to allow us to review your test examples together.