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/login
- Sandbox
https://api-staging.heydonto.com/auth/login
- Production
https://api.heydonto.com/auth/login
- 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/login \
-H 'Content-Type: application/json' \
-d '{
"email": "user@example.com",
"password": "password123"
}'{ "message": "Login successful", "token": "jwt_token_here" }
- Mock server
https://docs.heydonto.com/_mock/apis/authentication/openapi/auth/logout
- Sandbox
https://api-staging.heydonto.com/auth/logout
- Production
https://api.heydonto.com/auth/logout
- 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/logout- Mock server
https://docs.heydonto.com/_mock/apis/authentication/openapi/auth/user
- Sandbox
https://api-staging.heydonto.com/auth/user
- Production
https://api.heydonto.com/auth/user
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.heydonto.com/_mock/apis/authentication/openapi/auth/user \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "email": "user@example.com", "fhirStoreId": "heydonto-sandbox", "id": "1234", "organizationIds": [ "1", "2" ], "brandIds": [ "1", "3" ], "siteIds": [ "4", "5" ], "role": "SITE_USER", "firstName": "John", "lastName": "Doe", "tosAcceptedAt": "2024-01-02T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/authentication/openapi/auth/tos-accept
- Sandbox
https://api-staging.heydonto.com/auth/tos-accept
- Production
https://api.heydonto.com/auth/tos-accept
- 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/tos-accept \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/authentication/openapi/auth/forgot-password
- Sandbox
https://api-staging.heydonto.com/auth/forgot-password
- Production
https://api.heydonto.com/auth/forgot-password
- 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/forgot-password \
-H 'Content-Type: application/json' \
-d '{}'- Mock server
https://docs.heydonto.com/_mock/apis/authentication/openapi/auth/set-password
- Sandbox
https://api-staging.heydonto.com/auth/set-password
- Production
https://api.heydonto.com/auth/set-password
- 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/set-password \
-H 'Content-Type: application/json' \
-d '{}'- Mock server
https://docs.heydonto.com/_mock/apis/authentication/openapi/auth/regenerate-invitation
- Sandbox
https://api-staging.heydonto.com/auth/regenerate-invitation
- Production
https://api.heydonto.com/auth/regenerate-invitation
- 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/regenerate-invitation