This page is generated from the contract (data/gateway-v1.json): each operation shows its verb, path, parameters, body, responses, whether it carries an Idempotency-Key, and the equivalent method in all five SDKs. For the end-to-end flow with complete examples, see the implementation guide.

Operations in tag health #

Contract description: Health services for IPS / health-enabled entities: appointment catalog, availability, booking on behalf of a patient (identified by document), cancel / reschedule / attendance, health invoices (DIAN / radication status, XML, RIPS, glosas) with payer collections, and the patient’s vaccination card. Clinical records go through the separate FHIR B2B channel.

MethodPathOperationScopeIdem.
GET/v1/gateway/health-services/appointments/Appointments of a patientappointments:read—
POST/v1/gateway/health-services/appointments/Book an appointment for a patientappointments:writerecommended
GET/v1/gateway/health-services/appointments/{appointment_id}/Appointment detailappointments:read—
POST/v1/gateway/health-services/appointments/{appointment_id}/cancel/Cancel an appointment (releases the slot)appointments:writerecommended
POST/v1/gateway/health-services/appointments/{appointment_id}/reschedule/Reschedule to another slotappointments:writerecommended
POST/v1/gateway/health-services/appointments/{appointment_id}/status/Record attendance (completed / no_show)appointments:writerecommended
GET/v1/gateway/health-services/availability/Free appointment slotsappointments:read—
GET/v1/gateway/health-services/billing/glosas/Glosas (read only)health_billing:read—
GET/v1/gateway/health-services/billing/invoices/Health invoices with DIAN / radication statushealth_billing:read—
GET/v1/gateway/health-services/billing/invoices/{invoice_id}/Invoice detail (lines, payments, glosas, radications)health_billing:read—
POST/v1/gateway/health-services/billing/invoices/{invoice_id}/payments/Register a payer (EPS) payment on an invoicehealth_billing:collectrecommended
GET/v1/gateway/health-services/billing/invoices/{invoice_id}/rips/RIPS JSON of the invoicehealth_billing:read—
GET/v1/gateway/health-services/billing/invoices/{invoice_id}/xml/Electronic invoice XML (wrapped in JSON)health_billing:read—
GET/v1/gateway/health-services/catalog/Booking catalog (specialties, services, sites, doctors)appointments:read—
GET/v1/gateway/health-services/vaccination/card/Patient vaccination card / schedulevaccination:read—

Appointments of a patient #

GET/v1/gateway/health-services/appointments/

  • operationId listHealthAppointments
  • Authentication X-API-Key · scope appointments:read
  • Idempotency-Key not applicable

Parameters

NameInTypeDescription
document requiredquerystringPatient document (holder or family beneficiary). E.g.: 1032456789
statusquerystringComma-separated statuses.
whenquerystringupcoming | past | all.
pagequeryintegerPage (from 1).
page_sizequeryintegerItems per page (max 100).

Responses

CodeDescriptionBody
200Paginated appointments.object application/json
Possible errors (400, 401, 403, 404, 409, 422, 429, 500, 502, 504) — application/problem+json
400Malformed request.about:blank
401Missing or invalid API key.about:blank
403The key is valid but lacks the required scope, or the source IP is not allow-listed.about:blank
404The requested resource does not exist.about:blank
409Idempotency conflict — same key, original still processing.https://errors.compense.co/gateway/idempotency-conflict
422Request body failed validation.https://errors.compense.co/gateway/validation
429Per-key rate limit or monthly quota exceeded; see Retry-After.https://errors.compense.co/gateway/rate-limited
500Unexpected gateway error; quote the trace_id to support.about:blank
502The processing engine returned an error.https://errors.compense.co/gateway/upstream-error
504The processing engine did not respond in time.https://errors.compense.co/gateway/upstream-error

See problem+json errors for the equivalent exception in each SDK.

Example

SDK method and HTTP request
client.health.appointments.list()

Each SDK's methods come from its contract parity suite. The cURL runs against the sandbox; <field> values are placeholders.

Book an appointment for a patient #

