HeyDonto Authentication Documentation (1.0)
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/users
- Sandbox
https://api-staging.heydonto.com/users
- Production
https://api.heydonto.com/users
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/authentication/openapi/users?clientAccountId=string&userRole=ADMIN' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
The role of the user
- Mock server
https://docs.heydonto.com/_mock/apis/authentication/openapi/users
- Sandbox
https://api-staging.heydonto.com/users
- Production
https://api.heydonto.com/users
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.heydonto.com/_mock/apis/authentication/openapi/users \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"email": "john.doe@example.com",
"firstName": "John",
"lastName": "Doe",
"password": "password123",
"isEnabled": true,
"organizationId": 1,
"brandId": 1,
"siteId": 1,
"role": "ADMIN",
"clientAccountId": [
1,
2,
3
]
}'
The role of the user
- Mock server
https://docs.heydonto.com/_mock/apis/authentication/openapi/users/{userId}
- Sandbox
https://api-staging.heydonto.com/users/{userId}
- Production
https://api.heydonto.com/users/{userId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.heydonto.com/_mock/apis/authentication/openapi/users/{userId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"email": "john.doe@example.com",
"firstName": "John",
"lastName": "Doe",
"isEnabled": true,
"role": "ADMIN",
"clientAccountId": [
1,
2,
3
]
}'
- Mock server
https://docs.heydonto.com/_mock/apis/authentication/openapi/users/{userId}
- Sandbox
https://api-staging.heydonto.com/users/{userId}
- Production
https://api.heydonto.com/users/{userId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.heydonto.com/_mock/apis/authentication/openapi/users/{userId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'