---
title: "Get primary providers sorted by display order (for schedule team view)"
method: GET
path: "/Users/primary-providers"
tags: ["Users"]
---

# Get primary providers sorted by display order (for schedule team view)

`GET /Users/primary-providers`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/Users/primary-providers`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/Users/primary-providers/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

OK

- UserResponseDto[]
  - `id` string
  - `email` string
  - `displayName` string, nullable
  - `firstName` string
  - `lastName` string
  - `type` integer
  - `createdAt` string, date-time
  - `updatedAt` string, date-time, nullable
  - `lastLoginAt` string, date-time, nullable
  - `isActive` boolean
  - `roleId` string, nullable
  - `roleName` string, nullable
  - `permissions` string[], nullable
  - `invitedAt` string, date-time, nullable
  - `passwordResetRequired` boolean
  - `mentorId` string, nullable
  - `mentorName` string, nullable
  - `mentorshipStartDate` string, date-time, nullable
  - `mentorshipDurationDays` union
    - integer
    - string, int32
  - `isMentorshipActive` boolean
  - `isPrimaryProvider` boolean
  - `careTeamRole` string, nullable: The care-team role (a `CareTeamRole` name) this user defaults to when added to an appointment's care team (ITE-1060): the role's explicit mapping, else the fallback from `CareTeamRoles.DefaultFor`. Lets the care-team picker show the same default the server would apply.
  - `displayOrder` union
    - integer
    - string, int32
  - `deaNumber` string, nullable
  - `licenseNumber` string, nullable
  - `licenseState` string, nullable
  - `usdaNumber` string, nullable
  - `deaLicenseExpiryDate` string, date-time, nullable
  - `stateLicenseExpiryDate` string, date-time, nullable
  - `usdaLicenseExpiryDate` string, date-time, nullable
  - `signatureImage` string, nullable: The provider's stored signature as a `data:image/...;base64,` data URL, applied to generated documents (e.g. the vaccine certificate). Null when none on file.
  - `defaultExamTemplateId` string, nullable: Provider's selected default exam template id, or null to use the built-in 7-system view.
  - `noteStyleInstructions` string, nullable: This clinician's personal note house style, or null when they defer entirely to the practice-wide setting. Applied on top of the practice preference, never instead of it.

## Changes

- **2026-10-07** `021fabd866ff`: 3 info
  - added the optional property `items/careTeamRole` to the response with the `200` status (media type: text/plain)
  - added the optional property `items/careTeamRole` to the response with the `200` status (media type: application/json)
  - added the optional property `items/careTeamRole` to the response with the `200` status (media type: text/json)
- **2026-09-11** `503cd0546309`: 3 info
  - added the optional property `items/noteStyleInstructions` to the response with the `200` status (media type: text/plain)
  - added the optional property `items/noteStyleInstructions` to the response with the `200` status (media type: application/json)
  - added the optional property `items/noteStyleInstructions` to the response with the `200` status (media type: text/json)

[Operation history](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/changes/Users/primary-providers/get.md)

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
