/pets resourceThis resource represents pet profiles in the PawFinder system across all adoption stages. Use this endpoint to manage pet inventory, power search and filtering features, and track pets from intake through adoption. Shelters must register before adding new pet profiles, visit the /shelters resource for details.
Base endpoint:
# Recommended base_url = http://localhost:3000
{base_url}/pets
/pets mapgraph TD
A["Pets Resource<br/>{base_url}/pets"]
A -->|GET| B["Get all pet profiles<br/>GET /pets"]
A -->|GET| C["Get pet by ID<br/>GET /pets/{id}"]
A -->|GET| D["Get with filters<br/>GET /pets?species=..."]
A -->|POST| E["Create pet profile<br/>POST /pets"]
A -->|PATCH| F["Partial update<br/>PATCH /pets/{id}"]
A -->|PUT| G["Replace pet<br/>PUT /pets/{id}"]
A -->|DELETE| H["Delete pet<br/>DELETE /pets/{id}"]
style A fill:#88b2c4,stroke:#333,stroke-width:2px,color:#fff
style B fill:#9989c4,stroke:#333,stroke-width:2px,color:#fff
style C fill:#9989c4,stroke:#333,stroke-width:2px,color:#fff
style D fill:#9989c4,stroke:#333,stroke-width:2px,color:#fff
style E fill:#cc848a,stroke:#333,stroke-width:2px,color:#000
style F fill:#cc848a,stroke:#333,stroke-width:2px,color:#000
style G fill:#cc848a,stroke:#333,stroke-width:2px,color:#000
style H fill:#cc848a,stroke:#333,stroke-width:2px,color:#000
| Property name | Type | Description | Value Format |
|---|---|---|---|
name |
string | Pet’s name | Any text |
species |
string | Pet’s animal type | cat, dog |
breed |
string | Pet’s breed or breed mix | Any text |
age_months |
integer | Pet’s age in months | Numeric value |
gender |
string | Pet’s gender | male, female |
size |
string | Pet’s size category | small, medium, large |
temperament |
string | Pet’s personality traits, behavioral characteristics | Any text |
medical |
object | Pet’s medical information | See nested fields below |
medical.spayed_neutered |
boolean | Pet’s spay/neuter state | true or false |
medical.vaccinations |
array | List of pet’s current vaccinations | Any text |
description |
string | Pet’s personality, needs, background | Any text |
shelter_id |
integer | Unique identifier of pet’s current shelter | Numeric value |
status |
string | Pet’s current adoption stage | available, pending, or adopted |
intake_date |
string | Pet’s shelter entry date | ISO 8601 Format, “YYYY-MM-DD” |
id |
integer | Pet’s unique identifier | Auto-generated, read-only |
{
"name": "Luna",
"species": "cat",
"breed": "Domestic Shorthair",
"age_months": 18,
"gender": "female",
"size": "small",
"temperament": "playful, affectionate",
"medical": {
"spayed_neutered": true,
"vaccinations": ["fvrcp", "rabies"]
},
"description": "Luna is a playful tabby who loves interactive toys and sunny windows.",
"shelter_id": 1,
"status": "available",
"intake_date": "2025-09-01",
"id": 1,
}
idGET requests don’t require authentication. Write operations
POST, PUT, PATCH, and DELETE require an API token.
Visit the Authentication Guide
for instructions and security best practices.