HubSpot

Get HubSpot Ticket Status

Checks the subject, stage and priority of a ticket by ID.

Unverified

What the model is told

Get the subject, pipeline stage and priority of a HubSpot ticket from its record ID. Only use an ID the customer has given you. The stage is an internal ID, so describe it to the customer in plain terms.

Request

GEThttps://api.hubapi.com/crm/v3/objects/tickets/{{ticketId}}?properties=subject,hs_pipeline_stage,hs_ticket_priority

Headers

  • AuthorizationBearer YOUR_HUBSPOT_PRIVATE_APP_TOKEN

Parameters

  • ticketId stringThe HubSpot ticket record ID.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "809aedba-1556-481d-8cf2-36e2276af9a0",
    "type": "HTTP_REQUEST",
    "label": "Get HubSpot Ticket Status",
    "name": "get_hubspot_ticket_status",
    "customName": false,
    "description": "Get the subject, pipeline stage and priority of a HubSpot ticket from its record ID. Only use an ID the customer has given you. The stage is an internal ID, so describe it to the customer in plain terms.",
    "parameters": [
      {
        "name": "ticketId",
        "type": "string",
        "description": "The HubSpot ticket record ID."
      }
    ],
    "config": {
      "endpoint": {
        "method": "GET",
        "url": "https://api.hubapi.com/crm/v3/objects/tickets/{{ticketId}}?properties=subject,hs_pipeline_stage,hs_ticket_priority"
      },
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer YOUR_HUBSPOT_PRIVATE_APP_TOKEN"
        }
      ],
      "body": null,
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.