Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Webhooks #150

Open
mlemainque opened this issue Feb 15, 2017 · 30 comments
Open

Add Webhooks #150

mlemainque opened this issue Feb 15, 2017 · 30 comments
Labels

Comments

@mlemainque
Copy link

Hello,

I am willing to sync Cliniko's appointments with my own booking service (in both directions Cliniko -> My service, My service -> Cliniko) through your API. For the sake of scalability, I would like to avoid dumping your API every X minutes looking for updates in appointments but only when an update has occured.

That's why webhooks would be very useful for me as Cliniko's API would notifies my service each time an appointment is updated in Cliniko. Unfortunately I can't see any mention of webhooks in your documentation. Do you have ones?

It could a very simple feature: a new /webhooks REST endpoint in your API, each webhook having a few properties:

Thanks in advance,

@bpinto
Copy link
Member

bpinto commented Feb 15, 2017

@mlemainque we don't support webhooks just yet. But as it's something we will work on in the future, how do you think that expiration_date would work?

@mlemainque
Copy link
Author

@bpinto expiration_date avoids you to ping very old dead URLs

When somebody creates a webhook through your API, you provide them an expiration date (for example 1 week from now). You can leave the webhooks renewal issue to the user: each X days he can DELETE old webhooks and POST new ones

You may take a look at how Google does it: https://developers.google.com/google-apps/calendar/v3/push

@hagen
Copy link
Contributor

hagen commented Apr 21, 2017

+1

3 similar comments
@rocface
Copy link

rocface commented Sep 12, 2017

+1

@craigharman
Copy link

+1

@elidhu
Copy link

elidhu commented Apr 13, 2019

+1

@hagen
Copy link
Contributor

hagen commented Apr 13, 2019

For my own software, I've adopted the REST Hooks approach.
This is a subscription-based model, where the callee would subscribe to a hook type from Cliniko (the caller). Subscriptions can then be deleted by the callee as required - it's a fully API-centric approach.

@alecwills
Copy link

Any chance of an update on this? It's been over 2 years since "we will work on this in the future"! Prehaps you don't have that many clients using the API but I'm polling it very regularly and putting load on your servers because you don't have webhooks. The only workaround for me is for appointments since I sync to a Mailchimp list (one of your integrations) and they do support webhooks I use their service to trigger a poll on yours. This doesn't work for other endpoints and requires Mailchimp which doesn't suit everyone.

@jfriedlaender
Copy link
Member

jfriedlaender commented May 8, 2019 via email

@hagen hagen added the request label Nov 18, 2019
@jkairys
Copy link

jkairys commented Apr 6, 2020

+1

Any news on this?

@hagen
Copy link
Contributor

hagen commented Apr 8, 2020

Nothing further yet folks, sorry. It'll happen, but we can't say when.

@joeainsworth
Copy link

Any update?

@JohnColvin
Copy link
Member

sorry @joeainsworth nothing to report. no one is actively working on webhooks at the moment.

@alecwills
Copy link

Just thought I'd let you guys know that you are loosing customers over this. We moved away from Cliniko about a year ago, not just for this but it was a big factor. We're not super happy with whom we moved to and would consider moving back to Cliniko, however, when I compare the changes you have made with the lack of progress on this I'm not convinced that your development priorities are right! Obviously this view is based on limited information but I thought you might like to know you are loosing actual money by not addressing this and you leave me, and clearly some others, perplexed why something has sat on your list for so many years without being elevated or removed! I rather suspect the lack of comments on this thread doesn't reflect the number of potential customers who when evaluating your API just reject Cliniko because this feature is missing! But what do I know I'm just one ex-customer.

@jfriedlaender
Copy link
Member

jfriedlaender commented May 6, 2021 via email

@bensaine
Copy link

Please add this! The demand for this feature is still very present.

@Ldepner
Copy link

Ldepner commented Jan 17, 2022

+1

1 similar comment
@terencequ
Copy link

+1

@svix-ken
Copy link

svix-ken commented May 4, 2022

Hey guys, came across this and thought our open source project might be useful: https://github.com/svix/svix-webhooks. We also offer a hosted solution if you don't want to have to deal with setting up your own infrastructure.

@JamesCowlishaw
Copy link

Bumping this and adding +1. Webhook feature provide a great level of patient information security and should enable practitioners to access their own details and own patient information securely. Developing Webhook protocols in the system shouldn't be that hard to prioritise and should be treated as a quick win

@knapcio
Copy link

knapcio commented Oct 5, 2022

+1

In addition to what @JamesCowlishaw said I believe adding webhooks will help to reduce the Cliniko API usage as there will be no need to constantly poll it for data.

@m7mdcc
Copy link

m7mdcc commented Nov 7, 2023

Any updates ?

I can see appypie.com implement some webhook for cliniko

@Mik1337
Copy link

Mik1337 commented Dec 6, 2023

+1 for webhooks !!

@toriningen
Copy link

As a someone in the middle of integrating with Cliniko, being unable to receive change notifications via webhooks, or at least poll for "were any changes made to treatment notes since last visit?" is certainly a surprise.

@henzy111
Copy link

henzy111 commented Feb 8, 2024

+1 We would love Webhooks for Cliniko! @hagen

@antoinelamy
Copy link

+1

1 similar comment
@phil-salt15
Copy link

+1

@achedeuzot
Copy link

+1

@plasticine
Copy link

Some sort of webhook implementation is kinda table-stakes for the API to be useful for a wide range of use-cases. Please consider prioritising this.

@sprosport
Copy link

Any update on this? This is something we have been waiting for a long time and following this thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests