Help docs
Using Dogsi, step by step
Guides for owners and sitters, and the JSON API behind the app.
For dog owners
- Sign up with your name, email and a password (at least 8 characters, with a letter and a number).
- Open My dogs in your account and add each dog: name, size, age, breed, notes, and whether vaccinations are up to date.
- Go to Find a sitter, filter by municipality, service and size, and open a sitter's profile.
- Choose Request a stay, pick your dog, boarding or daycare and the dates. You see the estimate from the sitter's own price before you send.
- Follow the request under Bookings. When the sitter accepts, use the message thread to arrange a meet-and-greet, drop-off and payment.
For sitters
- Sign up, then open Sitter profile in your account.
- Fill in the name owners will see, your municipality and neighborhood, services, prices in MXN, home type, yard, how many dogs you can host and the sizes you accept.
- Turn on Listed to appear in search. Turn it off whenever you are not available.
- New requests appear under Bookings → Requests for you. Read the dog's details and message the owner, then accept or decline.
JSON API
- All endpoints live under /api, take and return JSON, and use the session cookie set at log-in. POST requests must send Content-Type: application/json from the same origin (else 415 / 403).
- Accounts: POST /api/auth/signup { name, email, password } → 201; POST /api/auth/login { email, password } → 200; POST /api/auth/logout; GET /api/auth/me → 200 or 401.
- Dogs: GET /api/dogs → { dogs }; POST /api/dogs { name, size: small|medium|large|giant, age_years, breed, notes, vaccinated } → 201, add id to update → 200; POST /api/dogs/delete { id } → 200 (409 while a booking is open).
- Sitter profile: GET /api/sitter → { sitter | null }; POST /api/sitter { display_name, municipality, neighborhood, boarding, daycare, night_price, day_price, home_type: house|apartment, yard, max_dogs, sizes[], bio, listed }; POST /api/sitter { listed } toggles the listing.
- Search (public): GET /api/sitters?area=&service=boarding|daycare&size= → { sitters } (listed profiles only, no emails); GET /api/sitters?id=<id> → { sitter } or 404.
- Bookings: GET /api/bookings → { sent, received }; POST /api/bookings { sitter_id, dog_id, service, start_date, end_date, message } → 201 (dates YYYY-MM-DD; boarding counts nights, daycare counts days).
- Status: POST /api/bookings/status { id, action: accept|decline (sitter, pending only) | cancel (owner) } → 200, 403 for the wrong side, 409 if the status already changed.
- Messages: GET /api/messages?booking=<id>; POST /api/messages { booking_id, body } → 201. Only the owner and sitter of that booking get anything other than 404.
- Errors are { error: "…" } with 400 (invalid input), 401 (signed out), 404 (not found or not yours) or 429 (too many requests).