Fizmoh API Reference & Manual

REST API Reference & Operator Manual

Build enterprise integrations with Fizmoh Cloud. Send WhatsApp messages, trigger marketing broadcasts, manage CRM contacts, sync orders, and listen to real-time webhook events.

Quick Start & Architecture

Fizmoh Cloud provides a multi-tenant API. Every request made with a tenant API key automatically operates within that tenant's isolated database scope.

1. WhatsApp API

Send texts, media, interactive list/button messages, and approved Meta templates.

2. CRM & Orders

Sync customer contacts, stages, tags, bookings, and auto-generate AmwalPay checkout links.

3. Developer Webhooks

Subscribe to real-time events signed with HMAC SHA-256 secrets.

Authentication

Generate your secret API key in Settings → API Keys & Docs. Keys begin with the prefix fiz_live_....

Pass your API key in either of the following HTTP headers:

HTTP Request HeadersREST API
X-API-Key: fiz_live_your_secret_key_here
# or
Authorization: Bearer fiz_live_your_secret_key_here

Integration Code Examples

1. Send WhatsApp Message (cURL)

cURL — Send Text MessageREST API
curl -sS -X POST https://app.fizmoh.cloud/api/external/v1/whatsapp/send \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: fiz_live_REPLACE_ME' \
  -d '{
    "phone": "+96898821965",
    "type": "text",
    "text": "Your booking ORD-9821 is confirmed! View details: https://app.fizmoh.cloud"
  }'

2. Node.js Example

Node.js (TypeScript / JavaScript)REST API
const res = await fetch("https://app.fizmoh.cloud/api/external/v1/whatsapp/send", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "X-API-Key": process.env.FIZMOH_API_KEY,
  },
  body: JSON.stringify({
    phone: "+96898821965",
    text: "Welcome to Fizmoh Cloud!",
  }),
});
const data = await res.json();
console.log("Message ID:", data.messageId);

REST API Endpoint Catalog

External V1 Public APIs (Developer & Integration)

MethodPathDescription
POST/api/external/v1/whatsapp/sendSend text, media (image/doc/video), interactive buttons, and template messages
GET/api/external/v1/whatsapp/templatesList approved Meta WhatsApp templates with parameters
POST/api/external/v1/whatsapp/broadcastBatch dispatch templates to up to 500 phone numbers
GET/api/external/v1/customersSearch and list CRM contacts with pagination and stage filter
POST/api/external/v1/customersCreate or upsert CRM contact details and tags
GET/PATCH/DELETE/api/external/v1/customers/:idRetrieve, update, or remove a contact record
GET/api/external/v1/ordersQuery bookings and orders with status and date filters
POST/api/external/v1/ordersCreate order and generate instant AmwalPay customer checkout URL
GET/POST/DELETE/api/external/v1/webhooksManage HTTPS developer webhook subscriptions

Platform & Workspaces

MethodPathDescription
GET/api/healthPublic service and database health check
GET/api/featuresEnabled modules for the current workspace
GET/api/dashboardWorkspace metrics and operational summary
GET/api/search?q=...Search contacts, orders, and conversations
GET/api/tenant/healthTenant usage and health summary
GET/api/tenant/exportAuthenticated tenant data export
GET/api/plans/publicPublic plan catalog

Tours, Bookings & Calendar

MethodPathDescription
GET/POST/api/toursList or create tours
GET/PUT/DELETE/api/tours/:idRead, edit, or remove a tour
GET/POST/api/slotsManage tour availability slots
GET/POST/api/ordersList or create customer orders
GET/PUT/DELETE/api/orders/:idRead, update, or cancel an order
POST/api/orders/:id/refundRequest an order refund
POST/api/orders/:id/rescheduleReschedule an order
POST/api/orders/:id/send-confirmationSend a WhatsApp confirmation message
GET/api/calendarBooking calendar data
GET/api/calendar/icsCalendar subscription/download feed

WhatsApp & Omnichannel Commerce

MethodPathDescription
GET/POST/api/whatsapp/accountsList or connect WhatsApp numbers
POST/api/whatsapp/sendSend freeform text or interactive messages
GET/POST/api/campaignsManage broadcast promotional campaigns
POST/api/campaigns/:id/sendTrigger campaign broadcast to audience
POST/api/whatsapp/templates/syncSynchronize templates from Meta
GET/POST/api/botflowsVisual botflow logic graphs and execution
POST/api/amwalpay/create-sessionInitiate AmwalPay payment session
POST/api/amwalpay/webhookVerify payment notifications
GET/api/paymentsPayment records and verification queue

Developer Webhook Events

Subscribe your backend systems to real-time events triggered by customer interactions, incoming messages, and payments.

  • message.received — Inbound WhatsApp message received from a customer.
  • message.delivered — Message delivery receipt confirmation.
  • order.created — Customer created an order / booking.
  • order.paid — Verified AmwalPay payment received.

Ready to integrate?

Download the Postman collection or view the OpenAPI specification.