Get a team member
Returns one team member, looked up by email. Deleted members return 404 unless includeDeleted=true.
Request
| Field | Value |
|---|---|
| Method | GET |
| URL | https://next.telecrm.in/autoupdate/v2/enterprise/{enterpriseId}/team-members/{email} |
| Auth | Bearer token (Sync-typed). See Authentication. |
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
enterpriseId | string | yes | The enterprise (workspace) ID. |
email | string | yes | Email address of the team member. |
Query parameters
| Name | Type | Default | Description |
|---|---|---|---|
includeDeleted | boolean | false | When 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"
}
}