Create Ticket or Voicemail Ticket
Allowed For
- Agents
Creating tickets
Introduction
Creating tickets using Talk Partner Edition follows the same conventions as the Create Ticket endpoint. See Create Ticket.
Request parameters
The POST request takes a mandatory ticket object that lists the values to set when the ticket is created. You may also include an optional display_to_agent value such as the ID of the agent that will see the newly created ticket. The display_to_agent is validated before creating the ticket, returning a 422 error if it is invalid.
Tickets created using this endpoint must have a via_id parameter. See the following section for possible values.
Zendesk Talk Integration Via IDs
Tickets created using this endpoint must have one of the following via_id parameters:
| ID | Description |
|---|---|
| 44 | Voicemail |
| 45 | Phone call (inbound) |
| 46 | Phone call (outbound) |
Creating voicemail tickets
Request parameters
The POST request takes a mandatory ticket object that lists the values to set when the ticket is created. The ticket must have a voice_comment with the following values:
| Name | Type | Comment |
|---|---|---|
| from | string | Incoming phone number |
| to | string | Dialed phone number |
| recording_url | string | URL of the recording |
| started_at | date | ISO 8601 timestamp of the call starting time |
| call_duration | integer | Duration in seconds of the call |
| answered_by_id | integer | The agent who answered the call |
| transcription_text | string | Transcription of the call (optional) |
| location | string | Location of the caller (optional) |
Request body
Response
Successful response