API documentation for HeyDonto Authentication and User Management
https://docs.heydonto.com/_mock/apis/authentication/openapi/
https://api-staging.heydonto.com/
https://api.heydonto.com/
- Mock server
https://docs.heydonto.com/_mock/apis/authentication/openapi/auth/synchronizer/activate
 - Sandbox
https://api-staging.heydonto.com/auth/synchronizer/activate
 - Production
https://api.heydonto.com/auth/synchronizer/activate
 
- curl
 - JavaScript
 - Node.js
 - Python
 - Java
 - C#
 - PHP
 - Go
 - Ruby
 - R
 - Payload
 
curl -i -X POST \
  https://docs.heydonto.com/_mock/apis/authentication/openapi/auth/synchronizer/activate \
  -H 'Content-Type: application/json' \
  -d '{
    "licenseKey": "SITE-LICENSE-KEY-123",
    "deviceId": "DEVICE-ABC-123",
    "version": "1.0.0",
    "hostname": "dental-office-server"
  }'- Mock server
https://docs.heydonto.com/_mock/apis/authentication/openapi/auth/synchronizer/refresh
 - Sandbox
https://api-staging.heydonto.com/auth/synchronizer/refresh
 - Production
https://api.heydonto.com/auth/synchronizer/refresh
 
- curl
 - JavaScript
 - Node.js
 - Python
 - Java
 - C#
 - PHP
 - Go
 - Ruby
 - R
 - Payload
 
curl -i -X POST \
  https://docs.heydonto.com/_mock/apis/authentication/openapi/auth/synchronizer/refresh \
  -H 'Content-Type: application/json' \
  -d '{
    "refreshToken": "string",
    "deviceId": "DEVICE-ABC-123"
  }'- Mock server
https://docs.heydonto.com/_mock/apis/authentication/openapi/auth/synchronizer/deactivate
 - Sandbox
https://api-staging.heydonto.com/auth/synchronizer/deactivate
 - Production
https://api.heydonto.com/auth/synchronizer/deactivate
 
- curl
 - JavaScript
 - Node.js
 - Python
 - Java
 - C#
 - PHP
 - Go
 - Ruby
 - R
 - Payload
 
curl -i -X POST \
  https://docs.heydonto.com/_mock/apis/authentication/openapi/auth/synchronizer/deactivate \
  -H 'Content-Type: application/json' \
  -d '{
    "licenseKey": "SITE-LICENSE-KEY-123",
    "deviceId": "DEVICE-ABC-123"
  }'- Mock server
https://docs.heydonto.com/_mock/apis/authentication/openapi/auth/synchronizer/heartbeat
 - Sandbox
https://api-staging.heydonto.com/auth/synchronizer/heartbeat
 - Production
https://api.heydonto.com/auth/synchronizer/heartbeat
 
- curl
 - JavaScript
 - Node.js
 - Python
 - Java
 - C#
 - PHP
 - Go
 - Ruby
 - R
 - Payload
 
curl -i -X POST \
  https://docs.heydonto.com/_mock/apis/authentication/openapi/auth/synchronizer/heartbeat \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "deviceId": "DEVICE-ABC-123",
    "siteId": 1,
    "status": "healthy",
    "lastSyncTime": "2019-08-24T14:15:22Z",
    "errorCount": 0,
    "metrics": {}
  }'