POST/v1/gateway/health-services/appointments/

  • operationId bookHealthAppointment
  • Authentication X-API-Key · scope appointments:write
  • Idempotency-Key recommended (the SDK generates it)
Books slot_id for the patient identified by document. Unknown patient: send new_patient to quick-register them. Emits appointment.booked.

Parameters

NameInTypeDescription
Idempotency-KeyheaderstringClient-generated key that makes a write safely retryable. Replaying the same key returns the original result with idempotent_replay: true; a replay while the original is still in flight returns 409. E.g.: horizonte-2026-06-26-credit-000123

Request body

Content type: application/json · required

FieldTypeDescription
appointment_typestringValues: first_time, follow_up, control, emergency.
channelstringValues: recepcion, telefono.
consultation_typestringValues: presencial, telemedicina.
document requiredstringE.g.: "1032456789"
new_patientobject
notesstring
reasonstring
slot_id requiredstring

Responses

CodeDescriptionBody
200Processed; the engine result is in data.TransactionEnvelope application/json
Possible errors (400, 401, 403, 404, 409, 422, 429, 500, 502, 504) — application/problem+json
400Malformed request.about:blank
401Missing or invalid API key.about:blank
403The key is valid but lacks the required scope, or the source IP is not allow-listed.about:blank
404The requested resource does not exist.about:blank
409Idempotency conflict — same key, original still processing.https://errors.compense.co/gateway/idempotency-conflict
422Request body failed validation.https://errors.compense.co/gateway/validation
429Per-key rate limit or monthly quota exceeded; see Retry-After.https://errors.compense.co/gateway/rate-limited
500Unexpected gateway error; quote the trace_id to support.about:blank
502The processing engine returned an error.https://errors.compense.co/gateway/upstream-error
504The processing engine did not respond in time.https://errors.compense.co/gateway/upstream-error

See problem+json errors for the equivalent exception in each SDK.

Example

SDK method and HTTP request
client.health.appointments.book()

Each SDK's methods come from its contract parity suite. The cURL runs against the sandbox; <field> values are placeholders.

Appointment detail #

GET/v1/gateway/health-services/appointments/{appointment_id}/

  • operationId getHealthAppointment
  • Authentication X-API-Key · scope appointments:read
  • Idempotency-Key not applicable

Parameters

NameInTypeDescription
appointment_id requiredpathstringAppointment id (UUID) or appointment code. E.g.: CITA-2026-000123

Responses

CodeDescriptionBody
200Appointment.object application/json
Possible errors (400, 401, 403, 404, 409, 422, 429, 500, 502, 504) — application/problem+json
400Malformed request.about:blank
401Missing or invalid API key.about:blank
403The key is valid but lacks the required scope, or the source IP is not allow-listed.about:blank
404The requested resource does not exist.about:blank
409Idempotency conflict — same key, original still processing.https://errors.compense.co/gateway/idempotency-conflict
422Request body failed validation.https://errors.compense.co/gateway/validation
429Per-key rate limit or monthly quota exceeded; see Retry-After.https://errors.compense.co/gateway/rate-limited
500Unexpected gateway error; quote the trace_id to support.about:blank
502The processing engine returned an error.https://errors.compense.co/gateway/upstream-error
504The processing engine did not respond in time.https://errors.compense.co/gateway/upstream-error

See problem+json errors for the equivalent exception in each SDK.

Example

SDK method and HTTP request
client.health.appointments.get()

Each SDK's methods come from its contract parity suite. The cURL runs against the sandbox; <field> values are placeholders.

Cancel an appointment (releases the slot) #

POST/v1/gateway/health-services/appointments/{appointment_id}/cancel/

  • operationId cancelHealthAppointment
  • Authentication X-API-Key · scope appointments:write
  • Idempotency-Key recommended (the SDK generates it)
IPS-level cancel. on_behalf_of_patient: true applies the patient rules (2-hour notice). Emits appointment.cancelled.

Parameters

