auto-shop.aiHelp

API access and webhooks

Create OAuth API clients for your website, an accountant's sync or your own scripts, and send events to your own server with webhooks.

Every screen in auto-shop.ai is an API call, so anything you can do, an API client can do within its role. These are our own API clients; nothing here connects to another shop management system.

Create an API client

  1. Open Settings → Connections → API Access.
  2. Under API clients, type a name (website, accountant sync, my script).
  3. Pick its role: tech (read jobs), advisor (most things), or owner (everything, incl. import).
  4. Press Create.
  5. Copy the Client id and Client secret into the other system now. The secret is shown once. Press Done.

The other system exchanges the id and secret for a token that lasts an hour, or a simple script can send the secret itself.

Add a webhook

  1. Under Webhooks, press + Webhook.
  2. Type your server's URL and a secret, and pick the event types (leave empty for everything).
  3. Press Test to send a ping. Then Save changes.

Every event is posted as JSON, signed with your secret so your server can check it came from us.

Good to know

  • Each client shows how much it was used today and over 30 days, its errors, and when it was last used.
  • Disable pauses a client. Revoking it stops anything using it.
  • Every API call is on Activity log.
  • Saved webhook secrets show masked. They stay as they are unless you retype them.
  • Switching a client off or revoking it stops its tokens at once, not when the hour is up.
  • Another company's app connects with Connect to auto-shop.ai instead of a client you make. See Connected apps.