Skip to main content
Home
PetHub Dev Net (Alpha)

Main navigation

  • Home
  • APIs
  • Widget
  • Apply
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Endpoints

/LostPets

By PetHub, 23 January, 2023

The /LostPetsĀ endpoint focuses on the current list of lost pets posted on PetHub.com. Use this to create, read/pull, update and delete Lost Pet Posters.

Digging into /LostPets

The /lostpetsĀ endpoint offers the following:

/lostpets Description
/
  • POST - create a lost pet poster
  • GET - pull a list of lost pet posters and their {posterId}
    Examples:
    https://pethub.io/v1/lostpets?state=wa&city=seattle&species=dog
/{posterId}
  • GET - retrieve the details of a specific poster
  • PUT - update a lost pet poster's details
  • DELETE - remove a lost pet poster
/{posterId}/share
  • POST - specify which channels to share the poster
  • GET - retrieve a list of channels (Facebook, Twitter, etc.) in which the poster has been shared
/{posterId}/pdf GET - retrieve a link to a PDF version of the lost pet poster

The Swagger 2.0 / OAS YAML rendering is below including the data structures necessary for POST or returned by GET.

Category
API V1
lostPets
pets

API Docs Index

  • Getting Started
  • API Calls
    • Introduction
    • Authentication
    • Requests
    • Responses
  • Endpoints
    • /Activities
    • /Foods
    • /LostPets
    • /Perks
    • /Persons
    • /Pets
    • /Species
    • /Tags
  • Webhooks
    • /Alerts
    • /Notifications
  • Response Codes
  • Dev Resources
  • Support

Footer

  • Contact
  • Terms of Use
  • API Documentation
  • Widget Documentation
  • Frequently Asked Questions
  • Support

Copyright 2025, PetHub, Inc. All rights reserved.