Charter Captain Waivers API
The Waivers API from Charter Captain — 6 operation(s) for waivers.
The Waivers API from Charter Captain — 6 operation(s) for waivers.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/chartercaptain-com:chartercaptain-com-waivers-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Charter Captain Waivers API
version: 1.0.0
description: REST API for the Charter Captain iOS apps
servers:
- url: http://localhost:3002
description: Development
security:
- bearerAuth: []
tags:
- name: Waivers
paths:
/api/v1/waivers/templates:
get:
summary: List waiver templates
description: Returns all waiver templates for the authenticated boat owner.
operationId: getWaiverTemplates
tags:
- Waivers
security:
- bearerAuth: []
responses:
'200':
description: Waiver templates
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/WaiverTemplate'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
post:
summary: Create waiver template
description: Creates a new waiver template for the authenticated boat owner.
operationId: postWaiverTemplate
tags:
- Waivers
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- name
- content
properties:
name:
type: string
content:
type: string
responses:
'201':
description: Waiver template created
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/WaiverTemplate'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/waivers/templates/{id}:
patch:
summary: Update waiver template
description: Updates an existing waiver template by ID.
operationId: patchWaiverTemplate
tags:
- Waivers
security:
- bearerAuth: []
parameters:
- name: id
in: path
description: Waiver template ID
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
content:
type: string
isActive:
type: boolean
responses:
'200':
description: Updated waiver template
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/WaiverTemplate'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Waiver template not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/rentals/{rentalId}/guests:
post:
summary: Add guests to rental
description: Adds one or more guests to a rental for waiver tracking.
operationId: postRentalGuests
tags:
- Waivers
security:
- bearerAuth: []
parameters:
- name: rentalId
in: path
description: Rental ID
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- guests
properties:
guests:
type: array
items:
type: object
required:
- firstName
- lastName
- email
properties:
firstName:
type: string
lastName:
type: string
email:
type: string
format: email
phone:
type: string
isCharterer:
type: boolean
default: false
responses:
'201':
description: Guests added
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Guest'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Rental not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/rentals/{rentalId}/waivers/send:
post:
summary: Send waivers to pending guests
description: Sends waiver emails to all guests in PENDING status for the rental.
operationId: postRentalWaiversSend
tags:
- Waivers
security:
- bearerAuth: []
parameters:
- name: rentalId
in: path
description: Rental ID
required: true
schema:
type: string
responses:
'200':
description: Waivers sent
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
sent:
type: integer
guestIds:
type: array
items:
type: string
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Rental not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/rentals/{rentalId}/waiver/{guestId}:
get:
summary: View waiver and guest info
description: Returns the waiver template content and guest information for signing. Public endpoint — no authentication required.
operationId: getRentalWaiver
tags:
- Waivers
security: []
parameters:
- name: rentalId
in: path
description: Rental ID
required: true
schema:
type: string
- name: guestId
in: path
description: Guest ID
required: true
schema:
type: string
responses:
'200':
description: Waiver template and guest info
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
template:
$ref: '#/components/schemas/WaiverTemplate'
guest:
$ref: '#/components/schemas/Guest'
'404':
description: Rental, guest, or waiver not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/rentals/{rentalId}/waiver/{guestId}/sign:
post:
summary: Sign waiver
description: Records a guest's signature for their waiver. On success, the server stamps `userAgent` and `ipAddress` into `signatureData`. Public endpoint — no authentication required.
operationId: postRentalWaiverSign
tags:
- Waivers
security: []
parameters:
- name: rentalId
in: path
description: Rental ID
required: true
schema:
type: string
- name: guestId
in: path
description: Guest ID
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- signatureData
properties:
signatureData:
type: object
required:
- typedName
- agreedAt
properties:
typedName:
type: string
minLength: 1
description: Guest's typed name as their signature.
agreedAt:
type: string
format: date-time
description: ISO 8601 timestamp of when the guest agreed.
additionalProperties: true
responses:
'200':
description: Waiver signed.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Guest'
'400':
description: Bad request — `VALIDATION_ERROR` if the request body is invalid, or `ALREADY_SIGNED` if the waiver has already been signed.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Rental, guest, or waiver not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Guest:
type: object
required:
- id
- rentalId
- firstName
- lastName
- email
- isCharterer
- waiverStatus
properties:
id:
type: string
rentalId:
type: string
waiverTemplateId:
type: string
nullable: true
firstName:
type: string
lastName:
type: string
email:
type: string
format: email
phone:
type: string
nullable: true
isCharterer:
type: boolean
waiverStatus:
type: string
enum:
- PENDING
- SENT
- SIGNED
waiverSentAt:
type: string
format: date-time
nullable: true
waiverSignedAt:
type: string
format: date-time
nullable: true
signatureData:
type: string
nullable: true
Error:
type: object
properties:
error:
type: object
properties:
message:
type: string
code:
type: string
required:
- message
- code
required:
- error
WaiverTemplate:
type: object
required:
- id
- boatOwnerId
- name
- content
- version
- isActive
- createdAt
- updatedAt
properties:
id:
type: string
boatOwnerId:
type: string
name:
type: string
content:
type: string
version:
type: integer
isActive:
type: boolean
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: Clerk JWT token