Skip to content

Connect your own repair system to detwer

Built your own booking or ticket system? Keep it. Plug a phone in and its details, test report, battery and past repairs reach your job by themselves.

Published 30 November 2026 · Updated 1 December 2026

A workshop bench with a blue mat seen from the far end of the room: a MacBook showing a detwer test report beside a ThinkPad showing a plain job list, and an iPhone cabled to the MacBook

Build your own system. We want you to. If you run your bookings, tickets and customers in software you built yourself, with Lovable, Cursor, Claude Code, Replit or by hand, keep it, and put detwer underneath it as the hardware layer. That holds whether your system is a booking app one person built over a weekend or a CRM used by thousands of shops.

detwer tests the phone, erases it and keeps a record for each serial that you can show a customer, then hands your system the results without anyone typing them in. detwer does the device work and keeps it up to date, so you build only the part that is yours. Writing that phone side yourself would mean keeping it working through every new model and every iOS and Android update; with detwer underneath, your time goes into the shop.

While you build, tell us what is missing or what breaks: support@detwer.com.

Once your system is connected, plugging a phone in at the bench means:

  • your system fills the job with the phone’s model, storage, IMEI and serial, with nobody typing them;
  • the test result and the report PDF land on the job when the tests finish;
  • battery health, cycle count and any parts changed since the last visit are there to read;
  • before you pay for a trade-in, your system can see whether Find My or the Google lock is still on;
  • your job number sits on the phone’s record in detwer, so the two always match.

To set it up you need a key, a webhook (a message detwer sends your system by itself) and a small program a coding agent can write; an owner or admin does it once, and the steps are further down. It is worth it if your staff retype phone details at the bench, or you have argued with a customer about whether a phone worked before you touched it.

If you do not have a detwer account yet, start free.

What does your system get once it is connected?

detwer tells your system when a phone is plugged in, when a test run finishes, with the overall result and any failed tests, when an erase or a restore finishes or fails, and when a bench computer goes offline. Your system can fetch the report PDF, the phone’s details and history, its battery figures and what changed since the last visit. Tests, erases and restores still start at the bench in detwer.

Here is a day at the counter, and what your system knows at each point without anyone typing it in. Each of these works today with a key and a webhook.

A phone comes in

A customer hands over a cracked iPhone. You plug it into the bench computer, and as soon as detwer has read it, your system has the make, model, model number, storage, every IMEI and the serial. The colour and the software version are one look-up away. Nobody reads an IMEI off a SIM tray or types a serial with a smudged label in the way, and your app does not need to read the phone itself.

If detwer has seen the phone before, your system can pull up every earlier visit of it by IMEI or serial, with what happened each time: plugged in, tested, erased, restored. If a customer says it was fine when you fixed it in March, and you tested it then, your system can pull up the March result.

A Samsung Galaxy's page in the detwer dashboard: model, IMEI, battery capacity and cycles, and a timeline of its visit from plugged in to diagnostics finished
A phone’s visits in the dashboard. Your system can read the same history. Sample data from the demo shop.

The tests finish

detwer tells your system the moment a test run ends, pass or fail, with the overall result and the list of tests that failed. Your system downloads the report PDF and attaches it to the job, and writes your job number onto the phone’s visit in detwer. If you run a screen at the counter, it can show the test as it goes, from started to finished. Your system does not run tests; it receives the results.

Battery health and earlier repairs

Each visit records the battery’s health and cycle count, on iPhone and Android, so your system can show how the battery has changed since the phone was last in. detwer also compares each visit with the last one and lists what changed: a battery or display replaced, battery figures that rose while the same battery stayed fitted (worth a second look), a software update. Your system can read that list on any visit, and detwer tells it straight away about the changes worth checking.

On an iPhone, detwer reads whether the battery, display, cameras and other parts are genuine, and the phone’s own repair history. So when a phone comes back with a new screen you did not fit, your system can flag it before the warranty conversation starts. Parts checks change with every new model and every iOS and Android update; detwer keeps up with them, and your system reads the results the same way.

An iPhone 15 Pro's page in the detwer app, with battery health, six original parts and no repairs recorded
Parts and repairs on an iPhone’s page in the detwer app. Sample data from the demo shop.

Before you buy, sell or hand a phone back

Buy a phone that is still locked and you can lose what you paid for it. Your system can read whether Find My is on for an iPhone, and the Google reset lock on an Android phone, as detwer read them at the bench, and stop the purchase there. A blank means detwer has not read it yet. If the checks add-on is switched on for your company, your system can also run a blacklist or warranty check on the IMEI or serial itself and keep the result on the job. Checks use credits, so an admin has to allow them on the key.

When a phone is erased for resale, your system is told whether the erase finished or failed, and can file the erase record PDF against the stock item. Restores are reported the same way.

For the customer, and for the bench

Your customer gets a link to their phone’s report in the collection text or on the receipt, if your company shares reports. And when a bench computer drops offline mid-afternoon, your system hears about it before a queue of untested phones builds up. Your staff still just plug the phone in.

Why does the record matter to your customers?

