---
title: "Replay HL7 Message"
method: POST
path: "/v1/hl7/replay/{logId}"
tags: ["HL7"]
---

# Replay HL7 Message

`POST /v1/hl7/replay/{logId}`

Replay a previously sent outbound HL7 message by its log ID. The exact same message will be re-sent to the specified destination. If no destination is provided, the original destination will be used (credentials required).

## Path parameters

- `logId` string, required

## Request body

- object
  - `destination` object — Destination configuration for sending the message. If not provided, uses the original destination from the log.
    - `url` string — Hostname (with optional path) or full URL for the HL7 endpoint (e.g. https://emr.example.com/webchart.cgi)
    - `protocol` 'http' | 'https' — Transport protocol (default: https)
    - `port` number — Explicit port override
    - `username` string — Basic/form auth username
    - `password` string — Basic/form auth password
    - `timeout` number — Request timeout in ms (default: 30000)
    - `retryAttempts` number — Max retry attempts (default: 3)
    - `retryDelay` number — Base retry delay in seconds (default: 1)
  - `interfaceName` string — Interface name to use in the request (default: bluehiveadt)

## Response `200`

Result of the replayed HL7 message send

- object — Result of the replayed HL7 message send
  - `success` boolean
  - `messageId` string
  - `acknowledgment` string
  - `retryCount` number
  - `duration` number
  - `originalLogId` string
  - `newLogTimestamp` string

## Other responses

- `400` — Default Response
- `404` — Default Response
- `500` — Default Response

---

[API](https://skmtc.net/bluehive-health/apis/bluehive-api.md) · [All operations](https://skmtc.net/bluehive-health/apis/bluehive-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bluehive-health/bluehive-api/revisions/e6e553c2594a/schema)
