/halopsa:clientsfrom halopsa
Manages HaloPSA client records, sites, and contacts via the API. Covers data model, hierarchy, onboarding, deactivation, and validation errors.
Ships in halopsa. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Clients (customers) are the foundation of HaloPSA. All tickets, contracts, assets, and invoices are associated with clients. Proper client data management is critical for accurate service delivery and billing.
HaloPSA calls end-user contacts Users. That word does not mean a HaloPSA login, and it does not mean a technician.
halopsa-agents. Assigning a ticket needs
an agent_id, never a user_id.freshdesk-contacts-companies,
connectwise-psa-companies, or autotask-crm. Do not assume IDs or
domains map across.cipp-users or cipp-mailboxes; a HaloPSA User
is a CRM contact record with no directory presence.halopsa-contracts; what they have been billed is
halopsa-invoices.Three linked entities make up the CRM layer:
| Entity | Endpoint | Key relationship |
|---|---|---|
| Client | /api/Client | Root record; owns sites, contacts, tickets, assets, contracts |
| Site | /api/Site | client_id -> Client; one site may be flagged main_site |
| Contact (User) | /api/Users | client_id -> Client, optional site_id -> Site |
Most-used client fields: id, name (required), emailaddress, phonenumber,
website, accountmanager_id, inactive, client_to_invoice, toplevel_id.
Most-used contact fields: name (required), client_id (required), site_id,
emailaddress, jobtitle, isimportantcontact, inactive.
Clients are classified (Customer, Prospect, Lead, Partner, Vendor) via custom fields and categories rather than a built-in type enum.
See references/fields.md for the complete field reference for clients, sites, contacts, and client types.
HaloPSA supports parent-child client relationships via two separate fields:
client_to_invoice — the client that receives the invoicetoplevel_id — the top-level parent in the reporting hierarchySet both when a child should both roll up for reporting and bill to the parent.
POST /api/Client (also /api/Site,
/api/Users) creates when no id is present and updates when id is supplied.
There is no PUT/PATCH.id plus the fields you are changing.GET /api/Client/123?includesites=true&includeusers=true.page_no, page_size, order, orderdesc.See references/api.md for full request/response examples covering client, site, and contact create/search/update.
Create client record
Create primary site
Create primary contact
Set up contract
Deploy assets (if applicable)
Search for an existing record by name or email before each create step — HaloPSA does not enforce uniqueness on client names or contact emails across clients. See references/examples.md for a contact-onboarding routine that does the duplicate check.
When a client churns:
Mark client inactive
[{ "id": 123, "inactive": true }]
Close open tickets
End contracts
Update assets
Never delete a client that has related records — HaloPSA returns 409 and deactivation is the supported path.
| Code | Message | Resolution |
|---|---|---|
| 400 | Name is required | Client must have a name |
| 400 | Invalid client_id | Parent client doesn't exist |
| 400 | Duplicate email | Contact email already in use |
| 404 | Client not found | Verify client ID |
| 409 | Cannot delete - has related records | Deactivate instead |
See references/examples.md for client validation and duplicate-detection helpers.
GET /api/Client?hasusers=false&inactive=false
GET /api/Users?emailaddress=null&inactive=false
Duplicate client names are not detectable via a query parameter — fetch and normalize names client-side (see references/examples.md).
What SKILL.md sets; muted values are Claude Code's defaults
When creating, updating, searching, or managing customer relationships in HaloPSA. Use when: halopsa client, halo client, halopsa customer, halo customer, client management halopsa, create client halopsa, halopsa site, halopsa location, halopsa contact, client onboarding halo, or halopsa crm.
Three short reads, in order
npx claudepluginhub wyre-ai/msp-claude-plugins --plugin halopsa7 skills in this plugin
/agentsHaloPSA AgentsHaloPSA agents (technicians) and teams as a read-only MCP surface: listing technicians, retrieving agent detail, listing team structures, and the inactive-agent filter. Agent IDs resolved here are what ticket assignment needs./api-patternsHaloPSA API PatternsHaloPSA REST API fundamentals: OAuth 2.0 client-credentials authentication, authorization vs. resource server URLs, the tenant query parameter, filtering and pagination conventions, array-wrapped POST bodies, rate-limit behavior, scopes, and error codes.
/Other plugins' skills for the same job