Renta Docs

Tenant API

Read and update the tenant profile — identity, contact details, and subscription information.

The Tenant API provides access to your tenant's profile, including identity, contact information, branding, and subscription details.

All tenant endpoints require a secret key (renta_sk_). Publishable keys will receive a 403 Forbidden error.

Get Tenant Profile

GET /v1/tenant

Returns the full tenant profile.

const tenant = await renta.tenant.get();
console.log(tenant.name);
console.log(tenant.subscription_tier);
curl https://api.getrenta.io/v1/tenant \
  -H "Authorization: Bearer renta_sk_live_..."

Response:

{
  "id": "tn_abc123",
  "slug": "mountain-bike-rentals",
  "name": "Mountain Bike Rentals",
  "email": "info@mtbrentals.com",
  "phone": "+1-555-0100",
  "address_line1": "123 Trail Road",
  "address_line2": "Suite 4",
  "city": "Moab",
  "state": "UT",
  "zip": "84532",
  "brand_settings": {
    "primary_color": "#2563eb",
    "logo_url": "https://storage.getrenta.io/..."
  },
  "subscription_tier": "pro",
  "created_at": "2026-01-15T10:00:00Z",
  "updated_at": "2026-03-20T14:30:00Z"
}

Update Tenant Profile

PATCH /v1/tenant

Update tenant profile fields. Only the fields you include will be changed. Returns the updated tenant profile.

brand_settings is merged into the stored brand settings, key by key:

  • Brand keys you leave out keep their stored values, so "brand_settings": {} changes nothing.
  • A key you include replaces its stored value as a whole, including nested objects and arrays. A key sent as null is stored as null, which clears it (an older stored spelling of the same setting is cleared too).
  • colors and fonts are merged one level down: only the colours or fonts you include change.
  • widget_config is also merged one level down. button_text is trimmed and cut to 80 characters (an empty one is ignored), show_item_descriptions must be one of hidden, preview, expandable or always, and other fields are ignored.
  • Keys Renta manages (such as the Stripe account status) cannot be changed and are ignored.
  • "brand_settings": null removes every brand key except the ones Renta manages.
  • The request is refused with 400 validation_error (and nothing is saved) when a key is a near-miss of a brand key nothing reads (for example logoURL instead of logo_url), when colors holds anything but hex colours or fonts anything but a plain CSS font stack, or when logo_url, favicon_url, hero_image_url or an admin_appearance.background.images entry is not an https:// URL or a data:image/* URI. An empty logo_url, favicon_url or hero_image_url clears it.

Body Parameters:

ParameterTypeRequiredDescription
namestring—Business display name
slugstring—URL-friendly identifier
emailstring—Contact email
phonestring—Contact phone number
address_line1string—Street address line 1
address_line2string—Street address line 2
citystring—City
statestring—State / province
zipstring—ZIP / postal code
brand_settingsobject—Branding configuration (colors, logo, etc.)
const updated = await renta.tenant.update({
  name: 'Mountain Bike Rentals LLC',
  email: 'hello@mtbrentals.com',
});
console.log(updated.updated_at);
curl -X PATCH https://api.getrenta.io/v1/tenant \
  -H "Authorization: Bearer renta_sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Mountain Bike Rentals LLC",
    "email": "hello@mtbrentals.com"
  }'

Response:

{
  "id": "tn_abc123",
  "slug": "mountain-bike-rentals",
  "name": "Mountain Bike Rentals LLC",
  "email": "hello@mtbrentals.com",
  "phone": "+1-555-0100",
  "address_line1": "123 Trail Road",
  "address_line2": "Suite 4",
  "city": "Moab",
  "state": "UT",
  "zip": "84532",
  "brand_settings": {
    "primary_color": "#2563eb",
    "logo_url": "https://storage.getrenta.io/..."
  },
  "subscription_tier": "pro",
  "created_at": "2026-01-15T10:00:00Z",
  "updated_at": "2026-04-07T21:00:00Z"
}
Tenant API | Renta Docs