POST/desk/api/v2/tickets/{ticketId}/messages/tools.json

Apply AI tools to a ticket message draft.

Path Params

  • Name
    ticketId
    Type
    integer
    required
    Description

Body Params

    • Name
      action
      Type
      string

    Responses

    • Code
      200
      Type
      object
      Schema
      Description
      200 OK
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
      Validator hold the validation errors. Typically you shouldn't create this directly but use the New() function.
    • Code
      404
      Type
      object
      Schema
      Description
      404 Not Found
      Error represents an occurrence of an error in the API.

    Examples

    200 OK

    LLMMessageActionResponseAPIBody
    {
      "jobId": "string"
    }