---
title: Shepherd API Integration on Truto
slug: shepherd
category: CRM
canonical: "https://truto.one/integrations/detail/shepherd/"
---

# Shepherd API Integration on Truto



**Category:** CRM  
**Status:** Beta

## MCP-ready AI tools

Truto exposes 95 tools for Shepherd that AI agents can call directly.

- **list_all_shepherd_appointment_cancellation_reasons** — POST /pav2/open-api-appointment-cancellation-reasons on Shepherd. Cancellation reason taxonomy used when an appointment is cancelled. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **create_a_shepherd_appointment_note** — POST /pav2/open-api-appointment-notes/write on Shepherd. Free-form notes attached to an appointment. Write only; there is no list endpoint for appointment notes.
- **list_all_shepherd_appointment_statuses** — POST /pav2/open-api-appointment-statuses on Shepherd. Status taxonomy (scheduled, checked-in, in-room, completed, no-show). Appointment status values. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_appointment_types** — POST /pav2/open-api-appointment-types on Shepherd. Type taxonomy (wellness, dental, surgery, recheck, etc.). The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **shepherd_appointments_bulk_update** — PUT /pav2/open-api-appointments/{id}/update on Shepherd. Updates an existing appointment. This is a PUT , so it is a full replacement : send the complete appointment representation, not just the fields you changed. Any editable field omitted from the body is cleared. See Updating records for the general rule and the read-merge-write pattern that keeps it safe. Required on update: startDate , endDate , and providerId . Required: appointment_id.
- **list_all_shepherd_appointments** — POST /pav2/open-api-appointments on Shepherd. Returns a paginated collection of appointments for the clinic. The most common pattern is a date-range query for “today” or “this week”; the example below shows the exact ISO 8601 timestamps to send. Appointments have two kinds of date filter, and they answer different questions: Send both ends of whichever pair you use and keep the window to one calendar month or less. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **create_a_shepherd_appointment** — POST /pav2/open-api-appointments/write on Shepherd. Creates a new appointment on the clinic calendar. Required: startDate , endDate , and providerId . Everything else is optional, but the optional fields interact: The API does not stop you from booking a provider into a slot that is already taken. Check the provider’s availability ( POST /pav2/open-api-provider-availabilities/timeslots , with providerIds and a short date range) before you create the appointment. Required: startDate, endDate, providerId.
- **list_all_shepherd_breeds** — POST /pav2/open-api-breeds on Shepherd. Breeds. Each belongs to a species. getBreedsByClinicId , getBreedsByGroupId , speciesId , isLegacy , isDeleted. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_client_balance_aging** — POST /pav2/open-api-client-balances/aging on Shepherd. Client balances. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_client_balances** — POST /pav2/open-api-client-balances/balances on Shepherd. dateUpdatedFrom / To , clientIds , clientClinicAccountIds. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_client_co_owners** — POST /pav2/open-api-client-co-owners on Shepherd. Co-owners attached to a client, with their phone numbers. Keyed by the owning client’s ID. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_client_credit_balance_aging** — POST /pav2/open-api-client-balances/credit-balance-aging on Shepherd. balances filters on dateUpdatedFrom / dateUpdatedTo , clientIds , and clientClinicAccountIds . It accepts dateCreatedFrom / dateCreatedTo , ids , and embed without an error but does not apply them. Sorting balances by dateCreated , or by any field whose name contains id , returns 501 . The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_client_discounts** — POST /pav2/open-api-client-discounts on Shepherd. Discount programs and percentage adjustments applied to the client’s invoices. Client discount programs. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_client_infos** — POST /pav2/open-api-client-infos on Shepherd. Extended profile fields and household metadata. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_client_notes** — POST /pav2/open-api-client-notes on Shepherd. Free-form notes recorded by clinic staff against the client. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_client_outstanding_balance_aging** — POST /pav2/open-api-client-balances/outstanding-balance-aging on Shepherd. Client balances. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_client_phones** — POST /pav2/open-api-client-phones on Shepherd. Phone numbers attached to a client (mobile, home, work). The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_client_referral_sources** — POST /pav2/open-api-client-referral-source on Shepherd. Referral sources linked to a client. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **shepherd_clients_bulk_update** — PUT /pav2/open-api-clients/{id}/update on Shepherd. Updates an existing client. This is a PUT , so it is a full replacement : send the complete client representation, not just the fields you changed. Any editable field omitted from the body is cleared. See Updating records for the general rule. Required on every update: firstName , lastName , and clientPhones . Omitting any of them is rejected. What happens to each field you leave out of the body: PUT /pav2/open-api-clients/{id}/update. Required: client_id.
- **list_all_shepherd_clients** — POST /pav2/open-api-clients on Shepherd. Returns a paginated collection of clients for the clinic identified by X-Clinic-Id . Accepts the standard collection parameters: page , rpp , sort , searchQuery , embed , and the dateCreatedFrom / dateCreatedTo date-range pair. See Conventions for the full parameter rules. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **create_a_shepherd_client** — POST /pav2/open-api-clients/write on Shepherd. Creates a new client record for the clinic. Required: firstName , lastName , and clientPhones . The phone array is required by the model, so send it even if the client has no number on file; pass [] in that case. Each entry in clientPhones requires countryId , phoneNumber , and phoneTypeId , all resolved from Lookups ( open-api-countries and open-api-phone-types ). isPrimary and phoneNumberName are optional. Required: firstName, lastName, clientPhones.
- **list_all_shepherd_clinic_users** — POST /pav2/open-api-clinic-users on Shepherd. Returns the clinic-membership records that join a user to a clinic, plus per-clinic settings (e.g. isTimeClockEnabled , license fields). Use this when you need to know which clinic a user belongs to in a multi-site account, or to surface clinic-scoped flags. For names, role, and approval status, the /open-api-users endpoint above is usually enough. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_clinics** — POST /pav2/open-api-clinics on Shepherd. Returns a paginated collection of the clinics your keys can access. Accepts the standard collection parameters: page , rpp , sort , embed , and a searchQuery that matches on clinic name and contact details. Because this endpoint is not clinic-scoped, you can call it with just your two integration keys. See Conventions for the full parameter rules. The clinic id travels as a request header , the same as your two keys. Sent without X-Clinic-Id: lists the clinics the keys can reach. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_countries** — POST /pav2/open-api-countries on Shepherd. Countries, used by countryId on phone numbers. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_groups** — POST /pav2/open-api-groups on Shepherd. groupId tells you whether the clinic rolls up to a multi-location operator. If it is set, call POST /pav2/open-api-groups with that clinic’s id in X-Clinic-Id (the group lookup requires it) to read the group’s isMultiSite flag and its data-sharing settings before you decide how to pull data across locations. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_inventory_locations** — POST /pav2/open-api-inventory-locations on Shepherd. Returns the inventory locations configured for the clinic identified by X-Clinic-Id . Most clinics have a handful of locations; this list changes rarely, so most integrations cache it client-side. List inventory locations defined for a clinic. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_inventory_product_location_products** — POST /pav2/open-api-inventory-product-location-products on Shepherd. List products with stock levels at a given location. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_inventory_product_settings** — POST /pav2/open-api-inventory-product-settings on Shepherd. Per-product inventory configuration (reorder points, etc.). The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_inventory_statuses** — POST /pav2/open-api-inventory-status on Shepherd. ids , searchQuery Status values used to flag inventory items (active, archived). Inventory status values. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_inventory_transaction_journals** — POST /pav2/open-api-inventory/transaction-journals on Shepherd. dateFrom / dateTo (the transaction date, one month at most), inventoryProductSettingIds , userIds Audit trail of every inventory movement. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_inventory_vendors** — POST /pav2/open-api-inventory-vendors on Shepherd. Vendors a clinic purchases inventory from. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_invoice_items** — POST /pav2/open-api-invoice-items on Shepherd. Invoice line items are read through their own collection endpoint, POST /pav2/open-api-invoice-items , using the same collection conventions as everything else. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_invoices** — POST /pav2/open-api-invoices on Shepherd. Standard collection envelope, paginated and filterable. See Conventions for the full pagination, sort, and date-range model. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_patient_attachments** — POST /pav2/open-api-patients/attachments on Shepherd. POST /pav2/open-api-patients/attachments returns the registered files for a patient, paginated with the same conventions as every other collection endpoint. Pass a patientId filter to scope to a single chart. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_patient_cpr_statuses** — POST /pav2/open-api-patient-cpr-statuses on Shepherd. Patient CPR / resuscitation-status values. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **create_a_shepherd_patient_file_upload_url** — POST /pav2/open-api-patients/file-presigned-upload-url on Shepherd. Request a presigned upload URL. POST /pav2/open-api-patients/file-presigned-upload-url takes patientId and fileName , and returns url (the short-lived S3 URL) and path (the key that identifies the object).
- **create_a_shepherd_patient_file** — POST /pav2/open-api-patients/file-entry-write on Shepherd. Register the file entry. POST /pav2/open-api-patients/file-entry-write records patientId , fileName , and the path returned in step 1, so the file shows up in the patient chart.
- **create_a_shepherd_patient_note** — POST /pav2/open-api-patient-notes/write on Shepherd. Instead, import each historical prescription as a patient note. This is the same approach Shepherd’s own data-migration process uses (those notes are labeled “imported prescription”): the note preserves the historical fact that a prescription was issued at a specific point in time, without creating a new dispensing event. Put the original prescribed date, drug, strength, directions, quantity, and refill details in the note body.
- **list_all_shepherd_patient_sexes** — POST /pav2/open-api-patient-sexes on Shepherd. Patient sex values (male, female, neutered, spayed, unknown). The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_patient_statuses** — POST /pav2/open-api-patient-statuses on Shepherd. Patient status values (active, inactive, deceased, and so on). The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **shepherd_patients_bulk_update** — PUT /pav2/open-api-patients/{id}/update on Shepherd. Updates an existing patient. This is a PUT , so it is a full replacement : send the complete patient representation, not just the fields you changed. Any editable field omitted from the body is cleared. See Updating records for the general rule and the read-merge-write pattern. Required on update: name , breedId , sexId , statusId , dateOfBirth , and color . Note that color is required here even though it is optional on create. Required: patient_id.
- **list_all_shepherd_patients** — POST /pav2/open-api-patients on Shepherd. Returns a paginated collection of patients for the clinic. Use searchQuery for free-text matching against name, microchip number, and rabies tag, embed to pull related data inline (for example embed: "clients,clients.clientPhones" ), and the standard page , rpp , sort , and dateCreatedFrom / dateCreatedTo parameters from Conventions . The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **create_a_shepherd_patient** — POST /pav2/open-api-patients/write on Shepherd. Creates a new patient under an existing client. Every reference field is a lookup ID, not a name. There is no free-text species , breed , or sex on this endpoint; resolve each one against its lookup first (see Resolving the lookup IDs below). Required on create:
- **list_all_shepherd_payment_methods** — POST /pav2/open-api-payment-methods on Shepherd. The list of tender types the clinic accepts (cash, card brands, check, in-house credit, gift card, etc.). Use this to populate a UI picker, or to translate the paymentMethodId on a payment record into a human-readable name. A parallel endpoint, /pav2/open-api-payment-statuses , returns the payment-status catalog (pending, approved, declined, voided, refunded). Both are also discoverable through Lookups . The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_payment_statuses** — POST /pav2/open-api-payment-statuses on Shepherd. Payment status values. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_payments** — POST /pav2/open-api-payments on Shepherd. Returns payments recorded at the clinic identified by X-Clinic-Id . Filter by client, status, or date range as needed. For a group with sharing enabled, clinicIds widens the query to other clinics in the group. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_phone_types** — POST /pav2/open-api-phone-types on Shepherd. Phone types (mobile, home, work). The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_physical_exams** — POST /pav2/open-api-physical-exams on Shepherd. dateCreatedFrom / To The Objective section: physical-exam findings by body system. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_prescriptions** — POST /pav2/open-api-prescriptions on Shepherd. Standard collection envelope. Filter with comma-separated ID lists ( patientIds , productIds , clientIds ), embed related records such as createdByUser , and page through results with page and rpp . The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **create_a_shepherd_prescription** — POST /pav2/open-api-prescriptions/write on Shepherd. Creates a new prescription record. patientId and expirationDate are required. For an in-clinic product, provide productId ; for a written script filled outside the clinic, set isWritten to true, provide writtenProduct instead, and omit productId . See the live Swagger UI for the authoritative schemas.
- **list_all_shepherd_product_bundle_items** — POST /pav2/open-api-product-bundle-items on Shepherd. Line items that make up each bundle. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_product_bundles** — POST /pav2/open-api-product-budle on Shepherd. Bundles: pre-built groups of products for common visit types. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_product_categories** — POST /pav2/open-api-product-categories on Shepherd. Catalog categories used to organize products. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_product_tax_rates** — POST /pav2/open-api-product-tax-rates on Shepherd. Tax rates referenced by products and invoice items. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_products** — POST /pav2/open-api-products on Shepherd. Standard collection envelope. Filter and page through the catalog with the usual pagination, sort, and embed conventions. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_provider_schedule_templates** — POST /pav2/open-api-provider-schedule-templates on Shepherd. startDate / endDate , providerIds. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_provider_timeslots** — POST /pav2/open-api-provider-availabilities/timeslots on Shepherd. sendEmailNotification , sendSmsNotification , and sendFormEmailNotification all default to false. Leave them false unless the clinic wants your integration to message its clients. Overlapping bookings are not rejected The API does not stop you from booking a provider into a slot that is already taken. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_providers** — POST /pav2/open-api-providers on Shepherd. Returns the providers configured for the clinic identified by X-Clinic-Id . Availability is included on the record so most calendar UIs need a single round trip. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_rate_limits** — POST /pav2/open-api-rate-limits on Shepherd. You can ask the API where you stand at any time: POST /pav2/open-api-rate-limits Send the usual three headers, including X-Clinic-Id , and an empty JSON object. The call does not count against your budget. The response carries your integration’s actual limits and what is left in the current windows: Free (doesn't count against the rate limit).
- **list_all_shepherd_referral_sources** — POST /pav2/open-api-referral-source on Shepherd. Referral sources. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_refills** — POST /pav2/open-api-refills on Shepherd. Refills are read-only through the API: they are recorded in Shepherd when the clinic fills a script. Filter by prescriptionIds to pull the refill history for a script, or by patientIds and refillStatusIds ; embed refillStatus to inline the status lookup. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_reminder_notification_settings** — POST /pav2/open-api-reminder-notification-settings on Shepherd. Reminder settings are the templates that drive how reminders are produced: which trigger (a vaccine product, an appointment type), what cadence, and which message goes out. The settings endpoint returns the template definitions; the notification-settings endpoint returns the per-channel rules (when to send the first nudge, the second, etc.). The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_reminder_notifications** — POST /pav2/open-api-reminder-notifications on Shepherd. The per-channel send records produced when a reminder fires: one notification per channel (email / SMS / postcard) per reminder. Use these to surface “what did the clinic send and when” in a marketing dashboard or to suppress duplicate sends from your own outbound stack. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_reminder_settings** — POST /pav2/open-api-reminder-settings on Shepherd. Reminder settings (templates). The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_reminders** — POST /pav2/open-api-reminders on Shepherd. Returns reminders for the clinic in X-Clinic-Id . Useful filters: clientIds , patientIds , dateDueFrom / dateDueTo , isCompleted , isDeleted . In a group with sharing enabled, set clinicIds to widen the query; includePatientHomeClinic=true also pulls reminders that belong to a patient’s home clinic. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_schedule_template_appointments** — POST /pav2/open-api-schedule-template-appointments on Shepherd. startDate / endDate , scheduleTemplateIds. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_schedule_templates** — POST /pav2/open-api-schedule-templates on Shepherd. Returns the appointment-type catalog used by the clinic calendar: each template carries a name, duration, color, and the rules that decide which providers it applies to. Combine providers and schedule templates to build a slot picker. The list is small and has no date filter: it accepts the standard dateCreated / dateUpdated pairs but does not apply them, so page it with rpp of 100 or less and cache it. ids (there is no date filter). The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_soap_assessment_diagnosis_descriptions** — POST /pav2/open-api-soap-assessment-diagnosis-description on Shepherd. Diagnosis descriptions on the Assessment section. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_soap_assessment_notes** — POST /pav2/open-api-soap-assessment-notes on Shepherd. Notes attached to the Assessment section. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_soap_assessments** — POST /pav2/open-api-soap-assessments on Shepherd. The Assessment section: diagnoses and differential list. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_soap_discharge_instructions** — POST /pav2/open-api-soap-discharge-instructions on Shepherd. Discharge instructions printed for the client. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **create_a_shepherd_soap_imaging_file** — POST /pav2/open-api-soap-imaging/file-entry-write on Shepherd. Attach an imaging file, using the same three-step presigned-upload flow as patient files . Step 3 of an imaging file upload: register the uploaded file.
- **list_all_shepherd_soap_imaging_notes** — POST /pav2/open-api-soap-imaging-notes on Shepherd. Notes on imaging studies attached to the SOAP record. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **create_a_shepherd_soap_imaging_upload_url** — POST /pav2/open-api-soap-imaging/file-presigned-upload-url on Shepherd. Attach an imaging file, using the same three-step presigned-upload flow as patient files . Step 1 of an imaging file upload: request a presigned S3 URL.
- **list_all_shepherd_soap_plan_notes** — POST /pav2/open-api-soap-plan/note on Shepherd. Free-form notes on the Plan section. Free-form notes on the plan section. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_soap_plan_recommendations** — POST /pav2/open-api-soap-plan/recommendation on Shepherd. Recommendations recorded on the Plan section. Recommendations recorded on the plan. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_soap_plan_treatment_notes** — POST /pav2/open-api-soap-plan/treatment-note on Shepherd. Notes attached to individual treatments. Notes attached to individual treatments; embed soapTreatment to inline the parent line item. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_soap_plan_treatments** — POST /pav2/open-api-soap-plan/treatment on Shepherd. Standard collection envelope. Filter with comma-separated ID lists ( patientIds , productIds , soapPlanIds , clientIds ), or by the dateCreatedFrom / dateCreatedTo pair for time-series pulls; searchQuery matches on patient name. Page through results with page and rpp . The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_soap_subjectives** — POST /pav2/open-api-soap-subjectives on Shepherd. The Subjective section: owner-reported history and presenting complaint. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **create_a_shepherd_soap_vital_entry** — POST /pav2/open-api-soap-vital-entries/write on Shepherd. Record a vitals entry against a visit.
- **list_all_shepherd_soap_vital_entries** — POST /pav2/open-api-soap-vital-entries on Shepherd. Vitals captured during the visit (temperature, heart rate, weight, etc.). The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_soaps** — POST /pav2/open-api-soaps on Shepherd. Returns a paginated collection of SOAP records for the clinic. Filter by patientIds (a comma-separated list, so it takes one or many) to pull a chart history for a single pet, or by the dateCreatedFrom / dateCreatedTo pair (max 1-month range) for time-series analysis. Use embed to inline related records, for example embed: "patient,appointment" . The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_species** — POST /pav2/open-api-species on Shepherd. Species (canine, feline, and so on). getSpeciesByClinicId , getSpeciesByGroupId , isLegacy , isDeleted. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **update_a_shepherd_task_entry_by_id** — PUT /pav2/open-api-task-entries/update/{id} on Shepherd. This is not a partial update , even though a few fields survive omission. What happens to each field you leave out of the body: So a body that only changes the status wipes the task’s title, description, client and patient context, and assignees. To change one thing, read the task first, embedding its assignments, and resend everything: To mark a task complete, set taskEntryStatusId to the completed status from the status lookup. Required: id.
- **list_all_shepherd_task_entries** — POST /pav2/open-api-task-entries on Shepherd. Returns tasks at the clinic identified by X-Clinic-Id . Common filters: searchQuery (matches name, description, attached client and patient names), assignedToUserIds , taskEntryStatusIds , taskEntryPriorityStatusIds , clientIds , patientIds , and dueDateFrom / dueDateTo . In a group with sharing enabled, clinicIds widens to other clinics. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **create_a_shepherd_task_entry** — POST /pav2/open-api-task-entries/write on Shepherd. Creates a new task. name , dateDue , and taskEntryPriorityStatusId are required. A task may be assigned to either users or teams, not both: send assignedToUsersIds or assignedToTeamsIds , not the two together. If you set patientId , you must also set clientId , and the patient must belong to that client. Follow up on the CBC from yesterday's visit. The server returns the created task as the response body, with id populated.
- **list_all_shepherd_task_entry_priority_statuses** — POST /pav2/open-api-task-entry-priority-statuses on Shepherd. Returns the priority catalog (low / normal / high / urgent) with the ids you pass to taskEntryPriorityStatusId . Also discoverable through Lookups . Task priority values. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **update_a_shepherd_task_note_by_id** — PUT /pav2/open-api-task-notes/update/{id} on Shepherd. Task notes are free-text comments attached to a task. List them by the standard search-filter pattern, create with /write , update with /update/{id} . The note carries a taskEntryId linking back to its parent. On update, only note can change; send it in full. The note update returns 204 No Content . PUT /pav2/open-api-task-notes/update/{id}. Required: id.
- **list_all_shepherd_task_notes** — POST /pav2/open-api-task-notes on Shepherd. Task notes. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **create_a_shepherd_task_note** — POST /pav2/open-api-task-notes/write on Shepherd. Task notes.
- **list_all_shepherd_temperature_units** — POST /pav2/open-api-temperature-units on Shepherd. Temperature units. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_time_units** — POST /pav2/open-api-time-units on Shepherd. Time units. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_uom_units** — POST /pav2/open-api-uom-units on Shepherd. Units of measure (each, ml, tablet, gram, etc.). Units of measure, used by inventory and products. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_users** — POST /pav2/open-api-users on Shepherd. Returns the users at the clinic identified by X-Clinic-Id . Use a search query to look up a user by name, or filter by role. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.
- **list_all_shepherd_weight_units** — POST /pav2/open-api-weight-units on Shepherd. Weight units, used by weightUnitId on weight entries. The connector pages through every page (page / rpp in the body, 100 records a page). Records at item.

## How it works

1. **Link your customer's Shepherd account.** Use Truto's frontend SDK; we handle every OAuth and API key flow so you don't need to create the OAuth app.
2. **Authentication is automatic.** Truto refreshes tokens, stores credentials securely, and injects them into every API request.
3. **Call Truto's API to reach Shepherd.** The Proxy API is a 1-to-1 mapping of the Shepherd API.
4. **Get a unified response format.** Every response uses a single shape, with cursor-based pagination and data in the `result` field.

## Use cases

- **Embed online booking in pet owner apps** — Let pet owners self-schedule exams, vaccines, and virtual consults inside your product by reading Shepherd provider timeslots and writing appointments back into the clinic calendar. Ideal for telehealth and pet owner experience platforms that need real-time clinic availability.
- **Power client engagement and vaccine reminders** — Sync Shepherd clients, patients, reminders, and appointment data to drive automated SMS/email campaigns for overdue vaccines, post-op check-ins, and rebooking. Keep contact details in sync by writing updates back to the client record.
- **Automate revenue recovery for veterinary groups** — Pull invoices, payments, and client outstanding balance aging to identify late accounts and trigger dunning workflows. Create follow-up tasks in Shepherd so front desk staff can close the loop once a payment is collected.
- **Push diagnostics and imaging into the patient chart** — Lab, radiology, and teleradiology SaaS can fetch scheduled appointments, then push results, images, and reports back to the correct patient file using Shepherd's presigned S3 upload flow. Clinicians see everything in one chart without manual uploads.
- **Monitor inventory and automate reordering** — Vendor and inventory platforms can watch product-location stock levels and inventory settings across clinics, then draft purchase orders when thresholds are crossed. Multi-site veterinary groups get centralized visibility across every location.

## What you can build

- **Real-time appointment booking widget** — Read provider timeslots and schedule templates to show open slots, then create appointments directly in Shepherd with proper slot validation to prevent overlaps.
- **Two-way client and patient sync** — Keep client contact info, patient demographics, species, breeds, and statuses in sync using Shepherd's read-merge-write pattern — abstracted by Truto so you only send the delta.
- **SOAP-aware clinical data pipeline** — Extract granular subjectives, assessments, physical exams, vitals, plan notes, and discharge instructions to feed AI scribes, analytics, or longitudinal patient health records.
- **Prescription and refill automation** — List prescriptions and refills, then create new prescriptions in Shepherd to power online pharmacy fulfillment or auto-refill reminders for pet owners.
- **Lab result and imaging upload into patient files** — Use the presigned upload URL flow to attach lab PDFs, radiology images, and SOAP imaging files directly to the right patient chart without manual data entry.
- **Multi-clinic financial reporting dashboards** — Aggregate invoices, invoice items, payments, payment methods, and client balance aging across clinics and groups to power finance and ops dashboards for DVM networks.

## FAQs

### How does authentication to Shepherd work through Truto?

Shepherd uses API key–based authentication with a required X-Clinic-Id header on nearly every request. Truto handles credential storage per end user and automatically injects the clinic context so you don't have to manage headers or key rotation.

### How do updates to clients, patients, and appointments work?

Shepherd's update endpoints require full object replacement rather than partial patches. Truto abstracts the read-merge-write pattern via bulk update tools like shepherd_clients_bulk_update, shepherd_patients_bulk_update, and shepherd_appointments_bulk_update so you can send just the changed fields.

### Does Shepherd support multi-location veterinary groups?

Yes. Shepherd exposes clinics, groups, and multi-site flags, and every call is scoped to a clinic via X-Clinic-Id. You can list clinics and groups to route requests to the correct location for corporate veterinary networks.

### How do I attach lab results, images, or other files to a patient chart?

Shepherd uses a three-step presigned S3 upload. Truto exposes create_a_shepherd_patient_file_upload_url and create_a_shepherd_patient_file (plus equivalents for SOAP imaging) so you can request a URL, upload to S3, and register the file against the patient in one flow.

### Does Shepherd prevent double-booking appointments?

No — Shepherd's API does not block overlapping bookings. Integrators should validate availability against provider timeslots and schedule templates before calling create_a_shepherd_appointment. Truto surfaces both endpoints so you can implement proper slot checking.

### What rate limits apply, and how fresh is the data?

Shepherd enforces API rate limits that you can inspect via list_all_shepherd_rate_limits. Truto pulls data on demand and via scheduled syncs, so you get near real-time reads while respecting Shepherd's limits automatically.
