CRADDevelopers
English

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

  1. 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.

  2. Choose an operation

    API Reference shows the path, permissions, parameters, request body and responses.

  3. 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 details
Read only · cURL
curl --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.

Read only · cURL
curl --request GET \
  "https://api.crad.ai/v1/management" \
  --header "Authorization: Bearer ${CRAD_API_KEY}" \
  --header "Accept: application/json"
Operation and response details

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 guide

Requests, 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 guide

Booking request sequence

A map of the current contract, not yet an end-to-end verified integration example.

View the 8-step HTTP workflow
  1. 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 catalog
  2. Create 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 session
  3. Quote 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 times
  4. Verify 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 number
  5. Prepare 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 booking
  6. Submit 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 request
  7. Recover 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 result
  8. Manage 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

Current contract coverage

CapabilityStatus
Customer bookingCatalogue, availability, verification, create, reschedule and cancel
Integration dataThis integration’s customers, bookings, changes and permitted history
Working days and hoursBusiness and provider schedules/blocks, with separate resource reads and impact review before changes
Contact entry from your adminCreate or link by name and phone with separate authority, without a verification code or messaging consent
Business customer management and syncSearch, name/language edits, blocking and whole-directory sync; notes and additional fields require separate approval
Business calendarRead, create, reschedule and cancel appointments with separate calendar grants and impact review
Booking rulesTimezone, 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 inheritanceBusiness defaults and provider overrides; updating eligible future appointments requires impact review and an additional permission
Administrative phone correctionSame-customer correction with a separate permission; identity links or pending sends may require prior resolution
Services and website contentCatalogue management, published selection, public contact details and images; separate permissions without automatic booking activation
ProvidersRead, 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 messagingRead conversations, switch to human handling and send text, media or templates under separate grants, current connection state and WhatsApp sending rules
Activity overviewToday, 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 reportA 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 settingsWebsite, integration, device and WhatsApp settings links; current owner sign-in and checks required. Opening a link changes no settings or grants
Outside the current contractProvider-record creation/deletion, invitation delivery, existing password changes and payment/accounting reports
Browse all API operations

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 WhatsApp

Opens a draft to the CRAD team for review before sending. Do not include access keys.