Skip to content

Get a team member

Returns one team member, looked up by email. Deleted members return 404 unless includeDeleted=true.

Request

FieldValue
MethodGET
URLhttps://next.telecrm.in/autoupdate/v2/enterprise/{enterpriseId}/team-members/{email}
AuthBearer token (Sync-typed). See Authentication.

Path parameters

NameTypeRequiredDescription
enterpriseIdstringyesThe enterprise (workspace) ID.
emailstringyesEmail address of the team member.

Query parameters

NameTypeDefaultDescription
includeDeletedbooleanfalseWhen true, deleted members are returned instead of 404.

Example request

bash
curl "https://next.telecrm.in/autoupdate/v2/enterprise/{enterpriseId}/team-members/jane.doe@example.com" \
  -H "Authorization: Bearer YOUR_SYNC_TOKEN"

Responses

200 OK

json
{
  "name": "Jane Doe",
  "email": "jane.doe@example.com",
  "status": "Working",
  "phone_number": "919999999999",
  "manager_name": "John Smith",
  "manager_email": "john.smith@example.com",
  "permission_template_name": "Sales Agent",
  "license": {
    "status": "ACTIVE",
    "type": "GROWTH",
    "start_date": "2024-01-01",
    "end_date": "2025-01-01"
  }
}

license is null if the team member has no license assigned.

400 Bad Request

Email is malformed.

json
{
  "error": {
    "code": "BAD_REQUEST",
    "message": "Invalid email format"
  }
}

401 Unauthorized

See the universal 401 in the overview.

404 Not Found

No team member with this email exists, or they're deleted and includeDeleted is false.

json
{
  "error": {
    "code": "TEAM_MEMBER_NOT_FOUND",
    "message": "Team member not found"
  }
}