Skip to main content
GET
/
pet
/
findByTags
Finds Pets by tags.
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"
  }
]

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

tags
string[]

Tags to filter by

Response

successful operation

name
string
required
Example:

"doggie"

photoUrls
string[]
required
id
integer<int64>
Example:

10

category
object
tags
object[]
status
enum<string>

pet status in the store

Available options:
available,
pending,
sold