Boats
Import Boat
Import a boat listing with images and amenities
POST
/import/boatImport a new boat listing in a single API call. This endpoint handles creating the boat, uploading image URLs, and linking amenities.
Authentication
Requires API key in X-API-Key header. Get your key from Dashboard → Settings → API Access.
When using your owner API key (cb_live_*), boats are automatically created under your account - no need to specify owner fields.
Request Body
Required Fields
| Field | Type | Description |
|---|---|---|
title | string | Boat name/title |
location_city | string | City where boat is based |
location_state | string | State or country |
boat_type | string | Type of boat (see below) |
capacity | integer | Maximum guests (≥1) |
Optional Fields
| Field | Type | Default | Description |
|---|---|---|---|
description | string | Full description (markdown supported) | |
price_per_hour | number | Hourly rate in USD | |
price_per_day | number | Daily rate in USD | |
length_ft | number | Length in feet | |
year | integer | Year built | |
location_address | string | Full address or marina name | |
latitude | number | GPS latitude | |
longitude | number | GPS longitude | |
minimum_hours | integer | 4 | Minimum booking hours |
instant_book | boolean | false | Allow instant booking |
cancellation_policy | string | moderate | flexible, moderate, strict |
is_published | boolean | true | Visible to guests |
Boat Types
sailboat, yacht, pontoon, fishing, catamaran, speedboat, houseboat, jetski, other
Images
Array of image URLs or image objects:
The first image is set as primary by default unless specified otherwise.
Amenities
Array of amenity names (matched case-insensitively):
Available amenities:
- Entertainment: Bluetooth Speakers, WiFi, TV/Screen, Sound System
- Comfort: Cooler/Ice Chest, Shade/Canopy, Cabin, Air Conditioning, Restroom, Shower, Grill/BBQ, Seating Area
- Safety: Life Jackets, First Aid Kit, GPS/Navigation, Radio/Communication
- Water Activities: Fishing Gear, Snorkeling Equipment, Water Toys, Wakeboard/Tubes, Kayak/Paddleboard, Diving Platform
Request
Response
Response Fields
| Field | Type | Description |
|---|---|---|
success | boolean | Whether the import succeeded |
boat | object | Created boat with all relations |
images_uploaded | integer | Number of images added |
amenities_added | integer | Number of amenities linked |
view_url | string | Public URL to view the listing |
Errors
| Status | Message |
|---|---|
400 | title is required |
400 | location_city is required |
400 | boat_type must be one of: sailboat, yacht, ... |
400 | capacity is required and must be >= 1 |
400 | Owner identification required: provide owner_id or owner_email |
401 | API key required. Include X-API-Key header. |
401 | Invalid API key |