API documentation for HeyDonto API
curl -i -X GET \ https://docs.heydonto.com/_mock/apis/heydonto/openapi/organization \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
[ { "title": "HealthCorp", "website": "https://heydonto.com", "isEnabled": true } ]
curl -i -X POST \ https://docs.heydonto.com/_mock/apis/heydonto/openapi/organization \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "title": "HealthCorp", "website": "https://heydonto.com", "isEnabled": true }'
{ "title": "HealthCorp", "website": "https://heydonto.com", "isEnabled": true }
curl -i -X GET \ 'https://docs.heydonto.com/_mock/apis/heydonto/openapi/organization/{organizationId}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "title": "HealthCorp", "website": "https://heydonto.com", "isEnabled": true }
curl -i -X PUT \ 'https://docs.heydonto.com/_mock/apis/heydonto/openapi/organization/{organizationId}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "title": "HealthCorp", "website": "https://heydonto.com", "isEnabled": true, "id": 123 }'
{ "title": "HealthCorp", "website": "https://heydonto.com", "isEnabled": true, "id": 123 }
curl -i -X DELETE \ 'https://docs.heydonto.com/_mock/apis/heydonto/openapi/organization/{organizationId}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "message": "Unauthorized", "statusCode": 401 }