Skip to main content
Question

API authentication tied to a user: how do we keep a sync from breaking when that user is deleted?

  • September 16, 2026
  • 2 replies
  • 24 views

Forum|alt.badge.img+3

Hi,

We're running a sync against the Dentally API and hit a problem we'd like your advice on.

We were authenticating with a personal access token. The user that token belonged to was deleted, and our sync stopped working.

We looked at using application tokens instead, but /oauth/token/info shows a user_id, so those appear to be tied to a specific user as well.

Two questions:

  1. If the user who authorised an application is deleted, is that application token also invalidated?
  2. Is there a way to authenticate that isn't tied to an individual user, so the sync doesn't break when someone leaves the practice?

Thanks

2 replies

Forum|alt.badge.img+3

Possible to have a reply on this soon? This is quite critical since we are running into this issue!

 

Thanks


Forum|alt.badge.img+1
  • Dentally Team
  • September 24, 2026

Hi Saimen, using oAuth will persist the integration if the user who set it up leaves. 
I would recommend adoption the NexGen APIs, please see documentation at Introduction

Next week, you will have the capability to create NexGen API credentials via Dentally > Settings > Developer. 

The NexGen APIs will be continuously developed until parity with the legacy v1 APIs is reached, aiming for the end of the year. 

Thanks