Repairs run on trust. When a customer says the phone worked before you touched it, detwer’s record is your answer: it is kept against the phone’s serial, as the bench recorded it, and your system can read all of it:

  • if you test a phone when it is booked in and again before it goes back, both results, with the tests that failed, so “it worked before” has an answer from both visits;
  • what happened and when, visit by visit: plugged in, tested, erased, restored, with the time, the bench computer and the staff member who asked for it, if anyone did;
  • the report the customer sees, by a link or the QR code on the PDF, when your company shares reports;
  • an erase record for every erase, for the phones you sell on;
  • parts changed since the last visit, flagged for you so nobody has to spot them.

Your system can show and attach every part of that trail, but it cannot change a result or a test record; the only thing it adds is your own job number. What your customer reads on the job is what detwer recorded at the bench.

To try it, start free, then open Company › Apps & API and choose the Keys tab.

What is the difference between a webhook and an API?

Your system can learn about a phone in two ways. Through the API, it asks: “what visits do you have for this IMEI?”, and detwer answers. Through a webhook, detwer tells it, unasked: a phone has been plugged in, a test has finished, an erase has failed. The message arrives at an address your system listens on, signed so your system can tell it came from detwer.

For this job you need both. The webhook is how your system finds out that the iPhone on bench two has finished its tests. The API is how it then fetches the report PDF for that visit and, if you want, writes your job number onto it.

Which way should you connect your system to detwer?

Every detwer company can connect in any of these ways, and an owner or admin sets it up. There is no application; the only wait is detwer’s check of your business details after sign-up.

You are buildingUseWhere
Your own shop’s booking or ticket systemA key, and a webhookCompany › Apps & API › Keys, then Webhooks
Questions in Claude or ChatGPT about your phonesConnect the assistant, then sign inNo key and no code
Software that other shops will connectConnect detwer, and the partner programmeCompany › Apps & API › Partners

This post follows the first row. If you only want to ask questions such as “which phones failed today?”, you do not need to build anything: connect Claude or ChatGPT and sign in. The API page shows what keys, webhooks and assistants make possible.

Step 1: make a key, and tick only what you need

Open Company › Apps & API and choose the Keys tab. Press Create key, give it a name you will recognise later, such as the name of your booking app, and tick the boxes for the job. Each box is a permission. A key can do only what its boxes allow, and only ever sees your own company’s data.

To do thisTickNote
Read visits, test results and erase recordsPhone checksOn by default
Download the report PDFPDF reportsOn by default
Write your job number onto a visitAdd your own reference to a phone’s visitOff by default
Let your system make its own webhookManage webhooksNot needed if you add the webhook yourself
Blacklist and warranty checksRun blacklist and warranty checksSpends your credits; needs the checks add-on and an admin’s say-so; leave it off here

Phone checks and PDF reports are ticked already; for this job, tick Add your own reference to a phone’s visit too. Tick Manage webhooks only if your system will make its own webhook. If your system runs on one server, put its address in the box below the ticks, and the key will work from nowhere else. Your company’s request limits are shown at the top of the same tab.

The key is shown once, and detwer cannot show it to you again, so copy it straight into your system’s settings under the name the dashboard suggests, and never into your code. If it ever leaks, revoke it on the same tab: anything using it stops on its next request, and the webhooks it made are deleted with it.

Step 2: download the quickstart

The quickstart is a plain Markdown file written for coding agents, and you download it from the dashboard. In the Connect your own system box on the Keys tab, press Download the quickstart. Any company can, and it is free. Keep it with your project, and attach it when you talk to your coding agent.

Step 3: add the webhook

The simplest way is by hand. On the Webhooks tab press Add endpoint, paste the address your system listens on and choose what to be told about. Every choice is ticked when the dialog opens; for this job, Diagnostics completed is enough. It comes for every finished test run, whether the phone passed or failed. The address must be https, on the internet and on the normal port: a small server, a hosted function, or while you build, a tunnel (a temporary public address for your own computer).

When you save it, detwer shows the signing secret once. Put it in your system’s settings beside the key. Your system can instead make the webhook itself with a key that has Manage webhooks; the secret then comes back once, when it is made. Either way, the secret exists only after the webhook does, so your receiver is started, or restarted, once you have it.

Step 4: give your coding agent the prompt

Paste this into your coding agent, attach the quickstart you downloaded, and change the second line to describe your system. It tells the agent to work from your quickstart file, to refuse anything unsigned and to prove the report and job number steps on a phone you have really tested.

A prompt for your coding agent

I run a phone repair shop and use detwer at the bench. My booking system is [say what it is: for example a Node app, or a Lovable app with a Supabase database]. When detwer tells my system that a test has finished, I want it to: - find the job for that phone by its IMEI or serial, - attach the test report PDF to the job, - write my job number onto the phone's visit in detwer. Work from the detwer quickstart file I downloaded from my company's Keys tab: it is attached here. My key is saved as a setting called DETWER_API_KEY and my webhook's signing secret as a second setting. Build the smallest receiver that does this. Refuse any message that is not signed by detwer, store each message once so a repeat does nothing, and never print the key or the signing secret. The quickstart's test visit has no report and takes no job number, so prove those two steps on a phone we have really tested.

