Integrations › Developers

Webhooks

Send itsPOS events to your own systems as they happen.

AboutDetails
What it does Tells your own systems or a developer's app about sales, refunds, orders, shifts and stock changes as they happen, instead of asking the API again and again.
What itsPOS sends The events you choose (sales, refunds, orders, shifts, stock and label changes, customer erasures, cancelled baskets and no-sales at the tills), with ids, shop codes, amounts and quantities. No customer names or contact details.
Where Webhooks keeps it Wherever your own endpoint is: you choose the address.
Set up for One connection for the whole account.
Plan Part of your plan's webhooks.
Who can change it Owners and admins. Each endpoint has its own signing secret, shown once.
When the internet is down Events wait in itsPOS and are sent again for about two days if your endpoint is down. You can also fetch the last 30 days from the events list.

If something goes wrong

What you see What to do Who to call
This address points inside a private network. Use a public https address. You can fix this
This isn't a valid https address. Use a full address starting https://. You can fix this
We couldn't find this address. Check the address is spelled right and its domain is live. You can fix this
Your endpoint's secure connection didn't work. Check its https certificate is valid and not expired. You can fix this
We couldn't reach your endpoint. Check your server is running and open to the internet. You can fix this
Your endpoint didn't answer within 15 seconds. Answer with 2xx straight away and do the work afterwards. You can fix this
Your endpoint answered with a redirect. itsPOS doesn't follow redirects. Use the final address of your endpoint. You can fix this
Your endpoint said it no longer exists. Check the address, or remove this endpoint. You can fix this
Your endpoint refused the message. Check it accepts itsPOS's signature with this endpoint's secret. You can fix this
Your endpoint didn't accept the message. Check your endpoint's logs for why. You can fix this
Your endpoint had an error. Check your endpoint's logs. itsPOS tries again. You can fix this

Anything else shows "Something went wrong at Webhooks. We've been told." and reaches itsPOS support.

Webhooks tell your own systems, or an app a developer builds for you, about what happens in itsPOS as it happens: a sale, a refund, an order, a closed shift, a stock change. Instead of asking itsPOS again and again, your system gets a message within seconds.

Who can set it up: the owner or an admin, in the back office under Integrations › Webhooks. It is part of the Premier and Enterprise plans.

What itsPOS sends

Only the events you choose for each address, with ids, shop codes, amounts and quantities. No customer names, emails, phone numbers or staff names are ever sent.

How to set it up

  1. Ask your developer for the address (it starts https://) where their system receives messages.
  2. Open Integrations › Webhooks and tap Add an endpoint.
  3. Enter the address, choose the events and the shops, then save.
  4. Copy the signing secret shown once and give it to your developer. It proves a message came from itsPOS.
  5. Tap Send a test. Your developer should see the test message arrive.

If something goes wrong

When the internet is down

Messages wait in itsPOS and are sent again for about two days.

For your developer