Authentication
All instrument endpoints require authentication via JWT token.Pass the JWT token in the
Authorization header as Bearer YOUR_TOKENList Instruments
Retrieve all available instruments in the system.Response
Whether the request was successful
Array of instrument objects
Example
cURL
Response
Update My Instruments
Update the list of instruments that the authenticated user can play.Request Body
Array of instrument IDs that the user can play
Response
Whether the instruments were updated successfully
Confirmation message (“Instrumentos actualizados” or error message)
Example
cURL
Response
Common Use Cases
Worship Team Member Profile
When a member joins the worship team, they can specify which instruments they play:- Call
GET /api/instrumentsto retrieve all available instruments - Present the list to the user for selection
- Call
POST /api/instruments/minewith the selected instrument IDs
Assigning Musicians to Services
When creating a setlist or meeting assignment:- Query members who have specific instrument proficiencies
- Assign appropriate roles (guitarist, pianist, vocalist, etc.)
- The instrument assignments are stored and can be referenced when scheduling
Error Responses
| Status | Error | Description |
|---|---|---|
| 401 | Unauthorized | Invalid or missing JWT token |
| 400 | Invalid instruments | The instruments array is invalid or empty |
Related APIs
People API
Manage team members and their profiles
Calendar API
Schedule worship services with instrument assignments
Teams API
Organize worship teams and roles