Freshservice

Get Freshservice Ticket Status

Looks up one Freshservice ticket by ID and returns its status and priority.

Unverified

What the model is told

Look up a Freshservice ticket using the ticket ID the customer gives you. In the response, status is a number (2 open, 3 pending, 4 resolved, 5 closed) and priority is a number (1 low, 2 medium, 3 high, 4 urgent). Only share the status, priority and subject with the customer.

Request

GEThttps://YOUR_DOMAIN.freshservice.com/api/v2/tickets/{{ticketId}}

Headers

  • AuthorizationBasic YOUR_BASE64_FRESHSERVICE_API_KEY_AND_X

Parameters

  • ticketId stringThe Freshservice ticket ID.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "cafe58e8-c714-460e-978d-06b315cd9cbe",
    "type": "HTTP_REQUEST",
    "label": "Get Freshservice Ticket Status",
    "name": "get_freshservice_ticket_status",
    "customName": false,
    "description": "Look up a Freshservice ticket using the ticket ID the customer gives you. In the response, status is a number (2 open, 3 pending, 4 resolved, 5 closed) and priority is a number (1 low, 2 medium, 3 high, 4 urgent). Only share the status, priority and subject with the customer.",
    "parameters": [
      {
        "name": "ticketId",
        "type": "string",
        "description": "The Freshservice ticket ID."
      }
    ],
    "config": {
      "endpoint": {
        "method": "GET",
        "url": "https://YOUR_DOMAIN.freshservice.com/api/v2/tickets/{{ticketId}}"
      },
      "headers": [
        {
          "name": "Authorization",
          "value": "Basic YOUR_BASE64_FRESHSERVICE_API_KEY_AND_X"
        }
      ],
      "body": null,
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.