Skip to content

Create an API key

You need to be a company admin to create a key.

  1. In sherlock office, open Settings, then API keys.

    sherlock office Settings, with API keys at the bottom of the list
  2. Tap Create key. If your company has no keys yet, the button is in the middle of the page.

    The API keys screen with no keys yet and a Create key button
  3. Under Name, type the tool that will use the key, like Zapier. The name is only for you, so you can tell your keys apart later.

  4. Under What it can do, tap each thing the tool needs. Selected permissions turn green. Choose only what the tool needs: you can always create another key later.

    The Create API key form named Zapier, with Read inspections, Read orders and Read products selected
  5. Tap Create key.

  6. Copy the key with the copy button, and paste it into your tool or a password manager. Then tap Done.

    Copy your key now, showing the new key once with a copy button

Your new key shows at the top of the list. Each key shows its name, the last four characters of the key, its permissions, when it was created and when it was last used.

The list of API keys, each with its name, key ending, permissions and last use
Permission What the key can do
Read company details See your company’s details
Read inspections See inspections
Create inspections Add new inspections
Change inspections Edit inspections
Delete inspections Delete inspections
Everything with inspections All of the above for inspections
Read reports See inspection reports
Read orders See orders
Create orders Add new orders
Change orders Edit orders
Delete orders Delete orders
Everything with orders All of the above for orders
Read products, Create products, Change products, Delete products, Everything with products The same, for the products you sell
Read agreements, Change agreements, Everything with agreements See or edit client agreements
Read agreement templates See your agreement templates
Read automation results See what sherlock’s automations produced
Read schedules See your team’s working hours
Read time off See your team’s time off

“Everything with” also covers anything sherlock adds for that thing later, like a new way to change an order. Pick it only for a tool you trust with all of it.