RAID API
  1. Renewals
  • 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
        • Submit medical questionnaire
      • 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
        • Get renewal exam result
          GET
        • Submit renewal exam
          POST
        • Sign renewal skills
          POST
        • Renewal status
          GET
        • Get renewal progress
          GET
        • Submit renewal module quiz
          POST
        • Get renewal quiz result
          GET
        • Get renewal skills progress
          GET
      • 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. Renewals

Renewal status

GET
https://test.diveraid.com/api/v1/professional/renewal-status
Professional / Renewals
Maintainer:Not configured

Overview#

Returns how many certifications the authenticated professional has issued this year against the number required for the free renewal, how many are missing, and the renewal checklist the website shows (which requirement is met and which is not). Read-only. Served by RenewalStatusController::__invoke().
Controller: App\Http\Controllers\Api\V1\Professional\RenewalStatusController
Route name: api.v1.professional.renewal-status

Authentication#

Type: Bearer Token (Sanctum)
Header: Authorization: Bearer {token}
Additional middleware: role:professional. A user without the professional role receives 403.

Request#

Method: GET
Path: /api/v1/professional/renewal-status
No path parameters, no query parameters, no body.

Example request#


Response 200 OK#

The body of data is the one that tests/Api/Professional/RenewalChecklistTest.php asserts in its case "keeps the four existing keys and values with renewal last" (labels shown in English).
{
  "success": true,
  "status": "success",
  "message": "OK",
  "data": {
    "certifications_last_year": 3,
    "certifications_required": 5,
    "missing_certifications_for_renewal": 2,
    "certifications_last_year_for_renew": 3,
    "renewal": {
      "type": "professional",
      "expired": true,
      "period_open": true,
      "renewable": true,
      "free_renewal": false,
      "medical_condition": false,
      "requirements": [
        {
          "key": "MedicalForm",
          "met": true,
          "mandatory": true,
          "label": "Medical form"
        },
        {
          "key": "MedicalCertificate",
          "met": true,
          "mandatory": true,
          "label": "Medical Certificate"
        },
        {
          "key": "ProfessionalInsurance",
          "met": true,
          "mandatory": true,
          "label": "Valid Professional Insurance"
        },
        {
          "key": "JobCountry",
          "met": true,
          "mandatory": true,
          "label": "Job country"
        },
        {
          "key": "CertificatedCourses",
          "met": false,
          "mandatory": false,
          "label": "5 Certifications for free renew"
        }
      ]
    }
  }
}

Response fields#

FieldTypeNullableDescription
data.certifications_last_yearintegerNoEvery certification issued by the professional (as instructor) from 1 January of the current year to today, whatever the course
data.certifications_requiredintegerNoThe number of certifications the free renewal requires (the minCertificationRequired application option). 0 when the option is not set
data.missing_certifications_for_renewalintegerNocertifications_required minus certifications_last_year, never below 0
data.certifications_last_year_for_renewintegerYesThe count the website renewal check uses: only certifications of courses that count for renewal, issued in the calendar year of the professional's expire_date when that date is less than a year away, otherwise in the current calendar year. null when the account has no expire_date
data.renewalobjectNoThe renewal checklist the website renewal alert shows. Always the last key of data
data.renewal.typestringNoprofessional or divemaster. Decides which requirements are evaluated and which labels are used
data.renewal.expiredbooleanNotrue when the account is expired
data.renewal.period_openbooleanYestrue when the renewal period has started. null when the account has no expire_date
data.renewal.renewablebooleanYestrue when every mandatory requirement is met (every requirement except CertificatedCourses). null when the account has no distributor or no expire_date
data.renewal.free_renewalbooleanYestrue when every requirement, CertificatedCourses included, is met. null when the account has no distributor or no expire_date
data.renewal.medical_conditionbooleanNotrue when a medical condition was detected. A warning only: it never blocks the renewal and MedicalCondition is never listed in requirements
data.renewal.requirementsarrayYesOne item per requirement, in the order the website shows them. null when the account has no distributor or no expire_date: the requirements cannot be evaluated without them, and the response is still 200
data.renewal.requirements[].keystringNoThe requirement key, for example MedicalForm, MedicalCertificate, ProfessionalInsurance, JobCountry, CertificatedCourses, or professional-course-<id> for a required professional course
data.renewal.requirements[].metbooleanNoWhether the professional meets the requirement
data.renewal.requirements[].mandatorybooleanNofalse only for CertificatedCourses (it is needed for the free renewal, not for the renewal); true for every other item
data.renewal.requirements[].labelstringNoDisplay text. For the keys with a translation it is in the request locale. For professional-course-<id> it is the course name as stored (not translated), or the key itself when the course no longer exists. It carries no solution text

Errors#

401 Unauthorized#

{
  "success": false,
  "status": "error",
  "message": "Unauthenticated"
}
message is Token expired or Invalid token when a bearer token was sent but is expired or unknown.

403 Forbidden#

Returned when the authenticated user does not have the professional role (role:professional middleware). The status was captured live with a diver account; the body was not captured, because the local capture environment answers with the framework's debug page rather than the production body.

429 Too Many Requests#

The route sits behind the API rate limiter; the live responses carried x-ratelimit-limit: 120. The body is the standard envelope with message: "Too many requests" and a Retry-After header. This section is copied from GET /api/v1/professional/students (same limiter) and was not captured again for this endpoint.

Notes#

A configured professional course that is not required (is_required false in the professionalCourses setting) is not a requirement and is not listed.
Read-only, no side effects.
missing_certifications_for_renewal is built on certifications_last_year, while the website decides whether the requirement is met with certifications_last_year_for_renew. The two counts can differ (the first includes courses that do not count for renewal), so the missing figure and the website's verdict can disagree.
Show certifications_last_year_for_renew when the goal is to mirror the website renewal check.
renewal tells which requirement is missing: use requirements[].met and mandatory. A renewable of false means at least one mandatory item has met: false; a free_renewal of false with renewable: true means only CertificatedCourses is missing.

Source: docs/api/professional/renewals/GET_renewal_status.md

Request

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

Responses

🟢200
application/json
Success
Bodyapplication/json

🟠401
🟠403
🟠429
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://test.diveraid.com/api/v1/professional/renewal-status' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "status": "success",
    "message": "string",
    "data": {
        "certifications_last_year": 0,
        "certifications_required": 0,
        "missing_certifications_for_renewal": 0,
        "certifications_last_year_for_renew": 0,
        "renewal": {
            "type": "professional",
            "expired": true,
            "period_open": true,
            "renewable": true,
            "free_renewal": true,
            "medical_condition": true,
            "requirements": [
                {
                    "key": "string",
                    "met": true,
                    "mandatory": true,
                    "label": "string"
                }
            ]
        }
    }
}
Modified at 2026-12-04 07:58:21
Previous
Sign renewal skills
Next
Get renewal progress
Built with