> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useparagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Ticket



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#SERVICENOW_UPDATE_TICKET
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#SERVICENOW_UPDATE_TICKET:
    post:
      summary: Update Ticket
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: SERVICENOW_UPDATE_TICKET
                parameters:
                  type: object
                  properties:
                    ticketId:
                      type: string
                      description: >-
                        Ticket ID : Specify the sys_id ID of the ticket to
                        fetch. (example: "9d385017c611228701d22104cc95c371")
                    ticketType:
                      type: string
                      description: 'Ticket Type : Specify the type of the ticket to create.'
                      enum:
                        - incident
                        - sn_customerservice_case
                    description:
                      type: string
                      description: >-
                        Full Description : Specify a long-form description of
                        the issue.
                    severity:
                      type: string
                      description: >-
                        Severity : Specify the severity of the issue described
                        by the trouble ticket. Maps to the Priority field.
                      enum:
                        - 1
                        - 2
                        - 3
                        - 4
                        - 5
                    shortDescription:
                      type: string
                      description: >-
                        Short Description : Specify a one-line description of
                        the issue.
                    status:
                      type: string
                      description: >-
                        Status : Specify the current status of the ticket. Maps
                        to the State field. You may provide the choice label or
                        value. (example: "New")
                    channelName:
                      type: string
                      description: >-
                        Channel Name : Specify the name of the contact method.
                        (example: "Virtual Agent")
                    note:
                      type: object
                      description: >-
                        Notes : Specify a list of work notes and comments to add
                        to the ticket.See the docs
                        (https://docs.servicenow.com/bundle/paris-application-development/page/integrate/inbound-rest/concept/trouble-ticket-open-api.html#trouble-ticket-PATCH-trouble_ticket)for
                        available properties for a note object. (example: "

                        [
                          {
                            "text": "Note content",
                            "@type": "work_notes"
                          }
                        ]")
                      properties: {}
                    additionalFields:
                      type: object
                      description: >-
                        Additional Fields : Specify any additional fields that
                        should be created with this work item as JSON. (example:
                        "{
                          "close_code": "Duplicate",
                          "close_notes": "Issue has been resolved successfully."
                        }")
                      properties: {}
                  required:
                    - ticketId
                    - ticketType
                  x-integration: servicenow
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````