Products
API Docs
Developer Portal
Workflows
FREE API TOOLS
Redoc
Redoc vs. Redocly
Redocly CLI
Docs
Pricing
Enterprise
About
COMPANY
Blog
About Us
Customers
Careers
TECHNOLOGY
Status
Security
Tech Stack
CONTACT SALES →
Login
Sign Up
Find pet by ID
Returns a single pet
Security
api_key
Request
path Parameters
petId
required
integer
<int64>
ID of pet to return
Responses
200
successful operation
400
Invalid ID supplied
404
Pet not found
get
/pet/{petId}
Try it
Request samples
curl
JavaScript
Node.js
Copy
Response samples
200
application/xml
application/json
application/xml
No sample