NameInTypeDescription
appointment_id requiredpathstringAppointment id (UUID) or appointment code. E.g.: CITA-2026-000123
Idempotency-KeyheaderstringClient-generated key that makes a write safely retryable. Replaying the same key returns the original result with idempotent_replay: true; a replay while the original is still in flight returns 409. E.g.: horizonte-2026-06-26-credit-000123

Request body

Content type: application/json · required

FieldTypeDescription
on_behalf_of_patientboolean
reason requiredstring

Responses

CodeDescriptionBody
200Processed; the engine result is in data.TransactionEnvelope application/json
Possible errors (400, 401, 403, 404, 409, 422, 429, 500, 502, 504) — application/problem+json
400Malformed request.about:blank
401Missing or invalid API key.about:blank
403The key is valid but lacks the required scope, or the source IP is not allow-listed.about:blank
404The requested resource does not exist.about:blank
409Idempotency conflict — same key, original still processing.https://errors.compense.co/gateway/idempotency-conflict
422Request body failed validation.https://errors.compense.co/gateway/validation
429Per-key rate limit or monthly quota exceeded; see Retry-After.https://errors.compense.co/gateway/rate-limited
500Unexpected gateway error; quote the trace_id to support.about:blank
502The processing engine returned an error.https://errors.compense.co/gateway/upstream-error
504The processing engine did not respond in time.https://errors.compense.co/gateway/upstream-error

See problem+json errors for the equivalent exception in each SDK.

Example

SDK method and HTTP request
client.health.appointments.cancel()

Each SDK's methods come from its contract parity suite. The cURL runs against the sandbox; <field> values are placeholders.

Reschedule to another slot #

POST/v1/gateway/health-services/appointments/{appointment_id}/reschedule/

  • operationId rescheduleHealthAppointment
  • Authentication X-API-Key · scope appointments:write
  • Idempotency-Key recommended (the SDK generates it)
Same rules as the app (2-hour notice, locked slot, never in the past). Emits appointment.rescheduled.

Parameters

NameInTypeDescription
appointment_id requiredpathstringAppointment id (UUID) or appointment code. E.g.: CITA-2026-000123
Idempotency-KeyheaderstringClient-generated key that makes a write safely retryable. Replaying the same key returns the original result with idempotent_replay: true; a replay while the original is still in flight returns 409. E.g.: horizonte-2026-06-26-credit-000123

Request body

Content type: application/json · required

FieldTypeDescription
new_slot_id requiredstring

Responses

CodeDescriptionBody
200Processed; the engine result is in data.TransactionEnvelope application/json
Possible errors (400, 401, 403, 404, 409, 422, 429, 500, 502, 504) — application/problem+json
400Malformed request.about:blank
401Missing or invalid API key.about:blank
403The key is valid but lacks the required scope, or the source IP is not allow-listed.about:blank
404The requested resource does not exist.about:blank
409Idempotency conflict — same key, original still processing.https://errors.compense.co/gateway/idempotency-conflict
422Request body failed validation.https://errors.compense.co/gateway/validation
429Per-key rate limit or monthly quota exceeded; see Retry-After.https://errors.compense.co/gateway/rate-limited
500Unexpected gateway error; quote the trace_id to support.about:blank
502The processing engine returned an error.https://errors.compense.co/gateway/upstream-error
504The processing engine did not respond in time.https://errors.compense.co/gateway/upstream-error

See problem+json errors for the equivalent exception in each SDK.

Example

SDK method and HTTP request
client.health.appointments.reschedule()

Each SDK's methods come from its contract parity suite. The cURL runs against the sandbox; <field> values are placeholders.

Record attendance (completed / no_show) #

POST/v1/gateway/health-services/appointments/{appointment_id}/status/

  • operationId setHealthAppointmentAttendance
  • Authentication X-API-Key · scope appointments:write
  • Idempotency-Key recommended (the SDK generates it)
Only from confirmed/pending and from the appointment time on. Emits appointment.status_changed.

Parameters

NameInTypeDescription
appointment_id requiredpathstringAppointment id (UUID) or appointment code. E.g.: CITA-2026-000123
Idempotency-KeyheaderstringClient-generated key that makes a write safely retryable. Replaying the same key returns the original result with idempotent_replay: true; a replay while the original is still in flight returns 409. E.g.: horizonte-2026-06-26-credit-000123

