API keys and webhooks

Connect another app: an API key lets it work with your store, and a webhook tells it the moment an order comes in.

Use these to connect your store to another app or script. An API key lets the app read or change your store. A webhook tells the app the moment something happens, such as a new order.

Make a key for another app

  • Go to Settings › API keys and choose An integration.
  • Give it a name you will recognise. The name also shows in the audit trail beside everything the key does.
  • Choose a Role. The key can do only what that role can, so give it the least it needs.
  • Press Create key, then Copy, and paste it into the other app. It is sent as Authorization: Bearer followed by the key. You can copy it again later from its row.

A key for an AI agent

Choose An AI agent for an AI assistant. Its key only reads, and only what you tick. It stops working after the number of days you set (1 to 365), it is limited to a number of requests a minute, and it is shown only once.

Revoke a key

Press Revoke on a key's row. Anything using it stops working at once, and it cannot be turned back on: make a new key instead. Revoked keys stay in the list, so you can see what had access and when it stopped.

Send events to another app

  • Go to Settings › Webhooks and press Add endpoint.
  • Paste the address the other app gave you, and tick the events to send. Every event also includes events added later.
  • Press Add endpoint and copy the signing secret. It is shown only once; the other app uses it to check each message really came from your store. If you lose it, rotate the endpoint for a new one.

Check the deliveries

Each event is sent signed. If the other app does not accept it, it is tried again, waiting longer each time, until it goes through or is given up on. Deliveries lists every attempt; Still trying shows the ones not yet accepted. Pause on an endpoint stops sending to it.