Create Voice Ticket
documentedCreate a voice ticket in Talk.
POST /api/v2/channels/voice/ticketsVoiceno 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://{{ZENDESK_SUBDOMAIN}}.zendesk.com/api/v2/channels/voice/tickets" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"display_to_agent": {{$display_to_agent}}, "ticket": {"via_id": 44, "description": "{{$description}}", "subject": "{{$subject}}", "voice_comment": {"from": "{{$from_number}}", "to": "{{$to_number}}", "recording_url": "{{$recording_url}}", "started_at": "{{$started_at}}", "ended_at": "{{$ended_at}}", "call_duration": {{$call_duration}}, "transcription_text": "{{$transcription_text}}", "location": "{{$location}}"}, "requester_id": {{$requester_id}}, "tags": ["voice-ticket","talk-api","{{$tag1}}","{{$tag2}}"], "priority": "{{$priority}}" } }'
}