Service Dog Standards Help

Home page (search API)

Endpoint

GET /api/v1/homepage/search

Request Headers

{ "X-API-Key": "your_tenant_api_key", "Content-Type": "application/json" }

Query Parameters

{ "search_by[handler_first_name]": "John", "search_by[handler_last_name]": "Black", "search_by[dog_name]": "Richard", "search_by[number]": "0001581504" }

Request Body

{}

Expected Response

{ "success": true, "message": "Search results retrieved successful.", "data": { "current_page": 1, "data": [ { "id": 7, "team_code": "SDS-0001581504", "account_id": 4, "animal_id": 1, "trainer_id": 5, "is_first": false, "is_primary_owner": false, "flag_training_graduated": false, "flag_training_logs": false, "flag_training_sds": false, "flag_training_akc": false, "flag_records_have": false, "flag_health_animal": false, "flag_health_handler": false, "flag_recommendations": false, "likes": 0, "created_at": "2025-09-11T09:05:23.000000Z", "updated_at": "2025-09-11T09:58:51.000000Z", "deleted_at": null, "status": "active", "is_current_tenant": 1, "status_label": "Active", "user": { "id": 4, "email": "[email protected]", "first_name": "John", "last_name": "Black", "middle_name": "Nickolas", "full_name": "John Nickolas Black" }, "trainer": { "id": 5, "email": "[email protected]", "first_name": "QA", "last_name": "QA", "middle_name": null, "full_name": "QA QA" }, "animal": { "id": 1, "animal_type": "service_dog", "name": "test_dog", "gender": "male", "birth_year": "2014", "breed": "Breed1", "size": "medium", "microchip_number": null, "status": "active", "profile_photo_path": null, "deleted_at": null, "created_at": "2025-09-11T08:36:28.000000Z", "updated_at": "2025-09-11T08:36:28.000000Z", "age": "11 years" } }, { "id": 11, "team_code": "SDS-0001668379", "account_id": 4, "animal_id": 9, "trainer_id": 3, "is_first": false, "is_primary_owner": false, "flag_training_graduated": false, "flag_training_logs": false, "flag_training_sds": false, "flag_training_akc": false, "flag_records_have": false, "flag_health_animal": false, "flag_health_handler": false, "flag_recommendations": false, "likes": 0, "created_at": "2025-09-12T09:13:32.000000Z", "updated_at": "2025-09-12T09:13:32.000000Z", "deleted_at": null, "status": "retired", "is_current_tenant": 1, "status_label": "Retired", "user": { "id": 4, "email": "[email protected]", "first_name": "John", "last_name": "Black", "middle_name": "Nickolas", "full_name": "John Nickolas Black" }, "trainer": { "id": 3, "email": "[email protected]", "first_name": "Test1", "last_name": "Tester1", "middle_name": "Testes1", "full_name": "Test1 Testes1 Tester1" }, "animal": { "id": 9, "animal_type": "service_dog", "name": "Richard", "gender": "male", "birth_year": "2022", "breed": "Breed", "size": "small", "microchip_number": null, "status": "active", "profile_photo_path": null, "deleted_at": null, "created_at": "2025-09-12T09:11:55.000000Z", "updated_at": "2025-09-12T09:11:55.000000Z", "age": "3 years" } }, { "id": 10, "team_code": "SDS-0001668343", "account_id": 4, "animal_id": 10, "trainer_id": 5, "is_first": false, "is_primary_owner": false, "flag_training_graduated": false, "flag_training_logs": false, "flag_training_sds": false, "flag_training_akc": false, "flag_records_have": false, "flag_health_animal": false, "flag_health_handler": false, "flag_recommendations": false, "likes": 0, "created_at": "2025-09-12T09:12:35.000000Z", "updated_at": "2025-09-12T09:12:35.000000Z", "deleted_at": null, "status": "active", "is_current_tenant": 0, "status_label": "Active", "user": { "id": 4, "email": "[email protected]", "first_name": "John", "last_name": "Black", "middle_name": "Nickolas", "full_name": "John Nickolas Black" }, "trainer": { "id": 5, "email": "[email protected]", "first_name": "QA", "last_name": "QA", "middle_name": null, "full_name": "QA QA" }, "animal": { "id": 10, "animal_type": "service_dog", "name": "Richard", "gender": "male", "birth_year": "2022", "breed": "Breed", "size": "small", "microchip_number": null, "status": "active", "profile_photo_path": null, "deleted_at": null, "created_at": "2025-09-12T09:12:35.000000Z", "updated_at": "2025-09-12T09:12:35.000000Z", "age": "3 years" } } ], "first_page_url": "http://194.242.45.55:8040/api/v1/homepage/search?page=1", "from": 1, "next_page_url": null, "path": "http://194.242.45.55:8040/api/v1/homepage/search", "per_page": 10, "prev_page_url": null, "to": 3 } }
18 September 2025