Request body

Content type: application/json · required

FieldTypeDescription
reasonstring
status requiredstringValues: completed, no_show.

Responses

CodeDescriptionBody
200Processed; the engine result is in data.TransactionEnvelope application/json
Possible errors (400, 401, 403, 404, 409, 422, 429, 500, 502, 504) — application/problem+json
400Malformed request.about:blank
401Missing or invalid API key.about:blank
403The key is valid but lacks the required scope, or the source IP is not allow-listed.about:blank
404The requested resource does not exist.about:blank
409Idempotency conflict — same key, original still processing.https://errors.compense.co/gateway/idempotency-conflict
422Request body failed validation.https://errors.compense.co/gateway/validation
429Per-key rate limit or monthly quota exceeded; see Retry-After.https://errors.compense.co/gateway/rate-limited
500Unexpected gateway error; quote the trace_id to support.about:blank
502The processing engine returned an error.https://errors.compense.co/gateway/upstream-error
504The processing engine did not respond in time.https://errors.compense.co/gateway/upstream-error

See problem+json errors for the equivalent exception in each SDK.

Example

SDK method and HTTP request
client.health.appointments.set_attendance()

Each SDK's methods come from its contract parity suite. The cURL runs against the sandbox; <field> values are placeholders.

Free appointment slots #

GET/v1/gateway/health-services/availability/

  • operationId listHealthAvailability
  • Authentication X-API-Key · scope appointments:read
  • Idempotency-Key not applicable
Use date for one day, or start_date/end_date/asap for a range (no dates: next 30 days).

Parameters

NameInTypeDescription
datequerystring (date)One day (YYYY-MM-DD).
start_datequerystring (date)From (YYYY-MM-DD).
end_datequerystring (date)To (YYYY-MM-DD).
asapquerybooleanEarliest slots in the next 90 days.
doctor_idquerystringDoctor id.
location_idquerystringSite id.
specialty_idquerystringSpecialty id.
service_idquerystringService type id.
pagequeryintegerPage (from 1).
page_sizequeryintegerItems per page (max 100).

Responses

CodeDescriptionBody
200Paginated slots.object application/json
Possible errors (400, 401, 403, 404, 409, 422, 429, 500, 502, 504) — application/problem+json
400Malformed request.about:blank
401Missing or invalid API key.about:blank
403The key is valid but lacks the required scope, or the source IP is not allow-listed.about:blank
404The requested resource does not exist.about:blank
409Idempotency conflict — same key, original still processing.https://errors.compense.co/gateway/idempotency-conflict
422Request body failed validation.https://errors.compense.co/gateway/validation
429Per-key rate limit or monthly quota exceeded; see Retry-After.https://errors.compense.co/gateway/rate-limited
500Unexpected gateway error; quote the trace_id to support.about:blank
502The processing engine returned an error.https://errors.compense.co/gateway/upstream-error
504The processing engine did not respond in time.https://errors.compense.co/gateway/upstream-error

See problem+json errors for the equivalent exception in each SDK.

Example

SDK method and HTTP request
client.health.availability()

Each SDK's methods come from its contract parity suite. The cURL runs against the sandbox; <field> values are placeholders.

Glosas (read only) #

GET/v1/gateway/health-services/billing/glosas/

  • operationId listHealthGlosas
  • Authentication X-API-Key · scope health_billing:read
  • Idempotency-Key not applicable

Parameters

NameInTypeDescription
invoicequerystringInvoice id.
statusquerystringComma-separated statuses.
pagequeryintegerPage (from 1).
page_sizequeryintegerItems per page (max 100).

Responses

