WrenchLab API

Build custom integrations and automate your shop's workflows

🚀 Quick Start

Get started in minutes with our REST API and comprehensive documentation.

📚 Resources

Complete reference documentation and integration guides.

Authentication

WrenchLab supports two authentication methods for API requests:

API Keys (Recommended)

Generate API keys from your dashboard for programmatic access without storing passwords.

curl -H "Authorization: Bearer wrk_xyz123..." \
  https://api.wrenchlab.net/api/customers
Generate API Key

JWT Tokens (Web App)

Sign in via email/password or OAuth to receive a JWT token for web client authentication.

Authorization: Bearer <jwt_token>
X-Staff-Token: <staff_jwt> (optional)
View Auth Flow
Core Endpoints

All endpoints are scoped to your tenant and require authentication. The base URL is https://api.wrenchlab.net.

Resource Endpoints
Customers /api/customers
Vehicles /api/vehicles
Work Orders /api/workorders
Invoices /api/invoices
Inventory /api/inventory
Staff /api/staff
Reports /api/reports

Full endpoint reference with request/response examples

Code Examples
curl -X GET "https://api.wrenchlab.net/api/customers" \
  -H "Authorization: Bearer wrk_your_key"
fetch('https://api.wrenchlab.net/api/customers', {
  headers: { 'Authorization': `Bearer ${apiKey}` }
})
.then(r => r.json())
requests.get(
  'https://api.wrenchlab.net/api/customers',
  headers={'Authorization': f'Bearer {api_key}'}
)
Swagger/OpenAPI

Interactive API documentation with request/response examples for all endpoints.

Full API Reference: Try out requests, view live responses, and generate SDK code.

Open Swagger UI
Error Handling

All error responses include a status code and error message.

401 Unauthorized
Invalid or missing API key
404 Not Found
Resource does not exist
422 Unprocessable Entity
Validation error in request data
Rate Limits

API rate limits are applied per tenant to ensure fair usage.

  • Standard Plan:
    1,000 requests/hour
  • Professional Plan:
    5,000 requests/hour
  • Enterprise Plan:
    Contact sales

Need Help?

Our API team is here to support your integration.