# Pets API

> List and retrieve the pets recorded for a tenant.

List and retrieve the pets recorded for a tenant.

Base URL: `https://mpp-api-mybusinessapp-san.azure-api.net/v2`

API version: `3.55.133`

## Endpoints

### GET /pets

List pets

Returns the pets for the tenant identified by the API key. Paginated: use `page`/`limit` or `paginate=false`; filter by customer and team. To count without fetching rows, request `limit=1` and read `metadata.total`. Related: `Retrieve a pet by id`.

Parameters:

- `Ocp-Apim-Subscription-Key` (header), required — Azure API Management subscription key (public: 4fb0f9a3b14a44e98698e80cef2aebeb)
- `X-MBA-Application-ID` (header), optional — Optional. Target another application's stamp; only a Studio key may target a different tenant
- `X-MBA-Application-Type` (header), optional — Optional. Application type paired with X-MBA-Application-ID
- `page` (query), optional — Page number for pagination
- `limit` (query), optional — Number of pets per page
- `paginate` (query), optional — Enable or disable pagination
- `customerId` (query), optional — Filter pets by specific customer ID

Reference: https://mybusinessapp.co.za/developers/api/pet#tag/Pet/get_all_pets

### GET /pets/{id}

Retrieve a pet by id

Returns the pet with the given `id`, including profile data. Related: `List pets`.

Parameters:

- `Ocp-Apim-Subscription-Key` (header), required — Azure API Management subscription key (public: 4fb0f9a3b14a44e98698e80cef2aebeb)
- `X-MBA-Application-ID` (header), optional — Optional. Target another application's stamp; only a Studio key may target a different tenant
- `X-MBA-Application-Type` (header), optional — Optional. Application type paired with X-MBA-Application-ID
- `id` (path), required — Pet's unique identifier

Reference: https://mybusinessapp.co.za/developers/api/pet#tag/Pet/get_single_pet

---

[Rendered page](https://mybusinessapp.co.za/developers/api/pet)

© MyBusinessApp (Pty) Ltd. Proprietary documentation — do not republish.