CodeDescriptionBody
200Paginated glosas.object application/json
Possible errors (400, 401, 403, 404, 409, 422, 429, 500, 502, 504) — application/problem+json
400Malformed request.about:blank
401Missing or invalid API key.about:blank
403The key is valid but lacks the required scope, or the source IP is not allow-listed.about:blank
404The requested resource does not exist.about:blank
409Idempotency conflict — same key, original still processing.https://errors.compense.co/gateway/idempotency-conflict
422Request body failed validation.https://errors.compense.co/gateway/validation
429Per-key rate limit or monthly quota exceeded; see Retry-After.https://errors.compense.co/gateway/rate-limited
500Unexpected gateway error; quote the trace_id to support.about:blank
502The processing engine returned an error.https://errors.compense.co/gateway/upstream-error
504The processing engine did not respond in time.https://errors.compense.co/gateway/upstream-error

See problem+json errors for the equivalent exception in each SDK.

Example

SDK method and HTTP request
client.health.billing.list_glosas()

Each SDK's methods come from its contract parity suite. The cURL runs against the sandbox; <field> values are placeholders.

Health invoices with DIAN / radication status #

GET/v1/gateway/health-services/billing/invoices/

  • operationId listHealthInvoices
  • Authentication X-API-Key · scope health_billing:read
  • Idempotency-Key not applicable

Parameters

NameInTypeDescription
statusquerystringComma-separated statuses (e.g. CUV_OK,RADICADA).
payerquerystringPayer id.
qquerystringNumber, reference or CUV.
documentquerystringPatient document.
date_fromquerystring (date)Created from (YYYY-MM-DD).
date_toquerystring (date)Created to (YYYY-MM-DD).
pagequeryintegerPage (from 1).
page_sizequeryintegerItems per page (max 100).

Responses

CodeDescriptionBody
200Paginated invoices.object application/json
Possible errors (400, 401, 403, 404, 409, 422, 429, 500, 502, 504) — application/problem+json
400Malformed request.about:blank
401Missing or invalid API key.about:blank
403The key is valid but lacks the required scope, or the source IP is not allow-listed.about:blank
404The requested resource does not exist.about:blank
409Idempotency conflict — same key, original still processing.https://errors.compense.co/gateway/idempotency-conflict
422Request body failed validation.https://errors.compense.co/gateway/validation
429Per-key rate limit or monthly quota exceeded; see Retry-After.https://errors.compense.co/gateway/rate-limited
500Unexpected gateway error; quote the trace_id to support.about:blank
502The processing engine returned an error.https://errors.compense.co/gateway/upstream-error
504The processing engine did not respond in time.https://errors.compense.co/gateway/upstream-error

See problem+json errors for the equivalent exception in each SDK.

Example

SDK method and HTTP request
client.health.billing.list_invoices()

Each SDK's methods come from its contract parity suite. The cURL runs against the sandbox; <field> values are placeholders.

Invoice detail (lines, payments, glosas, radications) #

GET/v1/gateway/health-services/billing/invoices/{invoice_id}/

  • operationId getHealthInvoice
  • Authentication X-API-Key · scope health_billing:read
  • Idempotency-Key not applicable

Parameters

NameInTypeDescription
invoice_id requiredpathstringHealth invoice id. E.g.: 3f2b8c1e-0000-4a1b-9c2d-000000000001

Responses

CodeDescriptionBody
200Invoice.object application/json
Possible errors (400, 401, 403, 404, 409, 422, 429, 500, 502, 504) — application/problem+json
400Malformed request.about:blank
401Missing or invalid API key.about:blank
403The key is valid but lacks the required scope, or the source IP is not allow-listed.about:blank
404The requested resource does not exist.about:blank
409Idempotency conflict — same key, original still processing.https://errors.compense.co/gateway/idempotency-conflict
422Request body failed validation.https://errors.compense.co/gateway/validation
429Per-key rate limit or monthly quota exceeded; see Retry-After.https://errors.compense.co/gateway/rate-limited
500Unexpected gateway error; quote the trace_id to support.about:blank
502The processing engine returned an error.https://errors.compense.co/gateway/upstream-error
504The processing engine did not respond in time.https://errors.compense.co/gateway/upstream-error

See problem+json errors for the equivalent exception in each SDK.

Example

SDK method and HTTP request
client.health.billing.get_invoice()

Each SDK's methods come from its contract parity suite. The cURL runs against the sandbox; <field> values are placeholders.

