For AI agents: the complete documentation index is available at https://ciderpress.dev/llms.txt, the full documentation bundle is available at https://ciderpress.dev/llms-full.txt, and this page is available as Markdown at https://ciderpress.dev/petstore/add-pet.md.
Get started →

Add a new pet to the store

post/pet
addPet
Add a new pet to the store
Parameters
body
NameTypeRequiredDescriptionDefault
bodyobjectrequiredPet object that needs to be added to the store
Responses
Authentication
petstore_auth (write:pets, read:pets)
Code Examples
curl -X POST 'https://api.example.com/pet' \
  -H 'Content-Type: application/json'