Renta Docs

Waivers API

Digital waiver templates and electronic signature collection.

The Waivers API manages digital liability waivers. Define waiver templates with custom content, then collect electronic signatures from customers before or during their rental.

Test vs live API keys

REST API keys carry an environment: test or live (see prefixes like renta_sk_test_… / renta_sk_live_…). A test key is not a sandbox: both kinds of key read and write the same real templates, waivers and bookings for your business, and a test key can create real bookings and real card charges.

The one difference is shared settings. While your business is live (it has completed Go Live and is not paused), a test key cannot create, change or delete coupons, pricing rules or add-ons, or create, change or archive night-before templates. Those calls return 409 (error practice_lane). A live key can. Waiver templates and signing work the same for both keys.

List templates returns your business's templates. Sign needs a valid waiver_template_id; an unknown ID returns 404 (not_found). If you pass booking_id, the booking must belong to your business; otherwise the API returns 404 (not_found).

To try payments without moving real money, book for one of your Practice customers: card payments and deposit holds for that booking run in Stripe test mode. The booking is still a real record and can still send booking webhooks. See Practice customers.

Waiver Types

TypeDescription
singleOne waiver per booking (covers all riders/participants)
per_riderEach participant signs individually

List Waiver Templates

GET /v1/waivers/templates

Returns your business's waiver templates. Test and live keys get the same templates (see Test vs live API keys). Active templates only (unless using a secret key with active=false).

Query Parameters:

ParameterTypeDescription
activebooleanInclude inactive templates (secret key only)
cursorstringPagination cursor
limitintegerResults per page (1–100, default 20)
const templates = await renta.waivers.templates();
for (const t of templates.data) {
  console.log(`${t.name} (${t.type})`);
}
# Live and test keys return the same templates
curl https://api.getrenta.io/v1/waivers/templates \
  -H "Authorization: Bearer renta_sk_live_..."
curl https://api.getrenta.io/v1/waivers/templates \
  -H "Authorization: Bearer renta_sk_test_..."

Response:

{
  "data": [
    {
      "id": "wt_liability",
      "name": "Liability Waiver",
      "content": "<h2>Release of Liability</h2><p>By signing this waiver...</p>",
      "type": "per_rider",
      "expiration_days": 365,
      "active": true
    }
  ],
  "has_more": false,
  "next_cursor": null
}

Sign Waiver

POST /v1/waivers/sign

Submit a signed waiver. Works with both secret and publishable keys. Test and live keys sign against the same real templates and bookings (Test vs live API keys).

Body Parameters:

ParameterTypeRequiredDescription
booking_idstring—Associated booking (optional)
waiver_template_idstring✅Template to sign (must exist in your tenant)
signer_namestring✅Full legal name of signer
signer_emailstring—Signer's email
signature_dataobject✅Signature data (see below)

Signature Data Format

// Typed signature
{ type: 'typed', value: 'John Doe' }

// Drawn signature (base64 image)
{ type: 'drawn', value: 'data:image/png;base64,...' }
const result = await renta.waivers.sign({
  booking_id: 'bk_def456',
  waiver_template_id: 'wt_liability',
  signer_name: 'John Doe',
  signature_data: { type: 'typed', value: 'John Doe' },
});

console.log(`Waiver ID: ${result.waiver_id}`);
console.log(`PDF: ${result.pdf_url}`);
curl -X POST https://api.getrenta.io/v1/waivers/sign \
  -H "Authorization: Bearer renta_sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "booking_id": "bk_def456",
    "waiver_template_id": "wt_liability",
    "signer_name": "John Doe",
    "signature_data": {
      "type": "typed",
      "value": "John Doe"
    }
  }'

Response (201 Created):

{
  "success": true,
  "waiver_id": "w_abc123",
  "pdf_url": "https://storage.getrenta.io/waivers/w_abc123.pdf"
}

Errors:

StatusWhen
404Booking or template not found in your business

Check Waiver Status

GET /v1/waivers/status/:booking_id

Check which waivers have been signed for a booking.

const status = await renta.waivers.status('bk_def456');
console.log(`All signed: ${status.all_signed}`);
for (const w of status.waivers) {
  console.log(`${w.signer_name}: ${w.signed ? '✅' : '❌'}`);
}
curl https://api.getrenta.io/v1/waivers/status/bk_def456 \
  -H "Authorization: Bearer renta_sk_live_..."

Signed waivers are stored as PDFs in Supabase Storage. The PDF URL is valid for 1 hour. Request a fresh URL by calling the status endpoint again.

Waivers API | Renta Docs