Register a payer (EPS) payment on an invoice #

POST/v1/gateway/health-services/billing/invoices/{invoice_id}/payments/

  • operationId registerHealthInvoicePayment
  • Authentication X-API-Key · scope health_billing:collect
  • Idempotency-Key recommended (the SDK generates it)
Idempotent by Idempotency-Key (or by method + reference). Never above the non-disputed balance. Emits health_billing.payment.registered.

Parameters

NameInTypeDescription
invoice_id requiredpathstringHealth invoice id. E.g.: 3f2b8c1e-0000-4a1b-9c2d-000000000001
Idempotency-KeyheaderstringClient-generated key that makes a write safely retryable. Replaying the same key returns the original result with idempotent_replay: true; a replay while the original is still in flight returns 409. E.g.: horizonte-2026-06-26-credit-000123

Request body

Content type: application/json · required

FieldTypeDescription
amount requiredstringE.g.: "53500.00"
method requiredstringValues: TRANSFERENCIA, CONSIGNACION, GIRO_DIRECTO, RETENCION.
paid_atstring (date)
reference requiredstring

Responses

CodeDescriptionBody
200Processed; the engine result is in data.TransactionEnvelope application/json
Possible errors (400, 401, 403, 404, 409, 422, 429, 500, 502, 504) — application/problem+json
400Malformed request.about:blank
401Missing or invalid API key.about:blank
403The key is valid but lacks the required scope, or the source IP is not allow-listed.about:blank
404The requested resource does not exist.about:blank
409Idempotency conflict — same key, original still processing.https://errors.compense.co/gateway/idempotency-conflict
422Request body failed validation.https://errors.compense.co/gateway/validation
429Per-key rate limit or monthly quota exceeded; see Retry-After.https://errors.compense.co/gateway/rate-limited
500Unexpected gateway error; quote the trace_id to support.about:blank
502The processing engine returned an error.https://errors.compense.co/gateway/upstream-error
504The processing engine did not respond in time.https://errors.compense.co/gateway/upstream-error

See problem+json errors for the equivalent exception in each SDK.

Example

SDK method and HTTP request
client.health.billing.register_payment()

Each SDK's methods come from its contract parity suite. The cURL runs against the sandbox; <field> values are placeholders.

RIPS JSON of the invoice #

GET/v1/gateway/health-services/billing/invoices/{invoice_id}/rips/

  • operationId getHealthInvoiceRips
  • Authentication X-API-Key · scope health_billing:read
  • Idempotency-Key not applicable

Parameters

NameInTypeDescription
invoice_id requiredpathstringHealth invoice id. E.g.: 3f2b8c1e-0000-4a1b-9c2d-000000000001

Responses

CodeDescriptionBody
200RIPS.object application/json
Possible errors (400, 401, 403, 404, 409, 422, 429, 500, 502, 504) — application/problem+json
400Malformed request.about:blank
401Missing or invalid API key.about:blank
403The key is valid but lacks the required scope, or the source IP is not allow-listed.about:blank
404The requested resource does not exist.about:blank
409Idempotency conflict — same key, original still processing.https://errors.compense.co/gateway/idempotency-conflict
422Request body failed validation.https://errors.compense.co/gateway/validation
429Per-key rate limit or monthly quota exceeded; see Retry-After.https://errors.compense.co/gateway/rate-limited
500Unexpected gateway error; quote the trace_id to support.about:blank
502The processing engine returned an error.https://errors.compense.co/gateway/upstream-error
504The processing engine did not respond in time.https://errors.compense.co/gateway/upstream-error

See problem+json errors for the equivalent exception in each SDK.

Example

SDK method and HTTP request
client.health.billing.get_invoice_rips()

Each SDK's methods come from its contract parity suite. The cURL runs against the sandbox; <field> values are placeholders.

Electronic invoice XML (wrapped in JSON) #

GET/v1/gateway/health-services/billing/invoices/{invoice_id}/xml/

  • operationId getHealthInvoiceXml
  • Authentication X-API-Key · scope health_billing:read
  • Idempotency-Key not applicable

