Skip to main content

Create a ticket

POST 

/v3/tickets

Create a ticket

Request​

Body

    requester_id number

    Ticket requester's contact id

    email string

    Ticket requester's contact email

    phone string

    Ticket requester's contact phone

    mobile string

    Ticket requester's contact mobile

    unique_id string

    Possible values: <= 255 characters

    Ticket requester's contact unique id. Used to map the requester when the account keys contacts by unique id.

    subject stringrequired

    Possible values: <= 200 characters

    Ticket subject

    description string

    Ticket description. Supports mentioning contacts using @email format.

    attachments

    binary

    hapi

    object

    required

    filename stringrequired

    Possible values: <= 255 characters

    headers

    object

    required

    content-type stringrequired

    Possible values: <= 255 characters

    _data binaryrequired

    Possible values: <= 15728640 characters

    priority numberrequired

    Ticket priority

    status numberrequired

    Ticket status

    template_id number

    Ticket template id

    parent_ticket_id number

    The ID of the parent ticket to which this ticket is related

    child_ticket_ids number[]

    An array of ticket IDs representing the child tickets associated with this ticket

    source number

    Ticket source

    submission_id number

    Response ID

    nps_submission_id number

    NPS Response ID

    assignee_id number

    Ticket agent's user id

    team_id number

    Ticket team's id

    custom_fields object
    update_on_submission_change boolean

    Update the existing ticket using the submission ID.

Responses​

Successful

Schema

    data

    object

    id number

    Ticket id

    requester object
    subject string

    Possible values: <= 200 characters

    Ticket subject

    description string

    Ticket description

    description_html string

    Ticket description

    priority object
    status object
    template_id number

    Ticket template id

    custom_fields object
    source object
    agent object
    team object
    created_at date
    updated_at date
    deleted_at date
    first_response_due date
    resolution_due date
Loading...