List all Pets
1 min
GET
https://developer.digitail.io/api/v1/pets
filter[clinic_id]integerID of the clinic from where the entity was created
filter[vet_id]integer<p>Id of the vet that performed/owns the entity</p>
filter[owner_id]integerId of the related PetParent
filter[id]integerPet ID
filter[nickname]stringPet nickname
filter[updated_from]string<date-time><p>Returns only the pets updated after this datetime (exclusive). The value must be a UTC ISO 8601 timestamp with a Z suffix, for example 2020-08-16T08:56</p><div></div>.000000Z. Timezone offsets such as +02<div></div> are not accepted. Updated at and created at are returned in UTC in the response.<p></p>
filter[updated_to]string<date-time><p>Returns only the pets updated at or before this datetime (inclusive). The value must be a UTC ISO 8601 timestamp with a Z suffix, for example 2020-08-16T08:56</p><div></div>.000000Z. Timezone offsets such as +02<div></div> are not accepted. Updated at and created at are returned in UTC in the response.<p></p>
filter[birthday_between]string<p>Date range for pet birthday, format is 'YYYY-MM-DD,YYYY-MM-DD' (e.g. '2021-02-01,2021-02-29'). This will return pets born between the two dates.</p>
includestring<p>Additional info to include. You can use multiple, comma separated. Options: species,breed,trupanionSpecies,trupanionBreed,crossBreed,owners,clinics,vetPetRequests.clinic,patients,patients.archiveType</p>
sortstring<p>Order by field(s)(ex: 'nickname,created_at,name-archived-last -> order by nickname with archived pets at the end')</p>
per_pageintegerNumber of items to retrieve per page
acceptstringGenerated from available response content types
200Successful operation
400The request was invalid or contained data that was not allowed.
401The authorization token is missing or invalid.
403The user is not authorized to perform the requested operation.
429<p>The user has sent too many requests in a given amount of time ("rate limiting"). Max 200 requests per minute.</p>
curl --request GET \
--url 'https://developer.digitail.io/api/v1/pets?filter[clinic_id]=integer&per_page=15' \
--header 'accept: application/json'