Find pet by ID
1 min
GET
https://petstore3.swagger.io/api/v3/pet/{petId}
petIdinteger<int64>ID of pet to return
200successful operation
400Invalid ID supplied
404Pet not found
curl --location --globoff 'https://petstore3.swagger.io/api/v3/pet/{petId}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'Returns a single pet
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.