Skip to content

REST API basics ​

Every whitelisted function is a REST endpoint - the same governed layer the UI and the AI use.

Try it in 2 minutes

Download the Postman collection (generated with every docs build, organised by domain), set three collection variables - base_url (your Kamra URL), api_key, api_secret - and every request is ready to send. Full method list: REST API reference. All developer shortcuts: API & developers.

POST /api/method/kamra.api.<function>
Authorization: token <api_key>:<api_secret>
Content-Type: application/json

Generate keys from Kamra Agent → Connect your AI (per-user, role-scoped OAuth for Claude) or, for service integrations, on Developers.

Frequently used endpoints ​

AreaEndpoints
Sellingget_quote · create_booking · create_group_booking · available_rooms · availability_calendar
The dayfront_desk_snapshot · check_in · check_out · find_reservations · find_invoices
Moneyget_folio · post_stay_charge · add_folio_payment · split_folio_charge · transfer_folio_charges · close_folio · run_night_audit · gstr1_rows
Policiescancellation_preview · cancel_reservation
Opscreate_ticket · hk_queue · room_blocks
Chaincrs_search (via kamra.crs) · portfolio_dashboard (via kamra.dashboards)

Guest-facing (no auth) endpoints live in kamra.public_api - the booking page and self check-in run on them; they are rate-limited and never trust caller-supplied prices.

Responses are JSON: {"message": <return value>}. Errors return an HTTP 4xx with a human-readable reason - surface it to your user as-is.

Open source (AGPL-3.0) · docs for Kamra v2.6.17 · every feature included, always.