Parameters

NameInTypeDescription
invoice_id requiredpathstringHealth invoice id. E.g.: 3f2b8c1e-0000-4a1b-9c2d-000000000001

Responses

CodeDescriptionBody
200XML document.object application/json
Possible errors (400, 401, 403, 404, 409, 422, 429, 500, 502, 504) — application/problem+json
400Malformed request.about:blank
401Missing or invalid API key.about:blank
403The key is valid but lacks the required scope, or the source IP is not allow-listed.about:blank
404The requested resource does not exist.about:blank
409Idempotency conflict — same key, original still processing.https://errors.compense.co/gateway/idempotency-conflict
422Request body failed validation.https://errors.compense.co/gateway/validation
429Per-key rate limit or monthly quota exceeded; see Retry-After.https://errors.compense.co/gateway/rate-limited
500Unexpected gateway error; quote the trace_id to support.about:blank
502The processing engine returned an error.https://errors.compense.co/gateway/upstream-error
504The processing engine did not respond in time.https://errors.compense.co/gateway/upstream-error

See problem+json errors for the equivalent exception in each SDK.

Example

SDK method and HTTP request
client.health.billing.get_invoice_xml()

Each SDK's methods come from its contract parity suite. The cURL runs against the sandbox; <field> values are placeholders.

Booking catalog (specialties, services, sites, doctors) #

GET/v1/gateway/health-services/catalog/

  • operationId getHealthCatalog
  • Authentication X-API-Key · scope appointments:read
  • Idempotency-Key not applicable

Responses

CodeDescriptionBody
200Catalog.object application/json
Possible errors (400, 401, 403, 404, 409, 422, 429, 500, 502, 504) — application/problem+json
400Malformed request.about:blank
401Missing or invalid API key.about:blank
403The key is valid but lacks the required scope, or the source IP is not allow-listed.about:blank
404The requested resource does not exist.about:blank
409Idempotency conflict — same key, original still processing.https://errors.compense.co/gateway/idempotency-conflict
422Request body failed validation.https://errors.compense.co/gateway/validation
429Per-key rate limit or monthly quota exceeded; see Retry-After.https://errors.compense.co/gateway/rate-limited
500Unexpected gateway error; quote the trace_id to support.about:blank
502The processing engine returned an error.https://errors.compense.co/gateway/upstream-error
504The processing engine did not respond in time.https://errors.compense.co/gateway/upstream-error

See problem+json errors for the equivalent exception in each SDK.

Example

SDK method and HTTP request
client.health.catalog()

Each SDK's methods come from its contract parity suite. The cURL runs against the sandbox; <field> values are placeholders.

Patient vaccination card / schedule #

GET/v1/gateway/health-services/vaccination/card/

  • operationId getVaccinationCard
  • Authentication X-API-Key · scope vaccination:read
  • Idempotency-Key not applicable

Parameters

NameInTypeDescription
document requiredquerystringPatient document. E.g.: 1032456789

Responses

CodeDescriptionBody
200Vaccination card.object application/json
Possible errors (400, 401, 403, 404, 409, 422, 429, 500, 502, 504) — application/problem+json
400Malformed request.about:blank
401Missing or invalid API key.about:blank
403The key is valid but lacks the required scope, or the source IP is not allow-listed.about:blank
404The requested resource does not exist.about:blank
409Idempotency conflict — same key, original still processing.https://errors.compense.co/gateway/idempotency-conflict
422Request body failed validation.https://errors.compense.co/gateway/validation
429Per-key rate limit or monthly quota exceeded; see Retry-After.https://errors.compense.co/gateway/rate-limited
500Unexpected gateway error; quote the trace_id to support.about:blank
502The processing engine returned an error.https://errors.compense.co/gateway/upstream-error
504The processing engine did not respond in time.https://errors.compense.co/gateway/upstream-error

See problem+json errors for the equivalent exception in each SDK.

Example

SDK method and HTTP request
client.health.vaccination.card()

Each SDK's methods come from its contract parity suite. The cURL runs against the sandbox; <field> values are placeholders.