API Documentation

Build custom integrations with the AssetHawk REST API.

Base URL

https://api.assethawk.com

Authentication

All API requests require an API key passed in the Authorization header.

Authorization: Bearer YOUR_API_KEY

Assets API

GET/api/assets?orgId={orgId}

List all assets for an organization

Query params: orgId (required), status (optional)

POST/api/assets

Create a new asset

Body: orgId, assetTag, name, description, status

GET/api/assets/{id}

Get asset by ID

DELETE/api/assets/{id}

Delete an asset

Audit API

GET/api/audit?orgId={orgId}

Get audit log for organization

POST/api/audit

Create audit log entry

Maintenance API

GET/api/maintenance?orgId={orgId}

Get maintenance schedules

POST/api/maintenance

Create maintenance schedule

Work Orders API

GET/api/work-orders?orgId={orgId}

List work orders

POST/api/work-orders

Create work order