RAID API
  1. Medical
  • DiveRAID frontend public API
    • Search divers
      POST
    • Search instructors
      POST
    • Search dive centers
      POST
    • Search dive centers by country
      GET
  • DiveRAID rest API V1
    • Auth
      • Register a new user
      • Login and get a Sanctum token
      • Send password reset email
      • Reset password using token
      • Logout and revoke the current token
      • Resend email verification
      • Complete a two-factor login and get a Sanctum token
    • Profile
      • The user resource
      • Get authenticated user profile
      • Update profile
      • Register push token
      • Update password
      • Remove push token
      • Rotate exam unlock code
      • Delete account
      • Update dive center association
    • Diver
      • Shared diver resources
      • Courses
        • List active courses
        • Get exam result
        • Submit course exam
        • Sign skills (diver)
        • Get course detail
        • Submit module quiz
        • List expired courses
        • Get quiz result
        • Get skills progress
      • Free Learnings
        • List enrolled free learnings
        • Get free learning quiz result
        • List available free learning courses
        • Submit free learning module quiz
        • Get free learning detail
        • Enroll in a free learning course
      • Certifications
        • Get certification history
        • Get certification quiz result
        • Get certification exam result
        • Get certification skills
        • List diver certifications
      • Dive Logs
        • Delete dive log
        • Create dive log
        • Update dive log
        • List loggable courses
        • List dive logs (paginated)
        • Get dive log
      • Awards
        • List the recognition cards issued to the user
      • Documents
        • Upload own medical certificate or insurance
        • List own medical certificates and insurance
        • List diver documents
      • Forms
        • List diver forms
      • Medical
        • Get medical questionnaire structure
          GET
        • Submit medical questionnaire
          POST
      • Store
        • List courses available for purchase
        • Get order status
    • Professional
      • Students
        • List students
        • Get student progress
        • Sign student skills
        • Get student exam result
        • Get student quiz result
        • Get student skills progress
      • Certifications
        • Get certification history
        • Get certification quiz result
        • Get certification exam result
        • Get certification skills
        • List all professional certifications
        • List diver-level certifications
        • List examiner certifications
        • List professional certifications
        • List specialty certifications
        • List trainer certifications
      • Classroom
        • List classrooms
        • Get classroom progress (all students)
        • Get classroom student progress
        • Sign classroom student skills
        • Get classroom student exam result
        • Get classroom student quiz result
        • Get classroom student skills
      • Renewals
        • List renewal courses
        • Get renewal exam result
        • Submit renewal exam
        • Sign renewal skills
        • Renewal status
        • Get renewal progress
        • Submit renewal module quiz
        • Get renewal quiz result
        • Get renewal skills progress
      • Dive Logs
        • Get student dive log
        • Sign student dive log
        • List student dive logs for a course
    • Sync
      • Download full course data for offline use
      • Upload offline operations
      • Get sync status
    • Public
      • List all countries
      • Dive-log enum values with labels in the response language
      • Get country data
      • Get country divisions (states/provinces)
      • List time zone identifiers, optionally narrowed to one country
      • List, search, and radius-search publicly visible dive centres
      • Every publicly visible, geolocated dive centre as a map marker
      • Countries with at least one publicly visible dive centre
      • Full detail of one publicly visible dive centre
    • Library
      • List the RAID document library
      • List the current RAID standards
  • Schemas
    • Frontend API Schema
      • DiverSearch
    • SuccessResponse
    • DiverCertification
    • ValidationErrorResponse
    • TwoFactorChallengeResponse
    • TokenResponse
    • IssuedCertification
    • ErrorResponse
    • DiveLog
    • ExamResult
    • QuizResult
    • CourseLogDetail
    • CourseLog
    • UserProfile
    • SkillProgress
    • Certification
    • PaginatedDiveLogs
    • StoreItem
    • PaymentIntentResponse
    • OrderConfirmResponse
    • OrderStatusResponse
    • InstructorSearch
    • DiveCenterSearch
  1. Medical

Get medical questionnaire structure

GET
https://test.diveraid.com/api/v1/diver/medical/questions
Diver / Medical
Maintainer:Not configured

Overview#

Returns the full medical questionnaire structure the diver must answer before submitting a medical form: the disclaimer, every active question (with sub-questions where applicable), the two acceptance policies, and whether the diver is currently allowed to submit a new form. Served by MedicalController::questions().
Controller: App\Http\Controllers\Api\V1\Diver\MedicalController::questions()
Route name: api.v1.diver.medical.questions

Authentication#

Type: Bearer Token
Header: Authorization: Bearer {token}

Request#

