BASE URLhttps://myrepairsoftware.com/api/public/v1GET
API REFERENCE
Explore the API
One endpoint, four resources. Expand a resource to see its parameters, request examples and response schema. All responses use application/json. These examples contain fictional data and run no requests from this page.
4 of 4 resources
Repair tickets, their current status, priority, and due date.
The events list includes job, ticket, invoice, and inventory activity. Customer-created notifications are available through webhooks. Use order=recent for newest activity first and kind to select one activity category. Do not parse action text as a stable event type.
Current API scope
Version 1 supports list reads and exact record lookups. Invoice reads, staff/payroll access, payment processing, and create/update/delete operations are not public API endpoints. Use the id query parameter for a scoped lookup. Date filters are not supported. Use the workspace for those workflows.
GET STARTED
From token to first request
You’ll need a My Repair Software workspace and an owner or admin account to create a token.
Choose the business and location
Open your workspace, select the intended business and location, then go to More → API & integrations.
Create a scoped token
Under Scoped API access, enter an integration label, select the resources it needs, and choose an expiry from 1 to 90 days. Select Create scoped token and copy the returned token before closing it.
Make a request from your server
Store the token in a secret manager or server environment variable named REPAIRHQ_TOKEN. Choose a resource in the API reference and copy its request example.
BlockChyp, Stripe, and Square credentials connect payment providers to your shop. A My Repair Software API token lets your integration perform the read and write operations selected by your shop owner or admin. Payment-provider keys cannot authenticate to this API.
AUTHENTICATION
One token. One location.
Send the token in the authorization header on every request. A token begins with rhq_ followed by 64 lowercase hexadecimal characters.
HTTP header
Authorization: Bearer <your-scoped-token>
Resource permissions
Select only the scopes your integration needs:
repairs:read
inventory:read
customers:read
events:read
customers:write
repairs:write
Business isolation
The token determines both business and location. There is no business or location override parameter. Each new store creates its own tokens; each location needs its own token.
Keep tokens on your server. Do not put them in URLs, public browser code, screenshots, or source control. The token list shows only its last four characters. Revoke a token in API & integrations to stop future requests.
To rotate, create a replacement token, update your integration, verify a read, then revoke the old token. Expiry does not renew automatically. Webhook signing secrets are separate from API tokens.
WRITE OPERATIONS
Bring shop workflows into My Repair Software
Owners and admins can grant customers:write and repairs:write independently of read permissions. Every write is limited to the token’s location, checked against the issuer’s current access, and recorded with the token’s identity.
Operation
Endpoint
Scope
Create customer
POST /api/public/v1/customers
customers:write
Create repair
POST /api/public/v1/repairs
repairs:write
Update repair status
PATCH /api/public/v1/repairs/{id}/status
repairs:write
Send JSON (maximum 32 KiB) and a stable Idempotency-Key header for each intended action. Use 1–128 letters, numbers, dots, underscores, colons or hyphens. Reuse the same key and body on retries. A successful replay returns the original receipt with Idempotency-Replayed: true; a changed body or operation with the same key returns 409. Keys belong to one token. After rotating a token, reconcile uncertain writes before retrying.
Create a customer · JSON body
{
"name": "Synthetic API Customer",
"email": "customer@example.invalid"
}
New customers start with all communication consent disabled. New repairs require a customer ID in the same location, a device and an issue; they start at Intake. To update status, first read the repair and pass its exact status_revision as expected_revision. A stale revision returns 409. Review the latest record before submitting a new request. Existing signature checks, workflow stages, and customer notifications still apply.
Each response has resource, data, and next. A page contains up to 50 records. Send a non-null next value back as after with the same token, resource, order, and kind; stop when next is null.
Parameter
Meaning
resource
repairs, inventory, customers, or events. Defaults to repairs when omitted.
after
UUID cursor returned as next. Omit it for the first page.
id
Exact record UUID. Returns zero or one record. Do not combine with after. Unavailable or out-of-scope records return an empty array.
order
id (default), or recent for repairs, customers and events.
kind
For events only: job, ticket, invoice, or inventory.
Default results are ordered by UUID. For repairs, customers and events, use order=recent to read newest creation time first, with UUID as the tie-breaker. This does not track every change to a record. Pagination is not a frozen snapshot. New or changed records can be missed during an active traversal; restart from the beginning for a fresh reconciliation. Do not reuse an old final cursor as a change-feed watermark.
Pagination · Node.js
// Server-side Node.js. Start a new traversal without an after cursor.
let after = null;
do {
const url = new URL('https://myrepairsoftware.com/api/public/v1');
url.searchParams.set('resource', 'inventory');
if (after) url.searchParams.set('after', after);
const response = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.REPAIRHQ_TOKEN}` }
});
if (!response.ok) throw new Error(`My Repair Software HTTP ${response.status}`);
const page = await response.json();
for (const item of page.data) console.log(item.id, item.quantity);
after = page.next;
if (after) await new Promise(resolve => setTimeout(resolve, 1100));
} while (after);
50records per page
60requests / token / minute
90 daysmaximum token lifetime
The rate limit uses fixed minute windows and is shared by requests using the same token. Pace workers together. On 429, wait at least the Retry-After header (60 seconds), add jitter, and retry. The pagination snippet stops on errors so your application can apply its retry policy.
ERRORS
Handle failures deliberately
Example error · HTTP 403
{ "error": "This token does not allow this resource" }
Status
What to do
400
Fix the resource name or malformed after cursor.
401
Check the bearer header, token expiry, and revocation status.
403
Create a token with the required resource scope.
405
Use GET. Writes are not supported; this response may have no JSON body.
429
Wait for Retry-After, then retry with jitter.
500
Retry with bounded exponential backoff. If it persists, report the time, endpoint, and status without credentials or customer data.
Check the HTTP status before parsing a success response. Error messages can change; branch on status codes. Failed reads never authorize a payment or a record update.
SIGNED WEBHOOKS
Receive events from your shop
In API & integrations → Connected systems & webhooks, create a webhook endpoint with a public HTTPS destination and one event type. Then choose Activate / rotate signing key and save the returned secret securely.
Destinations must use standard HTTPS port 443 and resolve only to public internet addresses. Localhost, private addresses, URL credentials, fragments, and redirects are not supported. Each endpoint belongs to the selected business and location.
Event
Trigger
repair.updated
A repair ticket’s status changes.
job.updated
A job activity event is recorded.
invoice.paid
Recorded invoice totals meet the settlement condition after a payment-total change. Verify the invoice ledger before fulfillment; this is not a bank settlement confirmation.
customer.created
A customer record is created.
inventory.changed
An inventory item’s on-hand quantity changes.
Payload and delivery identity
The payload identifies the event and related record; it does not include the complete record. id is the event ID. X-RHQ-Delivery-ID identifies this endpoint’s delivery and stays the same on retries.
X-RHQ-Timestamp is Unix time in seconds at delivery attempt time. Verify the signature with a constant-time comparison, require a recent timestamp, and deduplicate by delivery ID. Our Node.js helper accepts a five-minute clock window and compares the original request bytes before JSON parsing.
Verification helper usage · handler excerpt
import { verifyRepairHQWebhook } from './webhook-node.mjs';
// rawBody is the original Buffer collected by your HTTP handler.
const valid = verifyRepairHQWebhook({
secret: process.env.REPAIRHQ_WEBHOOK_SECRET,
rawBody,
deliveryId: request.headers['x-rhq-delivery-id'],
timestamp: request.headers['x-rhq-timestamp'],
signature: request.headers['x-rhq-signature']
});
// Reject an invalid signature before parsing JSON.
// If valid, atomically deduplicate and durably queue the event
// before returning 2xx. The helper verifies; it does not store events.
After verification, validate the expected business, location, and event type. Atomically store the delivery ID and event in a durable queue before returning 2xx. An already accepted delivery should also receive 2xx. The helper performs signature checks only; your receiver supplies durable storage and deduplication.
Timing, retries, and rotation
Any 2xx response is accepted. A non-2xx response or an 8-second timeout marks the attempt failed.
Failed deliveries become eligible again after 15 minutes, up to five total attempts. Each worker run handles at most five due deliveries.
Automatic processing currently runs once daily at 13:15 UTC. Owners and admins can use Retry due deliveries to process another due batch. Delivery is queued; it is not a real-time guarantee.
Retries can duplicate a delivery and events can arrive out of order. Use durable deduplication and reconcile current record state when needed.
Inspect delivery status and attempt counts in API & integrations. After five failed attempts, automatic retries stop.
Rotating immediately replaces the signing secret. Coordinate the receiver change and keep the previous secret briefly in your receiver for in-flight requests. New attempts use the current secret. Disable delivery when retiring an endpoint.
AUTOMATION
Start with a useful shop workflow
Connect your own location using explicit read and write scopes. The native Zapier app is available by private invitation; a public marketplace listing is not yet approved. Make can use the HTTP API.
Recipe
Read
Next step
New repair → spreadsheet row
resource=repairs&order=recent
Deduplicate by repair ID, then map number, device and status.
Repair activity → staff notification
resource=events&order=recent&kind=ticket
Deduplicate by event ID. Use record_id to look up the repair’s current status.
Inventory activity → stock review
resource=events&order=recent&kind=inventory
Look up the inventory record and compare available_quantity with your threshold. Some bulk activities have no single item; skip those lookups.
Check /api/public/v1/connection to confirm the token’s business, location, scopes and expiry. Each location needs its own connection.
Polling must deduplicate stable IDs. The private Zapier connector reads up to 250 recent records per poll; larger bursts or long outages can miss records. Use signed webhooks and reconciliation for critical workflows. Activity descriptions are readable text, not stable event types; a record lookup shows the current state, not necessarily its state when the event occurred.
The examples above are an offline reference. There is no public sandbox endpoint or special test token. For live testing, use an authorized workspace and location containing only test data, with a short-lived token and minimal scopes.
Confirm the correct business, location, scopes, and expiry in API & integrations.
Read one page, then verify pagination and the end-of-list null cursor.
Check a disallowed resource returns 403 and a revoked token returns 401.
For webhooks, use your own public HTTPS receiver. Generate an ordinary test event in that location and process due deliveries.
Verify signature rejection for a changed body or stale timestamp, and acknowledge a duplicate without processing it twice.
Before enabling a production integration, confirm it cannot read another store’s records and that its logs redact credentials and customer data.
CUSTOMER WIDGETS
Your shop, on your website
Use ready-made widgets when customers need to book a repair, learn about your shop, open their private repair portal, or request a mail-in repair. Set them up in Settings → Customer widgets. They use a public location link and do not need an API token.
Repair booking
Publish selected services with guide prices, starting prices, or inspection required. Collect contact details, item information, the issue, and consent to your intake terms. Requests enter Online intake. With instant booking enabled, customers choose from available appointment times.
Shop guide
Answer common questions from published shop information and open the booking form inside the widget. The guide cannot access customer records or provide private repair status.
Repair tracking
Customers paste their private portal link or access code. My Repair Software checks that it belongs to this location, then opens their private portal as a full page. Customers without a link can contact the shop. Tracking works with online bookings turned off.
Mail-in repair
Collect customer contact details, item and model, fault, serial number and planned accessories. Requests enter Online intake for staff review. Accepting creates a mail-in repair; shipping instructions, postage and payment remain separate. Customers are told to wait for confirmation before shipping.
Choose the location. Enable online bookings for Repair booking and Shop guide; Repair tracking does not require them. For Mail-in repair, enable mail-in service in Shop profile and online mail-in requests for the selected location.
Choose Embedded form to keep customers on your website, or Website button to open the full-page form in a new tab.
For an embedded form, add your exact website origins, such as https://yourshop.com and https://www.yourshop.com, then save the list. Website buttons do not need iframe origin setup.
Reuse a current public booking or widget link, or create a new location link. One public link supports every widget type and both display options.
Open the live preview and check the shop and location. Copy the selected code into an HTML block, or paste the public link into your website builder’s own button or menu destination.
Website option
Install it
Customer experience
Embedded form
Allow the published website origin and paste the iframe code into an HTML/embed block.
The form stays on your page and fills its container width. Adjust its height in Settings.
Website button
Edit the button text and paste its code into an HTML block, or use the public link with your own button.
The same location’s form opens in a new tab. No iframe or script is required.
Installation help
If an embedded form is blank, check the exact HTTPS origin of the published page, including www. A website builder’s editor or preview may use a different origin. Test the published page, or choose Website button if the builder does not support embeds.
If the form says unavailable, check the widget’s location settings and whether its public link was disabled, replaced, or expired. Keep a still-active older link using Settings, or deliberately replace it and update every installation. A live preview does not send a request; submitting a booking or mail-in form creates a request for the shop to review.
Keep installed widgets working
New public website links stay active until you disable or replace them. Older links can be kept active in Settings without changing installed code. Replacing a location link disables all its previous widgets, so update every installed embed and shared booking link. My Repair Software stores a protected fingerprint; save your original public link so you can reuse it.
Create a private portal link from the customer’s profile and use Copy customer message to share it through your normal service channel. Customer portal links expire after 30 days and can be disabled or replaced. Keep private customer portal and appointment-management links out of public embed code. Customers receive their own private management link after a confirmed online appointment.
Download the n8n node pilot, signed-webhook Home Assistant/MQTT bridge and free WordPress widgets. Calendar subscriptions, vessel/product lookups, Pushover and QZ Tray setup are available inside the workspace.
After importing into Postman, set token in your private local environment or vault. Keep credentials out of shared collections and exports. Enable the after parameter only when following a returned cursor.
VERSION HISTORY
Built on a clear contract
v1.2.0
Scoped writes and shop setup
Added customer and repair creation, revision-checked status updates, retry receipts, and independent write permissions. Each location can connect its own Zapier account through the private app invitation.
v1.1.0
Automation reads
Added scoped record-ID lookups, recent-first repair/customer/activity reads, event-category filtering, a connection check, and automation recipes. Existing list ordering and response fields remain compatible.
v1.0.0
Developer documentation launch
Documented the existing scoped read API and signed webhooks. Added OpenAPI, Postman, and a Node.js verifier. Invalid query values now return 400, rate-limit responses include Retry-After, and repair due dates use a timezone-independent YYYY-MM-DD value.
The public endpoint is versioned as /api/public/v1. Ignore unknown response fields so additive changes do not break your integration. Existing read-only tokens retain their permissions. Create a new token with write scopes when your workflow needs them.