Skip to main content

Channel API

List channels

GET /api/channels
Authorization: Bearer {token}

Response:

[
{
"id": "adt-channel",
"port": 2575,
"messageType": "ADT",
"status": "RUNNING",
"messagesReceived": 14821,
"messagesSucceeded": 14803,
"messagesFailed": 18,
"lastMessageAt": "2026-06-12T14:30:22Z"
}
]

Retry failed transactions

POST /api/transactions/{transactionId}/retry
POST /api/transactions/retry-batch?status=ERROR&facilityCode=BRANCH-01

Circuit breaker status

GET /api/circuit-breaker

{
"hapi-fhir": {
"state": "CLOSED",
"failureCount": 0,
"successCount": 14803,
"queueDepth": 0
}
}

Force circuit reset

POST /api/circuit-breaker/reset

Use when HAPI FHIR has recovered and you want to immediately drain the retry queue rather than waiting for the half-open transition.