If the quickstart is wrong or unclear for your system, tell us at support@detwer.com.

The rest of this page is for checking what your coding agent builds. The agent needs only the quickstart and the prompt above.

What is webhook authentication, and how does your system check it?

In short: your system checks that each message really came from detwer, and ignores any that did not.

Anyone who finds your webhook address can send it a message, so your receiver must prove each one came from detwer before it acts on it. Every message is signed with your signing secret, in the open scheme the Standard Webhooks specification describes. Your receiver works out the same signature from the message exactly as it arrived and compares the two. If they differ, or the message is more than a few minutes old, it refuses the message and ignores it.

Your coding agent will write that part. Whatever it builds, check three things: the signature is worked out from the raw message, a mismatch is refused, and each message is stored once so that a repeat does nothing.

The message about a finished test carries the phone’s details, the overall result and the list of failed tests. The PDF is not in the message: your system downloads it with the key. A test message you send yourself from the dashboard is marked as a test.

How does your system attach the report and write the job number back?

With the message checked, your system finds the job. That part is yours: match the phone’s identifiers in the message against the job. A dual-SIM phone has two IMEIs, so match on any of them, or on the serial. The key can also look a phone up by any IMEI or serial, newest visit first.

Then your system downloads the report PDF for that visit and attaches it to the job. A phone that was plugged in but never tested has no report, so treat that as “nothing to attach yet”.

Last, it writes your job number onto the visit. Each key keeps its own, so yours never changes another app’s. It comes back when your system reads the visit, where you can also search by it, and in every message your key’s webhooks receive for that visit. It is not shown in the detwer dashboard or on the PDFs.

When should you not rely on webhooks alone?

A webhook needs your system to be on the internet when detwer calls. If it is down, detwer tries again several times over the following hours. An address that keeps failing for a few days is turned off, and the company’s owners and admins get an email. Failed deliveries stay on the Webhooks tab for a week, where you can send them again.

  • A laptop that sleeps is a poor home for a receiver. Run it on a small server, or have your system ask detwer for anything changed since it last looked.
  • The same message can arrive twice. Store each message once and do nothing the second time.
  • Answer quickly. Save the message, reply, and fetch the PDF afterwards.
  • You can test without a phone. Send test on the Webhooks tab sends one message, or a whole visit, including one where tests fail and one where the erase fails.

Building it for other shops?

If you later want other shops to use what you built, they connect it with Connect detwer: an owner signs in to detwer and presses Allow, so nobody copies a key. Any app can do this today, and shops see it as an app that detwer has not checked.

To show as Verified by detwer, apply on the Partners tab with your app’s name, website, support email and what it does. detwer reviews the application and emails you either way. An approved partner gets the Connect detwer button, the verified partner badge (see what verified means), the full developer guides to give its coding agent, and detwer developer help, a chat in the dashboard that answers from those guides. The developers page has the details.

Tell us what you need

Tell us what you are building, the detail you expected and did not find, or the step that lost you: support@detwer.com.

Bottom line

Keep the system you built, small or large. detwer handles the phones underneath it and keeps the record your customers can check. If you do not use detwer yet, you can start free, and tell us what would make it better for your shop: support@detwer.com.

Lovable, Cursor, Claude Code, Replit, Claude and ChatGPT are named as examples only. detwer is not affiliated with or endorsed by their makers.

Sources

Connecting your own system to detwer: questions

Can I connect my own repair shop system to detwer?

Yes. Any detwer company can, whatever the size of its system, with a key and a webhook and no application. An owner or admin sets it up once detwer has checked the business details. detwer stays the hardware layer underneath: it tests, erases and records the phone, and your system reads the results.

What does detwer send to my system?

detwer sends your system a signed message when a phone is plugged in, when a test run finishes with its result and any failed tests, when an erase or restore finishes or fails, and when a bench computer goes offline. The report PDF is not in the message: your system downloads it afterwards, along with the phone’s details, earlier visits, battery figures and what changed since the last visit.

Does a phone that was only plugged in have a report?

No. A report exists only after a test run, so a phone that was only plugged in has nothing to attach yet. Wait for the message that tells your system a test has finished.

Can my system run blacklist and warranty checks?

Yes, if the checks add-on is switched on for your company and an admin ticks that box on the key. Your system asks for each check, by IMEI or serial, and reads the result. Each check spends your company’s credits, the same as running it in the dashboard.

Do I need to become a detwer partner?

No. Every detwer company can make keys, add webhooks and connect apps, with no application. The partner programme is for software that will connect other shops: approved partners show as Verified by detwer and get the developer guides and detwer developer help.

Can my system change results in detwer?

No. A key reads visits, test results and erase records and downloads the PDFs. The only things it can add are its own webhooks and its own job number on a visit, and only if you ticked those boxes. A key cannot see another company. Tests, erases and restores happen at the bench in detwer.

Free. No card needed.

Start free

detwer is not affiliated with or endorsed by Apple Inc. or Google LLC. iPhone and iPad are trademarks of Apple Inc., registered in the U.S. and other countries and regions. Android is a trademark of Google LLC.