Method: GET
Path: /api/v1/diver/medical/questions
No parameters and no body.

Example request#


Response 200 OK#

Captured live against the capture account (an account with a prior, now-expired medical log). Policy and disclaimer HTML abbreviated below — each runs to several kilobytes; see Notes.
{
  "success": true,
  "status": "success",
  "message": "OK",
  "data": {
    "can_submit": true,
    "last_submission": {
      "expire_date": "2025-09-29",
      "has_condition": false,
      "is_expired": true
    },
    "disclaimer": {
      "id": 3,
      "policy": "<p><strong>Diver Medical Participant Questionnaire ...</strong></p>..."
    },
    "questions": [
      {
        "id": 43,
        "question": "I have had problems with my lungs, breathing, heart and/or blood affecting my normal physical or mental performance.",
        "has_sub_questions": true,
        "sub_questions": [
          { "id": 53, "question": "Chest surgery, heart surgery, heart valve surgery..." }
        ]
      },
      {
        "id": 45,
        "question": "I struggle to perform moderate exercise...",
        "has_sub_questions": false,
        "sub_questions": []
      }
    ],
    "policies": [
      {
        "id": 1,
        "type": "accept_risk",
        "title": "Liability Release and Assumption of Risk Agreement",
        "excerpt": "<p>I HEREBY ACKNOWLEDGE THAT I HAVE READ AND UNDERSTOOD...</p>",
        "policy": "<p>I understand the purpose of signing this document...</p>..."
      },
      {
        "id": 2,
        "type": "safe_diving",
        "title": "Safe Diving Practices and Statement of Understanding",
        "excerpt": "<p>I HEREBY ACKNOWLEDGE THAT I HAVE READ AND UNDERSTOOD...</p>",
        "policy": "<p>Your acceptance of this statement is required...</p>..."
      }
    ]
  }
}
Captured live: 10 top-level questions (43–52), 7 of which (43, 44, 46, 48, 49, 50, 51) carry between 4 and 6 sub-questions each.

Response fields#

FieldTypeNullableNotes
can_submitbooleanNotrue when there is no prior medical log, or the prior one's expire_date is in the past
last_submissionobjectYesnull when the diver has never submitted a medical form
last_submission.expire_datestringYesY-m-d
last_submission.has_conditionbooleanNo
last_submission.is_expiredbooleanNoModel accessor, independent of can_submit's own date comparison — both were computed from the same expire_date in every case observed
disclaimer.idintegerYesnull if no medical_disclaimer-type policy exists
disclaimer.policystringYesRaw HTML
questions[].idintegerNoUsed as the key in answers when submitting
questions[].questionstringNo
questions[].has_sub_questionsbooleanNo
questions[].sub_questionsarrayNo[] when has_sub_questions is false
questions[].sub_questions[].idintegerNoUsed as the sub-key in group_answers
questions[].sub_questions[].questionstringNo
policies[].idintegerNoUsed as p{id} in the policies submission map
policies[].typestringNoEnum value, accept_risk or safe_diving
policies[].title / .excerpt / .policystringNopolicy is the full HTML document; excerpt is a short HTML summary

Errors#

401 Unauthorized#

{
  "success": false,
  "status": "error",
  "message": "Unauthenticated"
}

Notes#

Read-only, no side effects.
The full captured response was dominated by the two policy documents and the disclaimer — several kilobytes of HTML each. A client that only needs can_submit and the question ids still pays for the full legal text on every call, the same size concern already documented for the profile QR code.
active() on MedicalQuestion filters to currently-active questions only — inactive/retired questions are not returned, so a client cannot resolve an old answers key from a previous submission against this endpoint's current question list.

Source: docs/api/diver/medical/GET_questions.md

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or

Responses

🟢200
application/json
Success
Bodyapplication/json

🟠401
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://test.diveraid.com/api/v1/diver/medical/questions' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "status": "success",
    "message": "string",
    "data": {
        "can_submit": true,
        "last_submission": {
            "expire_date": "2019-08-24",
            "has_condition": true,
            "is_expired": true
        },
        "disclaimer": {
            "id": 0,
            "policy": "string"
        },
        "questions": [
            {
                "id": 0,
                "question": "string",
                "has_sub_questions": true,
                "sub_questions": [
                    {
                        "id": 0,
                        "question": "string"
                    }
                ]
            }
        ],
        "policies": [
            {
                "id": 0,
                "type": "string",
                "title": "string",
                "excerpt": "string",
                "policy": "string"
            }
        ]
    }
}
Modified at 2026-10-07 08:54:23
Previous
List diver forms
Next
Submit medical questionnaire
Built with