π¬Team APIs
The Team APIs section provides endpoints for managing teams within the system. Users can create new teams, retrieve information about existing teams, and update team details. This section is designed to help users organize and manage their teams effectively. The JWT token and API key must be included in the headers of these requests to ensure proper authorization.
Get All Teams
Endpoint:
GET /api/teamHeaders:
Authorization: Bearer your_jwt_token_here apikey: your_api_key_here Content-Type: application/jsonResponse:
{ "data": [ ... ] }
Store Team
Endpoint:
POST /api/team-storeHeaders:
Authorization: Bearer your_jwt_token_here apikey: your_api_key_here Content-Type: application/jsonRequest Body:
{ "name": "Team Name", ... }Response:
{ "message": "Team created successfully", "data": { ... } }
Update Team
Endpoint:
POST /api/team-update/{id}Headers:
Request Body:
Response:
Last updated