API Reference

Complete reference documentation for all Renu Platform API endpoints. All requests use HTTPS and return JSON responses.

Auth

User authentication and authorization

POST /auth/register
POST /auth/login
POST /auth/refresh
POST /auth/mfa/setup
POST /auth/mfa/verify
// Example: Auth request
fetch('https://api.studioimagesalon.ca/v1/auth/login', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    email: 'user@example.com',
    password: 'your-password'
  })
})
  .then(res => res.json())
  .then(data => console.log(data.token))

Businesses

Business profiles and discovery

GET /businesses
GET /businesses/:slug
GET /businesses/:id/services
GET /businesses/:id/staff
GET /businesses/:id/slots
// Example: Businesses request
fetch('https://api.studioimagesalon.ca/v1/businesses', {
  headers: {
    'Authorization': 'Bearer ***'
  }
})
  .then(res => res.json())
  .then(data => console.log(data.businesses))

Services

Service listings and management

GET /services
GET /services/:id
POST /services
PATCH /services/:id
DELETE /services/:id
// Example: Services request
fetch('https://api.studioimagesalon.ca/v1/businesses/renu-studio/services', {
  headers: {
    'Authorization': 'Bearer ***'
  }
})
  .then(res => res.json())
  .then(data => console.log(data.services))

Staff

Staff profiles and schedules

GET /staff
GET /staff/:id
POST /staff
PATCH /staff/:id
DELETE /staff/:id
GET /staff/:id/availability
// Example: Staff request
// See full documentation at docs.studioimagesalon.ca

Bookings

Appointment scheduling

POST /bookings
GET /bookings/me
GET /bookings/:id
PATCH /bookings/:id/cancel
POST /bookings/:id/reschedule
// Example: Bookings request
fetch('https://api.studioimagesalon.ca/v1/bookings', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer ***',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    businessId: 'biz_123',
    serviceId: 'svc_456',
    staffId: 'staff_789',
    startTime: '2026-06-28T14:00:00Z'
  })
})
  .then(res => res.json())
  .then(data => console.log(data.booking))

Payments

Payment processing and invoices

POST /payments/checkout
POST /payments/webhook
GET /payments/:id
POST /payments/:id/refund
// Example: Payments request
fetch('https://api.studioimagesalon.ca/v1/payments/checkout', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer ***',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    bookingId: 'book_123',
    amount: 6500,
    currency: 'cad'
  })
})
  .then(res => res.json())
  .then(data => console.log(data.paymentIntent))

Clients

Client relationship management

GET /clients
GET /clients/:id
PATCH /clients/:id
GET /clients/:id/visits
GET /clients/:id/spending
// Example: Clients request
// See full documentation at docs.studioimagesalon.ca

Reviews

Reviews and ratings

POST /reviews
GET /reviews/business/:id
POST /reviews/:id/respond
GET /reviews/mine
// Example: Reviews request
// See full documentation at docs.studioimagesalon.ca

Campaigns

Marketing campaigns and automation

GET /campaigns
POST /campaigns
GET /campaigns/:id
POST /campaigns/:id/send
GET /campaigns/:id/stats
// Example: Campaigns request
// See full documentation at docs.studioimagesalon.ca

Notifications

Push and email notifications

GET /notifications
POST /notifications/send
PATCH /notifications/:id/read
DELETE /notifications/:id
// Example: Notifications request
// See full documentation at docs.studioimagesalon.ca

Forms

Form builder and responses

GET /forms
POST /forms
GET /forms/:id
POST /forms/:id/responses
GET /forms/:id/responses
// Example: Forms request
// See full documentation at docs.studioimagesalon.ca

Inventory

Product and inventory management

GET /inventory
POST /inventory
PATCH /inventory/:id
GET /inventory/alerts
POST /inventory/adjust
// Example: Inventory request
// See full documentation at docs.studioimagesalon.ca

Loyalty

Loyalty programs and rewards

GET /loyalty/:clientId
POST /loyalty/stamps
GET /loyalty/rewards
POST /loyalty/redeem
GET /loyalty/:clientId/history
// Example: Loyalty request
// See full documentation at docs.studioimagesalon.ca

AI

AI-powered features

POST /ai/receptionist
GET /ai/recommendations/:businessId
POST /ai/smart-scheduling
// Example: AI request
// See full documentation at docs.studioimagesalon.ca