Resources
Team | FieldCamp API
List technicians and field staff whose user IDs you'll assign to jobs and visits.
The team endpoint returns the technicians and field staff at your tenant. You need their IDs to:
- Populate
assignedToTeamson a job (despite the name, these are user IDs). - Populate
technicianIdon a visit.
Usage
Call GET /api/team once at integration startup and cache the result.
Re-fetch when you add or remove staff.
const { data } = await fc.get('/api/team');
const technicians = data.data.team.filter(t => t.isActive);
const defaultTechnicianId = technicians[0].id;Endpoints
GET
/api/teamAuthorizationBearer <token>
Pass your JWT API key as Authorization: Bearer <token>. Send
alongside X-API-Key: <token> for maximum compatibility.
In: header
Response Body
application/json
application/json
curl -X GET "https://api.fieldcamp.ai/api/team"{
"success": true,
"data": {
"team": [
{
"id": "string",
"firstName": "string",
"lastName": "string",
"email": "user@example.com",
"role": "Technician",
"isActive": true
}
]
}
}{
"success": false,
"error": "Invalid or expired token"
}