Skip to main content

Create a manual pre-appointment

When an appointment doesn't come through the HIS integration, a reception user can register it by hand. This guide covers the manual create path.

note

The reception-desk screen for creating pre-appointments is hidden by default (the MVP is released through the HIS integration only). The endpoint described here remains available.

Prerequisites​

  • Credentials enabled for creating manual pre-appointments (and for updating them, if you also need to edit).
  • An access token — see Obtaining tokens.

Step 1 — Create the pre-appointment​

Unlike HIS inbound, the manual create has no external_appointment_id (there's no external system to dedupe against) and it requires at least one charge.

curl -X POST https://sandbox.osigu.com/pre-attendance-api/v1/checkin/appointments \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"beneficiary_card_number": "0123456789",
"beneficiary_name": "Juan Carlos Perez Gomez",
"beneficiary_document_type": "CC",
"beneficiary_document_number": "1234567890",
"doctor_name": "Dr. Maria Sanchez",
"doctor_code": "123456",
"doctor_state_code": "SP",
"specialty_name": "Cardiology",
"agreement_code": "AGR2024001",
"appointment_date": "2026-07-15T14:30:00-05:00",
"charges": [
{ "provider_product_code": "PROC001", "provider_product_name": "Electrocardiogram (ECG)", "quantity": 1 }
]
}'

On success you get 201 Created with a Location header pointing at the new appointment and the appointment (including its id) in the body. The pre-appointment starts in PENDING.

Step 2 — (Optional) upload required documents​

If the charges have required supports configured, the appointment now has PENDING placeholders. Complete them — see Upload a document. Remember that missing documents never block care: pending supports are recorded for the billing team, they are not enforced as a gate.

That is the whole flow. The pre-appointment stays in PENDING: V1 has no confirmation and no closing step, so there is nothing further for your integration to call. See Pre-appointments for the reserved statuses and why you should not send status.

Editing and deleting​

  • Update an existing pre-appointment with PUT /v1/checkin/appointments/{id}. agreement_code is optional here: omit it and the appointment keeps its current agreement, payer and agreement name, so you can edit any other field without touching the agreement.
  • Delete a PENDING manual pre-appointment with DELETE /v1/checkin/appointments/{id} — a soft-delete.

Next steps​