API Key Required

Check Authentication for more details


Checkout the /favourites API Reference in the left panel

  1. A 3 Random Images are loaded via https://api.thedogapi.com/v1/images/search
  2. The User can press “Favourite” to add that to their personal favourites, with the sub_id of User-123
  3. This sends a POST request to https://api.thedogapi.com/v1/favourites with a JSON object in the body
  4. This body contains the “image_id”,
  5. The body can contains a “sub_id” of “User-123” - which marks the Favourite as theirs

Bonus The Favourite history for the account is then loaded via GET https://api.thedogapi.com/v1/favourites.