cURL
curl --request GET \ --url https://petstore3.swagger.io/api/v3/pet/findByTags \ --header 'Authorization: Bearer <token>'
[ { "name": "doggie", "photoUrls": [ "<string>" ], "id": 10, "category": { "id": 1, "name": "Dogs" }, "tags": [ { "id": 123, "name": "<string>" } ], "status": "available" } ]
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
The access token received from the authorization server in the OAuth 2.0 flow.
Tags to filter by
successful operation
"doggie"
10
Show child attributes
1
"Dogs"
pet status in the store
available
pending
sold
Was this page helpful?