Business Management API
Manage supported customer, appointment, service, team, calendar and reporting workflows in CRAD from your own interface.
Before going live — check deployed capabilities, grants and your integration’s readiness.
Check deployed capabilities, key grants and business readiness in your environment. HTTP examples were captured in isolated tests; their local-unreleased provenance neither says the API is offline nor certifies your integration. Customer self-service uses the business-configured WhatsApp authentication template; SMS is not supported. Authorized admin contact recording is a separate action without a code.
Before your first request
Get a test environment
One API key with explicit booking and business permissions. The SDK includes the official API address and discovers its bound IDs.
Choose an operation
API Reference shows the path, permissions, parameters, request body and responses.
Connect your existing interface
Use your website’s HTTP client. Customers verify through WhatsApp; authorized admin contact recording needs no code. The same API key stays on your server and covers customer integration and business management according to its explicit permissions.
Your first request
Keep one API key on your server as CRAD_API_KEY. The API address is fixed; this read returns its site/integration IDs and permissions.
Operation and response detailscurl --request GET \
"https://api.crad.ai/v1/management" \
--header "Authorization: Bearer ${CRAD_API_KEY}" \
--header "Accept: application/json" Connecting an existing admin? Check your API key
Run on your backend using the same API key. This read shows current grants without creating a contact or booking. It needs neither phone verification nor a WhatsApp connection.
curl --request GET \
"https://api.crad.ai/v1/management" \
--header "Authorization: Bearer ${CRAD_API_KEY}" \
--header "Accept: application/json" A fast, correct integration, step by step
What to load once, what to check live and how to synchronize your website database without creating another booking authority.
Read the efficient implementation guideRequests, clinic approval and customer updates
A business requiring approval receives a pending request. The website and CRAD decide the same request; an alternative time is confirmed only after customer consent and a fresh capacity check. Cancellation, changes and reminders follow that business’s own policy.
Read the request and approval guideBooking request sequence
A map of the current contract, not yet an end-to-end verified integration example.
View the 8-step HTTP workflow
Discover the business
Read published services, providers, timezone and capabilities. Let the customer choose a treatment, including an unpriced consultation option when the business publishes one. Display its fixed price, range or price-decided-at-visit explanation; never infer a service from catalogue order or its name. A bounded authorized display snapshot can make the treatment list fast; it is not a booking authority. Respect bookingEnabled: false before offering a booking.
Retrieve catalogCreate a visitor session
Send the approved integrationId and keep the returned customer bearer in memory. Prepare this once the integration is known, without blocking treatment rendering on unrelated reads. Never expose a machine credential in browser code.
Create a visitor sessionQuote and choose a time
Use the selected service and provider to get a current quote, then request availability for the selected day in the business timezone. Display the returned times: a business can use treatment-duration spacing that restarts after scheduled breaks. Do not build a fixed 15-minute list or derive starts from duration alone. Treatment and time can be selected before phone verification. Do not preload slots for every date in a month or let an obsolete response restore an old selection. A displayed time is not reserved.
Create a quoteFind available timesVerify the phone
Request a code only after an explicit customer action. Persist the challenge request UUID; retry uncertainty using that UUID and the original session. Use sessionToken and the expiry timestamps from the successful verify response for subsequent calls. Current phone proof is required for Customer API intents and commits; website login or a local projection does not replace it. Do not send another code automatically after reload. The business must configure a supported WhatsApp authentication template for the chosen language. Confirm verification readiness in the approved environment; documentation publication does not enable sending.
Request a WhatsApp verification codeVerify a phone numberPrepare and review the booking
Save a request UUID before sending the booking intent, and use it as Idempotency-Key. Submit the quote, slot, customer details and explicit communication preference. Show the returned authoritative fixed price, optional priceRangeMinor estimate or price-decided-at-visit explanation. Exact price stays null for a range or unknown price; a range minimum is not a fixed charge. Do not replace a null quote with zero or a catalogue fallback. Changed terms require fresh confirmation.
Prepare a bookingSubmit the saved intent
After the customer reviews the request, send intentId to create the booking. Idempotency-Key must be the operationId returned with that exact intent, not the earlier request UUID. Render the receipt status: pending means the request was received and awaits clinic approval; confirmed means the appointment was confirmed. An accepted request is separate from WhatsApp delivery.
Submit a booking requestRecover an uncertain result
After reload, obtain fresh same-phone proof and recover the saved request, intent or operation. Recovery must not auto-confirm. A not_found result does not prove an in-flight request cannot commit; keep the original locator until reconciliation or authoritative abandonment.
Recover an intent requestRetrieve operation resultManage the accepted request or booking
Refresh the booking and allowedActions. A contact_business policy directs customer cancellation/rescheduling to the saved business contact. Where self-service is allowed, prepare a change intent, review its terms and commit using its returned operation identity. An offered alternative requires the customer’s separate acceptance.
Retrieve a bookingPrepare a booking change
Guides
- Appointment confirmations and document links in your clinic admin
Connect request approval, staff bookings and document-ready notices to the existing clinic admin, with one durable send record per event.
- Manage WhatsApp templates, profile and images
A controlled-pilot workflow for your backend, with explicit grants, separate image identities and recovery before retry.
- Set up your integration
Obtain the environment details, choose browser or backend calls, and connect your existing booking interface.
- Build a fast, correct website integration
Load treatments quickly, check times live and keep an authorized local projection without creating a second booking authority.
- Customer requests, clinic approval and proposed times
Keep a new request pending, let the clinic decide from either admin, and confirm an alternative only after the customer agrees.
- Connect your business calendar
Use your own staff interface to read, create and manage approved appointments, then keep a scoped local calendar in sync.
- Services & website content
Use your own admin to edit treatments, choose the services shown online and maintain public contact details and images.
- Providers
Edit existing providers and service assignments from your own admin, with explicit resource authority and recoverable changes.
- Campaigns from your business admin
Choose a permitted audience, review the exact message, confirm once and recover uncertain results. Your interface uses the existing CRAD sender.
- Appointment reminders in your admin
Let the business edit reminder timing and customer preferences, and show delivery status with the existing CRAD reminder engine.
- Sync customers and bookings
Maintain permitted CRAD data in your backend with separate customer and booking streams, durable checkpoints and explicit sharing.
- Change hours and availability blocks
Build a staff workflow that reviews appointment impact, detects concurrent changes and preserves accepted bookings.
- Handle notifications and consent
Keep booking success independent of WhatsApp delivery, show truthful message states and let customers manage permission.
- Recover errors and uncertain results
Keep the right identifier, restore current authority, and establish the original outcome before creating a replacement operation.
Current contract coverage
| Capability | Status |
|---|---|
| Customer booking | Catalogue, availability, verification, create, reschedule and cancel |
| Integration data | This integration’s customers, bookings, changes and permitted history |
| Working days and hours | Business and provider schedules/blocks, with separate resource reads and impact review before changes |
| Contact entry from your admin | Create or link by name and phone with separate authority, without a verification code or messaging consent |
| Business customer management and sync | Search, name/language edits, blocking and whole-directory sync; notes and additional fields require separate approval |
| Business calendar | Read, create, reschedule and cancel appointments with separate calendar grants and impact review |
| Booking rules | Timezone, default duration and booking/cancellation notice. Website and WhatsApp share a 14/30/60/90-day window in the business timezone (default 14). Reviewed changes preserve existing appointments. |
| Duration and inheritance | Business defaults and provider overrides; updating eligible future appointments requires impact review and an additional permission |
| Administrative phone correction | Same-customer correction with a separate permission; identity links or pending sends may require prior resolution |
| Services and website content | Catalogue management, published selection, public contact details and images; separate permissions without automatic booking activation |
| Providers | Read, edit and synchronize permitted existing providers and service assignments; creating a login for an existing provider requires separate authority and sends no invitation |
| Conversations and messaging | Read conversations, switch to human handling and send text, media or templates under separate grants, current connection state and WhatsApp sending rules |
| Activity overview | Today, this week and tomorrow’s appointment counts in the business timezone with a separate whole-business permission; no customer details or financial totals |
| Monthly operational report | A complete month, statuses, daily/service/provider breakdowns and completed treatment value by currency; whole-business reports:read required. This is not payment or cash-received reporting |
| Continue owner settings | Website, integration, device and WhatsApp settings links; current owner sign-in and checks required. Opening a link changes no settings or grants |
| Outside the current contract | Provider-record creation/deletion, invitation delivery, existing password changes and payment/accounting reports |
Where is the data stored?
CRAD maintains canonical contacts and appointments. Your website can keep a permitted copy; its accounts and private notes stay local. Whole-directory sync requires a management key and explicit approval, separately from integration customer data.
Arrange API access on WhatsAppOpens a draft to the CRAD team for review before sending. Do not include access keys.