Team flow
1. Get info for team flow
Endpoint: GET /api/v1/teams_flow/info
Request Headers:
Authorization: Bearer your_generated_token
X-API-Key: your_api_key
Content-Type: application/json
Request Body (JSON):
{}
Expected Response:
{
"success": true,
"message": "Data retrieved successfully",
"data": {
"previous_step": null,
"current_step": "choose_flow_type",
"next_step": "create_team",
"flow_type": null
}
}
2. Send info for update team flow info
Endpoint: POST /api/v1/teams_flow/{flow_step}
Request Headers:
Authorization: Bearer your_generated_token
X-API-Key: your_api_key
Content-Type: application/json
Request Body (flow_step = 'choose_flow_type'):
{
"flow_type": "for_myself"
}
Request Body (flow_step = 'create_team') (flow_type: for_myself):
{
"status": "active",
"about_handler": {
"id": 185,
"first_name": "Test Team",
"middle_name": "Flow Update",
"last_name": "Example"
},
"about_dog": {
"new_animal": 1,
"id": 64, // optional field if it was saved before
"name": "Dog for example",
"gender": "male",
"birth_year": "2023",
"breed": "Test breed",
"size": "medium",
"work_with_trainer": false,
"microchip_number": "12234568"
},
"certificates": [
2, 3, 8, 4, 6
]
}
Request Body (flow_step = 'create_team') (flow_type: for_someone_else):
{
"status": "active",
"about_handler": {
"new_handler": 1,
"id": 395,
"first_name": "Test New Invited",
"middle_name": "Handler",
"last_name": "Example"
},
"about_dog": {
"new_animal": 1,
"id": 72,
"name": "Test 123",
"gender": "male",
"birth_year": "2021",
"breed": "Test breed",
"size": "small",
"work_with_trainer": 0
},
"certificates": [
1, 4, 8
]
}
Request Body (flow_step = 'send_invite') (flow_type: for_someone_else) when create new user:
{
"send_invite": 1,
"invite_type": "email",
"email": "[email protected]"
}
Request Body (flow_step = 'finish_flow'):
{
}
Expected Response from step choose_flow_type:
{
"success": true,
"message": "Data retrieved successfully",
"data": {
"previous_step": "choose_flow_type",
"current_step": "create_team",
"next_step": "finish_flow",
"flow_type": "for_myself"
}
}
Expected Response from step create_team:
{
"success": true,
"message": "Flow draft updated successfully.",
"data": {
"previous_step": "create_team",
"current_step": "finish_flow",
"next_step": null,
"flow_type": "for_myself"
}
}
Expected Response from step send_invite:
{
"success": true,
"message": "Flow draft updated successfully.",
"data": {
"previous_step": "send_invite",
"current_step": "finish_flow",
"next_step": null,
"flow_type": "for_someone_else"
}
}
Expected Response from step finish_flow:
{
"success": true,
"message": "Flow draft updated successfully.",
"data": {
"previous_step": null,
"current_step": "choose_flow_type",
"next_step": "create_team",
"flow_type": null
}
}
2.1. Send draft data info before going to disabilities or dog tasks page
Endpoint: POST /api/v1/teams_flow/create_team?draft=1
Request Headers: {id="request-headers_create_team_draft""}
Authorization: Bearer your_generated_token
X-API-Key: your_api_key
Content-Type: application/json
Request Body (flow_step = 'choose_flow_type'):
{
"about_handler": //this object required if you go to disabilities page
{
"id": 185,
"first_name": "test Update",
"middle_name": "from draft",
"last_name": "for test"
},
"about_dog": //this object required if you go to dog_tasks page
{
"new_animal": 1,
"id": 64, // optional field if it was saved before
"name": "Dog for example",
"gender": "male",
"birth_year": "2023",
"breed": "Test breed",
"size": "medium",
"work_with_trainer": false,
"microchip_number": "12234568"
}
}
Expected Response:
{
"success": true,
"message": "Flow draft updated successfully.",
"data": {
"previous_step": "choose_flow_type",
"current_step": "create_team",
"next_step": "finish_flow",
"flow_type": "for_myself"
}
}
3. Get info for current step
Endpoint: GET /api/v1/teams_flow/{flow_step}
Request Headers:
Authorization: Bearer your_generated_token
X-API-Key: your_api_key
Content-Type: application/json
Request Body:
{}
Expected Response or step choose_flow_type:
{
"success": true,
"message": "Data retrieved successfully",
"data": {
"previous_step": null,
"current_step": "choose_flow_type",
"next_step": "create_team",
"flow_type": "for_myself",
"step_data": {
"form_data": {
"flow_type": {
"options": [
"for_myself",
"for_someone_else"
],
"value": "for_myself"
}
},
"stored_data": {
"flow_type": "for_myself"
}
}
}
}
Expected Response for step create_team (flow_type: for_myself):
{
"success": true,
"message": "Data retrieved successfully",
"data": {
"previous_step": "choose_flow_type",
"current_step": "create_team",
"next_step": "finish_flow",
"flow_type": "for_myself",
"step_data": {
"form_data": {
"status": {
"options": [
"active",
"in_training"
],
"value": "active"
},
"about_handler": {
"full_name": "Updated Handler Updated",
"first_name": {
"value": "Updated"
},
"middle_name": {
"value": null
},
"last_name": {
"value": "Handler Updated"
},
"disabilities": [
{
"key": "depression",
"title": "Depression",
"description": " A mood disorder characterized by persistent feelings of sadness and loss of interest."
},
...
]
},
"about_dog": {
"dogs_list": {
"options": [
{
"id": 11,
"name": "Test dog",
"breed": "Breed",
"age": "4 years",
"gender": "male",
"size": "medium",
"birth_year": "2021",
"photo": null,
"microchip_number": null,
"trainer": 3
},
...
],
"value": null
},
"new_animal": {
"options": [
true,
false
],
"value": false
},
"gender": {
"options": {
"male": "Male",
"female": "Female"
},
"value": null
},
"birth_year": {
"options": {
"2025": "2025",
...
},
"value": null
},
"size": {
"options": {
"small": "Small (under 20lbs)",
"medium": "Medium (20-50lbs)",
"large": "Large (50-90lbs)",
"extra_large": "Extra large (90+lbs)"
},
"value": null
},
"work_with_trainer": {
"options": [
true,
false
],
"value": false
},
"trainer": {
"options": {
"182": "Test Updated New Trainer",
...
},
"value": null
}
},
"certificates": []
},
"stored_data": []
}
}
}
Expected Response for step send_invite (flow_type: for_someone_else), when create new user:
{
"success": true,
"message": "Data retrieved successfully",
"data": {
"previous_step": "create_team",
"current_step": "send_invite",
"next_step": "finish_flow",
"flow_type": "for_someone_else",
"step_data": {
"form_data": {
"first_name": "Test New Invited",
"fields": [
{
"label": "",
"name": "send_invite",
"type": "radio",
"required": true,
"info": null,
"visible_if": [],
"value": 1,
"options": {
"1": "Invite Handler",
"0": "Accept on Handler’s Behalf"
}
},
{
"label": "Invite via:",
"name": "invite_type",
"type": "radio",
"required": false,
"info": null,
"visible_if": [
{
"send_invite": 1
}
],
"value": "email",
"options": {
"email": "Email",
"sms": "SMS Text"
}
},
{
"label": "Email",
"name": "email",
"type": "text",
"required": true,
"info": null,
"visible_if": [
{
"invite_type": "email"
}
],
"value": null
},
{
"label": "Phone",
"name": "phone",
"type": "text",
"required": true,
"info": null,
"visible_if": [
{
"invite_type": "sms"
}
],
"value": null
}
]
},
"stored_data": []
}
}
}
Expected Response for step create_team (flow_type: for_someone_else):
{
"success": true,
"message": "Data retrieved successfully",
"data": {
"previous_step": "choose_flow_type",
"current_step": "create_team",
"next_step": "send_invite",
"flow_type": "for_someone_else",
"step_data": {
"form_data": {
"about_handler": {
"new_handler": {
"label": "Add new handler?",
"type": "radio",
"required": true,
"options": {
"1": "Yes",
"0": "No"
},
"visible_if": [],
"value": 1
},
"selected_user": {
"label": "Handler",
"type": "select",
"options": [],//the array is empty if the user has never created or invited users before
"value": null,
"required": false,
"visible_if": {
"new_handler": 0
}
},
"users_list": [],//the array is empty if the user has never created or invited users before
"fields": [
{
"label": "Handler id",
"name": "id",
"type": "hidden",
"required": false,
"info": null,
"visible_if": [],
"value": null
},
{
"label": "First name",
"name": "first_name",
"type": "text",
"required": true,
"info": null,
"visible_if": [],
"value": null
},
{
"label": "Middle name",
"name": "middle_name",
"type": "text",
"required": false,
"info": null,
"visible_if": [],
"value": null
},
{
"label": "Last name",
"name": "last_name",
"type": "text",
"required": true,
"info": null,
"visible_if": [],
"value": null
}
],
"disabilities": []
},
"status": {
"label": "Status",
"name": "status",
"type": "select",
"options": {
"active": "Active",
"in_training": "In Training"
},
"required": true,
"visible_if": [],
"value": "active"
},
"about_dog": {
"new_animal": {
"label": "Add new dog?",
"type": "radio",
"required": true,
"options": {
"1": "Yes",
"0": "No"
},
"visible_if": [],
"value": 1
},
"selected_dog": {
"label": "Service Dog",
"type": "select",
"options": [],
"value": null,
"required": false,
"visible_if": {
"new_animal": 0
}
},
"dogs_list": [],
"fields": [
{
"label": "Dog id",
"name": "id",
"type": "hidden",
"required": false,
"info": null,
"visible_if": [],
"value": null
},
{
"label": "Your Dog’s Name",
"name": "name",
"type": "text",
"required": true,
"info": null,
"visible_if": [],
"value": null
},
{
"label": "Gender",
"name": "gender",
"type": "select",
"required": true,
"info": null,
"visible_if": [],
"value": null,
"options": {
"female": "Female",
"male": "Male"
}
},
{
"label": "What year was your dog born?",
"name": "birth_year",
"type": "select",
"required": true,
"info": null,
"visible_if": [],
"value": null,
"options": {
"2025": "2025",
"2024": 2024,
"2023": 2023,
"2022": 2022,
"2021": 2021,
"2020": 2020,
"2019": 2019,
"2018": 2018,
"2017": 2017,
"2016": 2016,
"2015": 2015,
"2014": 2014,
"2013": 2013,
"2012": 2012,
"2011": 2011,
"2010": 2010,
"2009": 2009,
"2008": 2008,
"2007": 2007,
"2006": 2006,
"2005": 2005,
"2004": 2004,
"2003": 2003,
"2002": 2002,
"2001": 2001,
"2000": 2000,
"1999": 1999,
"1998": 1998,
"1997": 1997,
"1996": 1996,
"1995": 1995
}
},
{
"label": "What is your dog's breed?",
"name": "breed",
"type": "text",
"required": true,
"info": null,
"visible_if": [],
"value": null
},
{
"label": "How big is your dog?",
"name": "size",
"type": "select",
"required": true,
"info": null,
"visible_if": [],
"value": null,
"options": {
"small": "Small (under 20lbs)",
"medium": "Medium (20-50lbs)",
"large": "Large (50-90lbs)",
"extra_large": "Extra large (90+lbs)"
}
},
{
"label": "Animal Photo",
"name": "photo",
"type": "file",
"required": false,
"info": null,
"visible_if": [],
"value": null
},
{
"label": "Are you working with a trainer?",
"name": "work_with_trainer",
"type": "radio",
"required": true,
"info": null,
"visible_if": [],
"value": 0,
"options": {
"1": "Yes",
"0": "No"
}
},
{
"label": "Microchip number (if applicable)",
"name": "microchip_number",
"type": "text",
"required": false,
"info": null,
"visible_if": [],
"value": null
},
{
"label": "Trainer",
"name": "trainer",
"type": "select",
"required": false,
"info": null,
"visible_if": [
{
"work_with_trainer": 1
}
],
"value": null,
"options": {
"302": "fdwff wefewf",
"301": "asdas asdas",
"300": "qwe qwe",
"275": "First nameas Middle name Last name",
"257": "Alex Trainerov Trainer (Badghis - KH)",
"239": "33 3",
"238": "к к",
"164": "a a a"
}
}
]
},
"dog_tasks": [],
"certificates": {
"items": {
"2": {
"title": "Training",
"intro": "I have detailed logs which document my Service Dog’s training and progress.",
"icon": "http://194.242.45.55:8040/storage/images/icons/certificate/team_training.svg",
"description": "While not required by law, keeping detailed daily training logs that record training specifics and hours on paper or electronically may be part of a Service Dog team's training resume\n This is an extra step that goes above and beyond the law. I may choose to share these physical documents at my own discretion."
},
"3": {
"title": "Training",
"intro": "I have a certificate of completion from an advanced obedience class or classes.",
"icon": "http://194.242.45.55:8040/storage/images/icons/certificate/team_training.svg",
"description": "While not required by law, graduating from an advanced obedience class or classes may be part of one's training resume.\n This is an extra step that goes above and beyond the law. I may choose to share these physical documents at my own discretion."
},
"4": {
"title": "Training",
"intro": "I have worked with a trainer or organization who has signed off on my Service Dog.",
"icon": "http://194.242.45.55:8040/storage/images/icons/certificate/team_training.svg",
"description": "While not required by law, having a dog trainer or organization sign off on a Service Dog team may be part of one's training resume.\n This is an extra step that goes above and beyond the law. I may choose to share these physical documents at my own discretion."
},
"5": {
"title": "Training",
"intro": "My dog has passed the AKC Canine Good Citizen (CGC) test or equivalent.",
"icon": "http://194.242.45.55:8040/storage/images/icons/certificate/team_training.svg",
"description": "While not required by law, passing an American Kennel Club Canine Good Citizen test or similar test may be part of one's training resume.\n This is an extra step that goes above and beyond the law. I may choose to share these physical documents at my own discretion."
},
"6": {
"title": "Records",
"intro": "I have a record of my Service Dog passing and completing a Public Access Test.",
"icon": "http://194.242.45.55:8040/storage/images/icons/certificate/team_records.svg",
"description": "The Service Dog community considers a Public Access Test (PAT) the best tool for evaluating a team's readiness to graduate or finish formal training. There are several versions of the PAT available. Most PATs are relatively similar, although some are specific to the organization or trainer administering the test.\n Passing any PAT is not required by law. This is because most experienced trainers and legitimate members of the Service Dog community agree that there is not an appropriate one-size-fits-all test for every handler, dog and/or disability combination.\n Every organization that provides a Public Access Test makes it clear that passing their test does not mean they “certify” a dog or team — and nor is certification recognized under federal law. While some trainers and organizations may “certify\" their graduates, that status is something granted by them and is not recognized under the law or necessarily by other trainers.\n This is an extra step that goes above and beyond the law. I may choose to share these physical documents at my own discretion."
},
"7": {
"title": "Animal's Health",
"intro": "I have complete and up-to date veterinary records for my dog.",
"icon": "http://194.242.45.55:8040/storage/images/icons/certificate/team_animal_health.svg",
"description": "While not required by law, having complete and up-to-date veterinary records are a part of responsible dog ownership, whether it is a Service Dog or a pet.\n This is an extra step that goes above and beyond the law. I may choose to share these physical documents at my own discretion or where required for all animals such as at an animal boarding facility."
},
"8": {
"title": "Handler's Health",
"intro": "I have a letter from a medical professional supporting or recommending my Service Dog.",
"icon": "http://194.242.45.55:8040/storage/images/icons/certificate/team_handler_health.svg",
"description": "I have a letter from a medical professional supporting or recommending my Service Dog.\n While not required under the ADA for public access, having letter from a medical professional which is printed and signed on their letterhead supporting or recommending a Service Dog may be part of one’s training resume. A letter from a medical professional may be required under the Fair Housing Act (FHAct) for housing or under the Air Carrier Access Act (ACAA) for airline travel.\n This is an extra step that goes above and beyond the law. I may choose to share these physical documents at my own discretion or where required by law."
},
"9": {
"title": "Recommendations",
"intro": "I have a letter or letters of recommendation about me and my dog.",
"icon": "http://194.242.45.55:8040/storage/images/icons/certificate/team_recommendations.svg",
"description": "While not required by law — similar to providing a reference on a work resume — having a letter of recommendation for an individual and their Service Dog may be part of one's training resume.\n This is an extra step that goes above and beyond the law. I may choose to share these physical documents at my own discretion."
},
"1": {
"title": "Training",
"intro": "My Service Dog has graduated from an ADI accredited facility or organization.",
"icon": "http://194.242.45.55:8040/storage/images/icons/certificate/team_training.svg",
"description": "My dog has graduated from an Assistance Dogs International accredited facility or organization. Graduating from an ADI accredited program is not required by law but is can be an excellent indicator of quality training.\nThis is an extra step that goes above and beyond the law. I may choose to share these physical documents at my own discretion."
}
},
"selected": []
}
},
"stored_data": []
}
}
}
Expected Response for step finish_flow:
{
"success": true,
"message": "Data retrieved successfully",
"data": {
"previous_step": "create_team",
"current_step": "finish_flow",
"next_step": null,
"flow_type": "for_myself",
"step_data": {
"form_data": {
"handler": "Test Team Flow Update Example",
"dog_name": "Dog for example",
"dog_photo": null,
"membership_number": "SDS-5082067"
},
"stored_data": []
}
}
}
4. Cancel creating team
Endpoint: DELETE /api/v1/teams_flow/cancel
Request Headers:
Authorization: Bearer your_generated_token
X-API-Key: your_api_key
Content-Type: application/json
Request Body:
{}
Expected Response
{
"success": true,
"message": "Data retrieved successfully",
"data": {
"previous_step": null,
"current_step": "choose_flow_type",
"next_step": "create_team",
"flow_type": null
}
}
5. Creating team Disabilities step
5.1. Get Info for disabilities page
Endpoint: GET /api/v1/teams_flow/disabilities
Request Headers:
Authorization: Bearer your_generated_token
X-API-Key: your_api_key
Content-Type: application/json
Request Body:
{}
Expected Response
{
"success": true,
"message": "Data retrieved successfully",
"data": {
"previous_step": "create_team",
"current_step": "disabilities",
"next_step": "create_team",
"flow_type": "for_myself",
"step_data": {
"options": [
{
"key": "visual",
"title": "Visual",
"items": [
{
"key": "blindness",
"title": "Blindness",
"description": "Complete loss of vision in one or both eyes."
},
{
"key": "low_vision",
"title": "Low Vision",
"description": "<p>Significant visual impairment, but some sight remains.</p>"
},
{
"key": "progressive_eye_disease",
"title": "Progressive Eye Diseases",
"description": "Conditions like glaucoma, cataracts, or retinitis pigmentosa that may worsen over time."
},
{
"key": "other_visual",
"title": "Other Visual Conditions",
"description": "Any other eye or vision disorder affecting daily life."
}
]
},
{
"key": "hearing",
"title": "Hearing",
"items": [
{
"key": "deafness",
"title": "Deafness",
"description": "Complete hearing loss in one or both ears."
},
{
"key": "hard_of_hearing",
"title": "Hard of Hearing",
"description": "Partial hearing loss requiring hearing aids or other assistive devices."
},
{
"key": "auditory_processing",
"title": "Auditory Processing Disorder",
"description": "Difficulty processing and interpreting sounds."
},
{
"key": "other_hearing",
"title": "Other Hearing Impairments",
"description": "Any condition impacting hearing ability."
}
]
},
{
"key": "physical_mobility",
"title": "Physical, Mobility or Movement",
"items": [
{
"key": "spinal_cord_injury",
"title": "Spinal Cord Injuries",
"description": "<p>Damage to the spinal cord that affects movement or feeling.</p>"
},
{
"key": "muscular_dystrophy",
"title": "Multiple Sclerosis (MS)",
"description": "<p>A chronic autoimmune disease in which the immune system attacks the protective covering of nerves.</p>"
},
{
"key": "parkinsons_disease",
"title": "Cerebral Palsy",
"description": "<p>A condition that affects how muscles move and work together.</p>"
},
{
"key": "chronic_pain",
"title": "Muscular Dystrophy",
"description": "<p>A group of conditions that cause muscles to get weaker over time.</p>"
},
{
"key": "speech_impairments",
"title": "Arthritis",
"description": "<p>Joint pain or stiffness that makes it hard to move.</p>"
},
{
"key": "neurological_movement",
"title": "Parkinson’s Disease",
"description": "<p>A condition that causes shaking, stiffness, and slow movement.</p>"
},
{
"key": "multiple_sclerosis",
"title": "Amputations",
"description": "<p>Missing a leg, foot, arm, or hand, which can make moving or balancing harder.</p>"
},
{
"key": "arthritis",
"title": "Chronic Pain",
"description": "<p>Long-term pain that affects how you move or do things.</p>"
},
{
"key": "amputations",
"title": "Vertigo or Balance Disorders",
"description": "<p>Feeling dizzy, off-balance, or like things are spinning.</p>"
},
{
"key": "vertigo_balance",
"title": "Speech Impairments (Mobility Related)",
"description": "<p>Trouble speaking clearly due to movement or muscle control issues.</p>"
},
{
"key": "temporary_mobility",
"title": "Temporary Mobility Disabilities",
"description": "<p>Recovery from surgeries, broken bones, or short-term illness that affects how you walk or move.</p>"
},
{
"key": "neurological_disorders",
"title": "Neurological Disorders Affecting Movement",
"description": "<p>Conditions like tremors, muscle spasms, paralysis, or weakness.<br><br></p>"
}
]
},
{
"key": "seizure_disorders",
"title": "Seizure Disorders",
"items": [
{
"key": "epilepsy",
"title": "Epilepsy",
"description": "Recurring seizures due to abnormal brain activity."
},
{
"key": "non_epileptic_seizures",
"title": "Non-Epileptic Seizures",
"description": "Seizure-like episodes not caused by epilepsy but still impairing function."
},
{
"key": "other_seizures",
"title": "Other Seizure Conditions",
"description": "Rare seizure disorders that impact daily life."
}
]
},
{
"key": "diabetes",
"title": "Diabetes",
"items": [
{
"key": "type1_diabetes",
"title": "Blood Sugar Imbalances for Type 1 Diabetes",
"description": "Type 1 diabetes is typically inherited or developed early in life. It’s an autoimmune condition where the body attacks its insulin-producing cells, leading to a need for insulin therapy and regular blood sugar monitoring. Service dogs can be trainers to alert the person if their blood sugar is too high or low."
},
{
"key": "type2_diabetes",
"title": "Blood Sugar Imbalances for Type 2 Diabetes",
"description": "Type 2 diabetes is more commonly acquired over time, often due to lifestyle factors like diet and lack of exercise, though genetics can play a role. People with Type 2 may still produce insulin but their bodies become resistant to it. Service dogs can be trained to alert them to blood sugar imbalances."
},
{
"key": "hypoglycemia_unawareness",
"title": "Hypoglycemia Unawareness",
"description": "Difficulty detecting low blood sugar levels, which can be dangerous."
}
]
},
{
"key": "psychiatric_disabilities",
"title": "Psychiatric Disabilities",
"items": [
{
"key": "ptsd",
"title": "Post-Traumatic Stress Disorder (PTSD)",
"description": " A mental health condition triggered by a traumatic event."
},
{
"key": "anxiety",
"title": "Anxiety Disorders",
"description": "Anxiety Disorders include conditions like Generalized Anxiety Disorder (GAD), Social Anxiety Disorder (SAD), Panic Disorder, Specific Phobias, Agoraphobia, and Separation Anxiety Disorder. People diagnosed with these conditions experience extreme and persistent worry or fear that can interfere with or prohibit them from engaging in everyday tasks or activities."
},
{
"key": "depression",
"title": "Depression",
"description": " A mood disorder characterized by persistent feelings of sadness and loss of interest."
},
{
"key": "bipolar",
"title": "Bipolar Disorder",
"description": "A mental health condition involving extreme mood swings."
},
{
"key": "self_harm_behaviors",
"title": "Self Harm Behaviors",
"description": "Self Harm Behaviors, also known as Self-Harming Disorder, is typically referred to as Non-Suicidal Self-Injury (NSSI) or Self-Injury. This behavior involves intentionally hurting oneself without the intent to die, often as a way to cope with psychological pain or distress."
},
{
"key": "schizophrenia",
"title": "Schizophrenia",
"description": "A severe mental disorder affecting thoughts, behavior, and emotions."
},
{
"key": "osd",
"title": "Obsessive-Compulsive Disorder (OCD)",
"description": "A disorder involving repetitive thoughts and behaviors."
},
{
"key": "panic_disorder",
"title": "Panic Disorder",
"description": "Sudden and repeated attacks of intense fear or discomfort."
},
{
"key": "agoraphobia",
"title": "Agoraphobia",
"description": "A fear of places or situations that may cause panic or embarrassment."
},
{
"key": "phobias",
"title": "Phobias",
"description": "An intense, irrational fear of specific things or situations."
},
{
"key": "eating_disorders",
"title": "Eating Disorders",
"description": "Conditions like anorexia or bulimia affecting eating habits and health."
},
{
"key": "personality_disorders",
"title": "Personality Disorders",
"description": "Long-term patterns of behavior and inner experiences that deviate from the norm."
},
{
"key": "psychosis",
"title": "Psychosis",
"description": "A condition that affects the mind, leading to distorted thinking and perceptions."
}
]
},
{
"key": "developmental_disabilities",
"title": "Developmental Disabilities",
"items": [
{
"key": "autism",
"title": "Autism Spectrum Disorder (ASD)",
"description": "<p>A complex developmental condition that affects <strong>communication, behavior, and social interaction.</strong></p>\n <ul>\n <li>May involve <strong>repetitive behaviors, sensory processing differences, or difficulty with transitions</strong></li>\n <li>Ranges widely in presentation and support needs</li>\n <li><strong>Service dogs can assist with sensory regulation, provide deep pressure stimulation during meltdowns, interrupt self-harming behaviors, and improve safety through tracking or tethering.</strong></li>\n </ul>"
},
{
"key": "adhd",
"title": "Attention-Deficit/Hyperactivity Disorder (ADHD)",
"description": "<p>A neurodevelopmental disorder marked by <strong> inattention, impulsivity, and hyperactivity.</strong></p>\n <ul>\n <li>May affect focus, time management, and psychological regulation</li>\n <li>Often co-occurs with anxiety or learning differences</li>\n <li><strong>Service dogs can be trained to provide reminders, interrupt impulsive behaviors, offer a calming presence during overstimulation, and help with transitions or routines.</strong></li>\n </ul>"
},
{
"key": "intellectual_disabilities",
"title": "Intellectual Disabilities",
"description": "<p>Affects <strong> cognitive functioning and adaptive behaviors, </strong> such as communication, self-care, and social skills.</p>\n <ul>\n <li>May result from genetic conditions, prenatal exposure, or other developmental delays</li>\n <li>Varies from mild to profound impact on independent living</li>\n <li><strong>Service dogs can support daily routines, provide psychological stability, alert caregivers, and increase community engagement.</strong></li>\n </ul>"
},
{
"key": "dld",
"title": "Developmental Language Disorder (DLD)",
"description": "<p>A condition affecting the ability to <strong> understand and/or use spoken language,</strong> despite normal intelligence and hearing.</p>\n <ul>\n <li>May result in delayed speech, difficulty forming sentences, or limited vocabulary</li>\n <li>Can impact learning, social interaction, and self-expression</li>\n <li><strong>Service dogs can reduce anxiety during communication, act as a social bridge, and provide confidence in public or classroom settings.</strong></li>\n </ul>"
},
{
"key": "spd",
"title": "Sensory Processing Disorder (SPD)",
"description": "<p>A neurological condition where the brain has trouble <strong> receiving and responding to sensory input.</strong></p>\n <ul>\n <li>May cause hypersensitivity or hyposensitivity to sounds, textures, lights, or movement</li>\n <li>Common in individuals with autism or ADHD but can exist on its own</li>\n <li><strong>Service dogs can help regulate sensory input by offering pressure therapy, providing grounding during overload, and guiding the handler away from distressing stimuli.</strong></li>\n </ul>"
},
{
"key": "gdd",
"title": "Global Developmental Delay (GDD)",
"description": "<p>A diagnosis is typically given to children under age 5 who show <strong>delays in multiple areas of development,</strong> such as speech, motor skills, cognition, or social interaction.</p>\n <ul>\n <li>May be temporary or a sign of a more specific condition later in life</li>\n <li>Often requires early intervention and structured support</li>\n <li><strong>Service dogs can assist with mobility, promote psychological comfort, and help establish routine and consistency.</strong></li>\n </ul>"
}
]
},
{
"key": "respiratory_issues",
"title": "Respiratory Issues",
"items": [
{
"key": "allergies",
"title": "Allergies",
"description": "<p>Sensitivity to substances that can trigger allergic reactions, such as pollen, pet dander, or dust.</p>\n <ul>\n <li><strong>Service dogs can help by alerting to allergens </strong> in the environment (e.g., sniffing out triggers) and providing <strong>comfort </strong> during allergic reactions or episodes of distress.</li>\n </ul>"
},
{
"key": "asthma",
"title": "Asthma",
"description": "<p>A chronic condition affecting the lungs and airways, leading to <strong> difficulty breathing </strong> and frequent wheezing, coughing, or shortness of breath.</p>\n <ul>\n <li><strong>Service dogs can alert to asthma attacks </strong> by noticing changes in their handler's breathing pattern and <strong> responding by retrieving medication </strong> seeking help in emergency situations.</li>\n <li>Some dogs are trained to <strong>assist in retrieving inhalers </strong> or guiding the handler to a safe place.</li>\n </ul>"
},
{
"key": "copd",
"title": "Chronic Obstructive Pulmonary Disease (COPD)",
"description": "<p>A progressive lung disease that makes it hard to breathe, often caused by long-term exposure to irritants like cigarette smoke.</p>\n <ul>\n <li><strong>Service dogs can help by providing physical support </strong> for mobility during episodes of shortness of breath and may <strong> retrieve oxygen tanks</strong> assist with locating an emergency inhaler.</li>\n </ul>"
},
{
"key": "cystic_fibrosis",
"title": "Cystic Fibrosis",
"description": "<p>A genetic disorder that affects the lungs and digestive system, leading to <strong>chronic lung infections and difficulty breathing.</strong></p>\n <ul>\n <li><strong>Service dogs can alert to changes in breathing patterns </strong> or symptoms of lung infections, helping handlers prepare for treatment or call for medical assistance when necessary.</li>\n <li><strong>Trained to retrieve medications or emergency devices </strong> in case of sudden respiratory distress.</li>\n </ul>"
},
{
"key": "sleep_apnea",
"title": "Sleep Apnea",
"description": "<p>A condition where breathing <strong> stops and starts </strong> during sleep, causing frequent waking and decreased oxygen levels.</p>\n <ul>\n <li><strong>Service dogs can be trained to detect changes </strong> in the handler’s breathing patterns while sleeping, and alert to waking episodes or assist in <strong> waking the handler </strong> during severe apnea events.</li>\n </ul>"
}
]
},
{
"key": "cardiovascular_conditions",
"title": "Cardiovascular Conditions",
"items": [
{
"key": "pots",
"title": "Postural Orthostatic Tachycardia Syndrome (POTS)",
"description": "<p>A condition that causes an abnormal increase in heart rate when standing, leading to dizziness, fainting, and fatigue.</p>\n <ul>\n <li>Service dogs can assist by providing balance support, alerting to rapid heart rate changes, and retrieving items if the handler becomes lightheaded or collapses.</li>\n </ul>"
},
{
"key": "syncope_fainting_disorders",
"title": "Syncope (Fainting Disorders)",
"description": "<p>A temporary loss of consciousness due to a sudden drop in blood pressure or heart rate.</p>\n <ul>\n <li>Service dogs can alert the handler to an impending episode, help guide them to a safe position, and retrieve help or activate emergency alert systems.</li>\n </ul>"
},
{
"key": "hypotension",
"title": "Low Blood Pressure (Hypotension)",
"description": "<p>A condition where blood pressure drops too low, causing dizziness, blurred vision, and fainting.</p>\n <ul>\n <li>Service dogs can provide support for balance, alert others during a medical episode, and retrieve emergency items or medications.</li>\n </ul>"
},
{
"key": "hypertension",
"title": "High Blood Pressure (Hypertension) with Anxiety Triggers",
"description": "<p>Elevated blood pressure that may be worsened by stress or anxiety.</p>\n <ul>\n <li>Service dogs can offer deep pressure therapy, interrupt panic behaviors, and create space in crowded environments to help regulate the handler's stress response.</li>\n </ul>"
},
{
"key": "heart_failure_mild_moderate",
"title": "Heart Failure (Mild to Moderate)",
"description": "<p>A condition where the heart doesn’t pump blood effectively, causing fatigue and shortness of breath.</p>\n <ul>\n <li>Service dogs can assist with mobility, help conserve energy by retrieving items, and prevent overexertion by alerting to signs of fatigue or stress.</li>\n </ul>"
}
]
},
{
"key": "neurological_conditions",
"title": "Neurological Conditions",
"items": [
{
"key": "stroke",
"title": "Stroke",
"description": "<p>A medical condition caused by a blockage or rupture of blood vessels in the brain.</p>\n <ul>\n <li>Service dogs can assist by providing mobility support, alerting to medical emergencies, retrieving items, and guiding to safety.</li>\n </ul>"
},
{
"key": "tbi",
"title": "Traumatic Brain Injury (TBI)",
"description": "<p>An injury to the brain caused by an external force.</p>\n <ul>\n <li>Service dogs can help with balance, providing cognitive support, retrieving items, and assisting in emergency situations.</li>\n </ul>"
},
{
"key": "als",
"title": "Amyotrophic Lateral Sclerosis (ALS)",
"description": "<p>A progressive neurological disease that affects nerve cells controlling voluntary muscles.</p>\n <ul>\n <li>Service dogs can assist with mobility, helping with walking, standing, and retrieving objects, as well as providing psychological support.</li>\n </ul>"
},
{
"key": "ms",
"title": "Multiple Sclerosis (MS)",
"description": "<p>A disease in which the immune system attacks the protective covering of nerve fibers.</p>\n <ul>\n <li>Service dogs can assist with mobility, balance, and retrieving items, and help with alerting to medical issues like fatigue or muscle weakness.</li>\n </ul>"
},
{
"key": "parkinson_disease",
"title": "Parkinson's Disease",
"description": "<p>A progressive neurological disorder that affects movement control.</p>\n <ul>\n <li>Service dogs can help with stability, provide balance assistance, alert to changes in mobility, and assist with tasks like retrieving medications.</li>\n </ul>"
},
{
"key": "dementia_alzheimer_disease",
"title": "Dementia/Alzheimer’s Disease",
"description": "<p>A group of symptoms affecting memory, thinking, and social abilities.</p>\n <ul>\n <li>Service dogs can assist with reminders for daily tasks, provide psychological support, and help with wandering prevention.</li>\n </ul>"
},
{
"key": "cerebral_palsy",
"title": "Cerebral Palsy",
"description": "<p>A group of disorders affecting movement and muscle tone due to brain injury during development.</p>\n <ul>\n <li>Service dogs can assist with mobility, offer balance support, and help retrieve items.</li>\n </ul>"
}
]
},
{
"key": "cancer",
"title": "Cancer",
"items": [
{
"key": "active_treatment",
"title": "",
"description": "Service dogs can assist individuals undergoing cancer treatment or recovery by supporting mobility, reducing fatigue, retrieving essential items, and providing comfort during physically and emotionally challenging periods. These tasks help promote greater independence, safety, and emotional stability throughout the treatment journey."
}
]
},
{
"key": "other",
"title": "Other",
"items": [
{
"key": "test_1",
"title": "Test 1",
"description": null
},
{
"key": "test_2",
"title": "Test 2",
"description": null
},
{
"key": "test_3",
"title": "Test 3",
"description": null
}
]
}
],
"value": [
"depression",
"psychosis",
"low_vision",
"progressive_eye_disease",
"other_visual",
"other_hearing",
"dld",
"test_1",
"test_2",
"test_3"
]
}
}
}
5.2. Send Info from disabilities page
Endpoint: POST /api/v1/teams_flow/disabilities
Request Headers:
Authorization: Bearer your_generated_token
X-API-Key: your_api_key
Content-Type: application/json
Request Body:
{
"disabilities": {
"selected_items": [
"blindness",
"low_vision",
"progressive_eye_disease",
"other_visual",
"deafness",
"hard_of_hearing",
"auditory_processing",
"other_hearing",
"ptsd",
"anxiety",
"depression",
"self_harm_behaviors"
],
"new_item": [
"New disability 1", "New Disability 2"
]
}
}
Expected Response
{
"success": true,
"message": "Flow draft updated successfully.",
"data": {
"previous_step": "choose_flow_type",
"current_step": "create_team",
"next_step": "finish_flow",
"flow_type": "for_myself"
}
}
6. Creating team Dogs tasks step
6.1. Get Info for Dogs tasks page
Endpoint: GET /api/v1/teams_flow/dog_tasks
Request Headers:
Authorization: Bearer your_generated_token
X-API-Key: your_api_key
Content-Type: application/json
Request Body:
{}
Expected Response
{
"success": true,
"message": "Data retrieved successfully",
"data": {
"previous_step": "create_team",
"current_step": "dog_tasks",
"next_step": "create_team",
"flow_type": "for_myself",
"step_data": {
"options": [
{
"key": "psychiatric_disabilities",
"title": "Psychiatric Disabilities",
"items": [
{
"key": "grounding_assistance",
"title": "Grounding Assistance",
"description": "Helps the handler stay grounded during panic attacks or moments of intense distress."
},
{
"key": "anxiety_alert",
"title": "Anxiety Alert",
"description": "Alerts the handler to the onset of anxiety symptoms or panic attacks."
},
{
"key": "night_terror_response",
"title": "Night Terror Response",
"description": "Provides comfort or intervention during night terrors or nightmares."
},
{
"key": "dpt",
"title": "Deep Pressure Therapy (DPT)",
"description": "Provides calming, deep pressure during anxiety or panic attacks to help regulate emotions."
},
{
"key": "disruptive_behavior_intervention",
"title": "Disruptive Behavior Intervention",
"description": "Interrupts harmful behaviors like self-harming or dissociation episodes."
},
{
"key": "social_buffering",
"title": "Social Buffering",
"description": "Provides help in social situations to alleviate stress or anxiety in unfamiliar environments."
},
{
"key": "emotional_regulation_support",
"title": "Emotional Regulation Support",
"description": "Provides comfort to help regulate emotions during emotional distress or mood swings."
},
{
"key": "interrupt_self_harming_behaviors",
"title": "Interrupt Self-Harming Behaviors",
"description": "Recognizes harmful actions and interrupts them by nudging, pawing, or other trained responses."
},
{
"key": "get_help_alert_caregiver",
"title": "Get Help or Alert a Caregiver",
"description": "Finds a nearby person or activates an alert device if I’m in distress or at risk."
},
{
"key": "guide_to_safety",
"title": "Guide to Safety",
"description": "Leads me away from overwhelming or risky environments to a safer, calmer space."
},
{
"key": "positive_distraction_redirection",
"title": "Positive Distraction and Redirection",
"description": "Shifts my focus by bringing a toy, initiating play, or engaging in another behavior to interrupt negative thought patterns."
},
{
"key": "grounding_techniques",
"title": "Grounding Techniques",
"description": "Helps me stay present during distress by nudging, leaning on me, or making physical contact."
},
{
"key": "flashback_grounding",
"title": "Flashback Grounding",
"description": "Provides comfort and redirection during traumatic flashbacks or dissociative episodes."
}
]
},
{
"key": "visual",
"title": "Visual",
"items": [
{
"key": "obstacle_avoidance",
"title": "Obstacle Avoidance – Guide Me Around Hazards",
"description": "Guide dogs are trained to help their handlers navigate safely by avoiding obstacles in their path, whether stationary or moving."
},
{
"key": "environmental_awareness",
"title": "Environmental Awareness – Alert Me to Changes in Surroundings",
"description": "Service dogs can notify handlers of important environmental cues like oncoming traffic, curbs, stairs, or changes in surface level."
}
]
},
{
"key": "other",
"title": "Other",
"items": [
{
"key": "test_title",
"title": "Test title",
"description": "Test Description"
}
]
}
],
"value": []
}
}
}
6.2. Send Info from Dogs tasks page
Endpoint: POST /api/v1/teams_flow/dog_tasks
Request Headers:
Authorization: Bearer your_generated_token
X-API-Key: your_api_key
Content-Type: application/json
Request Body:
{
"dog_tasks": {
"selected_items": [
"obstacle_avoidance",
"environmental_awareness",
"sound_alert",
"sound_guidance",
"grounding_assistance",
"anxiety_alert",
"night_terror_response",
"disruptive_behavior_intervention",
"social_buffering",
"emotional_regulation_support",
"interrupt_self_harming_behaviors",
"get_help_alert_caregiver"
],
"new_item": [
{
"title": "New dog task 1",
"description": "Task description"
}
]
}
}
Expected Response
{
"success": true,
"message": "Flow draft updated successfully.",
"data": {
"previous_step": "choose_flow_type",
"current_step": "create_team",
"next_step": "finish_flow",
"flow_type": "for_myself"
}
}
18 December 2025