• Skip to primary navigation
  • Skip to main content
  • Skip to footer
  • Skip to custom navigation
HaloPSA

HaloPSA

  • Features
  • Pricing
  • Integrations
  • Resources
    • Demo On Demand
    • Roadmap
    • ITIL Alignment
    • Guides
    • HaloPSA Academy
    • Onboarding Partners
    • Distributors
  • Compare Us
    • ConnectWise
    • Datto Autotask
  • Solutions
    • I Need To…
      • Run My Business More Effectively

        Find out which customers and services are profitable and gain the confidence to act on this data.

      • Improve My Customer Experience

        Make all interactions as smooth as possible with a fully thought out end to end experience for your customers.

      • Streamline My Sales Process

        Remove unnecessary processes from your sales and account management and let them focus on their customer relationships.

      • Gain Control Of My Projects

        Visualise your workload and forecast your required budgets to ensure you can deliver on your projects.

    • We Are A…
      • Managed Service Provider
      • Telecommunications Provider
      • Cloud Solution Provider
      • Software Company
      • Consultancy Firm
    • Case Studies
      • nGeneration
      • Centrality
      • Commercial Managed IT
  • Start trial
  • Book demo

HaloPSA Guides

Documentation to assist with the setup and configuration of the HaloPSA platform

Guides > Performing Ticket Approvals via API

Performing Ticket Approvals via API


1. Get Ticket Information

First, retrieve the ticket details by making a GET request to:

/api/tickets/{ticket_id}

The response will contain an approvers array. Each approver entry contains:

  • name - The approver's display name
  • emailaddress - The approver's email
  • user_id - The approver's user ID
  • seq - Required for approval submission
  • actionnumber - Required for approval submission

Example approver entry:

{
    "name": "Halo Admin",
    "emailaddress": "example@halo.com",
    "user_id": 23,
    "seq": 8,
    "actionnumber": 17
}

2. Submit the Approval

Make a POST request to:

/api/ticketapproval

Using this JSON structure:

[
    {
        "ticket_id": YOUR_TICKET_ID,
        "seq": APPROVER_SEQ,
        "actionnumber": APPROVER_ACTIONNUMBER,
        "result": APPROVAL_RESULT
    }
]

Where:

  • ticket_id - The ID of the ticket being approved
  • seq - The seq value from the chosen approver
  • actionnumber - The actionnumber value from the chosen approver
  • result- Your approval decision:
    • 1 = Approve
    • 2 = Reject

Related Guides

  • Creating a New Application for API Connections
  • How to start using the Halo API
  • Setting up an API Agent

Popular Guides

  • Asset Import - CSV/XLS/Spreadsheet Method
  • Call Management
  • Creating a New Application for API Connections
  • Creating Agents and Editing Agent Details
  • Departments and Teams
  • Halo Integrator
  • Importing Data
  • Multiple New Portals with different branding for one customer [Hosted]
  • NHServer Deprecation User Guide
  • Organisation Basics
  • Organising Teams of Agents
  • Step-by-Step Configuration Walk Through

Footer

Products

Company

  • Contact us
  • Events
  • Channel Partners
  • Technology Partners
  • Distributors
  • Referral Program

HaloPSA

  • Features
  • Integrations
  • Mobile Apps
  • Blog
  • Pricing

Key Features

  • Service Desk
  • Sales CRM
  • Billable Time Tracking
  • Reporting
  • Contracts
  • Billing
  • Stock Management
  • Projects

Compare PSA

  • ConnectWise
  • Datto Autotask
  • Accelo
  • Harmony PSA
  • Naverisk
  • Top Desk
  • Kaseya BMS
  • Atera
  • Freshservice

Social

  • Terms and Conditions
  • Privacy Policy
  • Security
  • GDPR
  • Modern Slavery Statement
We've moved!

Please visit our new website at USEHALO.COM/HALOPSA