Endpoint
Authentication
This endpoint is public and does not require authentication for basic listing. However, this documentation covers the admin context where you may want to manage specialties.
Description
Retrieves all medical specialties available in the system. The results are ordered alphabetically by name. This endpoint serves both public users (for selecting specialties when booking appointments) and administrators (for managing the specialty catalog).Response
Returns an array of specialty objects.Response Fields
Unique identifier for the specialty
Name of the medical specialty
Description of the specialty (can be null)
Example Request
Example Response
Error Responses
500 Internal Server Error
Server error while retrieving specialties
Notes
- Results are sorted alphabetically by specialty name
- This endpoint returns all specialties without pagination
- No authentication is required for viewing the list
- For creating, updating, or deleting specialties, admin authentication is required
Related Endpoints
- Create Specialty - Add a new specialty (admin only)
- Update Specialty - Modify a specialty (admin only)
- Delete Specialty - Remove a specialty (admin only)