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
      • Delete account
      • Update password
      • Update dive center association
    • Diver
      • Shared diver resources
      • Courses
        • List active courses
        • List expired courses
        • Get course detail
        • Submit module quiz
        • Get quiz result
        • Submit course exam
        • Get exam result
        • Get skills progress
        • Sign skills (diver)
      • Free Learnings
        • List enrolled free learnings
        • List available free learning courses
        • Enroll in a free learning course
        • Get free learning detail
        • Submit free learning module quiz
        • Get free learning quiz result
      • 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 award cards
      • Documents
        • Upload own medical certificate or 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
        • Get student quiz result
        • Get student exam result
        • Get student skills progress
        • Sign student skills
      • Certifications
        • Get certification history
        • Get certification quiz result
        • Get certification exam result
        • Get certification skills
        • List all professional certifications
        • List diver-level certifications
        • List specialty certifications
        • List professional certifications
        • List trainer certifications
        • List examiner certifications
      • Classroom
        • List classrooms
        • Get classroom progress (all students)
        • Get classroom student progress
        • Get classroom student quiz result
        • Get classroom student exam result
        • Get classroom student skills
        • Sign classroom student skills
      • Renewals
        • List renewal courses
          GET
        • Get renewal progress
          GET
        • Renewal status
          GET
        • Submit renewal module quiz
          POST
        • Get renewal quiz result
          GET
        • Submit renewal exam
          POST
        • Get renewal exam result
          GET
        • Get renewal skills progress
          GET
        • Sign renewal skills
          POST
      • Recognitions
        • List recognition courses
      • Dive Logs
        • Get student dive log
        • Sign student dive log
        • List student dive logs for a course
      • Store
    • Sync
      • Upload offline operations
      • Download full course data for offline use
      • Get sync status
    • Dive Center
    • 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
  • Schemas
    • Frontend API Schema
      • DiverSearch
    • SuccessResponse
    • DiverCertification
    • ValidationErrorResponse
    • TwoFactorChallengeResponse
    • TokenResponse
    • ErrorResponse
    • DiveLog
    • UserProfile
    • CourseLog
    • CourseLogDetail
    • QuizResult
    • ExamResult
    • 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, and how many are missing. 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#

Captured live for an instructor who issued 16 certifications this year.
{
  "success": true,
  "status": "success",
  "message": "OK",
  "data": {
    "certifications_last_year": 16,
    "certifications_required": 5,
    "missing_certifications_for_renewal": 0,
    "certifications_last_year_for_renew": 16
  }
}

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

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#

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.

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
    }
}
Modified at 2026-10-08 12:32:31
Previous
Get renewal progress
Next
Submit renewal module quiz
Built with