Dry run
Add ?dry_run=true to a create, an update or an appointment cancel. The API validates and authorises the call, then stops before writing.
curl -X POST "https://api.clarirad.com/api/external/v1/appointments?dry_run=true" \
-H "Authorization: Bearer cr_live_..." \
-H "Content-Type: application/json" \
-d @appointment.jsonA call that would succeed answers 200:
{ "dryRun": true, "valid": true }A call that would fail answers with the error the real call would give: 400 for bad input, 403 for a missing scope or a site outside the grant, and 409 for a room already booked when creating an appointment.
A dry run is a real call to the API. It counts against your rate limit and daily cap, and it appears in the audit log.